Package com.illumon.iris.validation
Interface ValidationTableDescription
- All Superinterfaces:
Serializable
- All Known Implementing Classes:
ValidationTableDescriptionFullDatabase
,ValidationTableDescriptionSimpleTable
A description of a table to be validated.
-
Method Summary
Modifier and TypeMethodDescriptionGets the database the table was retrieved from.Gets the import details for the table.Gets the table location description for the table.Gets the table to test.Gets the Schema for the table to test.
-
Method Details
-
getDatabase
Gets the database the table was retrieved from. Note that this is only valid for FULL database validations.- Returns:
- database the table was retrieved from
- Throws:
UnsupportedOperationException
- if the method is called in a testing environment which does not use a full database.
-
getSchema
Gets the Schema for the table to test.- Returns:
- Schema of the table
- Throws:
SchemaException
- if the schema is not found for the table.
-
getPartitionTable
Table getPartitionTable()Gets the table to test.- Returns:
- table to test.
-
getLocation
FullTableLocationKey getLocation()Gets the table location description for the table.- Returns:
- table location description for the table.
-
getImportDetails
Properties[] getImportDetails()Gets the import details for the table.- Returns:
- import details for the table.
-