Class ValidationTableDescription

java.lang.Object
io.deephaven.enterprise.validation.ValidationTableDescription

@Immutable public abstract class ValidationTableDescription extends Object
A description of a table to be validated.
  • Constructor Details

    • ValidationTableDescription

      public ValidationTableDescription()
  • Method Details

    • getDatabase

      public final Database 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

      public abstract SchemaInternal getSchema()
      Gets the Schema for the table to test.
      Returns:
      Schema of the table
    • getPartitionTable

      public abstract Table getPartitionTable()
      Gets the table to test.
      Returns:
      table to test.
    • getLocation

      @Deprecated public final ValidationTableDescription getLocation()
      Deprecated.
      Gets this ValidationTableDescription instance. This exists as a convenience so that existing custom-validation classes do not need to replace calls to `getLocation().getX()`
      Returns:
      this ValidationTableDescription instance.
    • getTableName

      public abstract String getTableName()
      Gets the table name for the table.
      Returns:
      the table name for the table.
    • getNamespace

      public abstract String getNamespace()
      Gets the namespace for the table.
      Returns:
      the namespace for the table.
    • getInternalPartition

      public final String 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

      public abstract String 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 the TableType for the table.
      Returns:
      the TableType for the table.
    • getImportDetails

      public abstract Properties[] getImportDetails()
      Gets the import details for the table.
      Returns:
      import details for the table.