Class ValidationTableDescription
java.lang.Object
io.deephaven.enterprise.validation.ValidationTableDescription
A description of a table to be validated.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract StringGets the column partition value for the table.final DatabaseGets the database the table was retrieved from.abstract Properties[]Gets the import details for the table.final StringGets the internal partition value for the table.Deprecated.abstract StringGets the namespace for the table.abstract TableGets the table to test.abstract SchemaInternalGets the Schema for the table to test.abstract StringGets the table name for the table.abstract io.deephaven.shadow.enterprise.com.illumon.iris.db.v2.locations.TableTypeGets theTableTypefor the table.
-
Constructor Details
-
ValidationTableDescription
public ValidationTableDescription()
-
-
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
-
getPartitionTable
Gets the table to test.- Returns:
- table to test.
-
getLocation
Deprecated.Gets thisValidationTableDescriptioninstance. This exists as a convenience so that existing custom-validation classes do not need to replace calls to `getLocation().getX()`- Returns:
- this
ValidationTableDescriptioninstance.
-
getTableName
Gets the table name for the table.- Returns:
- the table name for the table.
-
getNamespace
Gets the namespace for the table.- Returns:
- the namespace for the table.
-
getInternalPartition
Gets the internal partition value for the table.- Returns:
- the internal partition value for the table.
- Throws:
UnsupportedOperationException- if the method is called in a testing environment which does not provide an internal partition
-
getColumnPartition
Gets the column partition value for the table.- Returns:
- the column partition value for the table.
-
getTableType
public abstract io.deephaven.shadow.enterprise.com.illumon.iris.db.v2.locations.TableType getTableType()Gets theTableTypefor the table.- Returns:
- the
TableTypefor the table.
-
getImportDetails
Gets the import details for the table.- Returns:
- import details for the table.
-