Interface ValidationTableDescription

All Superinterfaces:
Serializable
All Known Implementing Classes:
ValidationTableDescriptionFullDatabase, ValidationTableDescriptionSimpleTable

public interface ValidationTableDescription extends Serializable
A description of a table to be validated.
  • Method Details

    • getDatabase

      @NotNull 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

      @NotNull Schema 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.