Class GetTableResponse

  • All Implemented Interfaces:
    AutoCloseable

    public class GetTableResponse
    extends MetadataResponse
    Represents the output of a GetTable operation.
    • Constructor Detail

      • GetTableResponse

        public GetTableResponse​(String catalogName,
                                TableName tableName,
                                org.apache.arrow.vector.types.pojo.Schema schema,
                                Set<String> partitionColumns)
        Constructs a new GetTableResponse object.
        Parameters:
        catalogName - The catalog name the table belongs to.
        tableName - The name of the table (must be lowercase).
        schema - The schema of the table.
        partitionColumns - The partition column names of the table.
      • GetTableResponse

        public GetTableResponse​(String catalogName,
                                TableName tableName,
                                org.apache.arrow.vector.types.pojo.Schema schema)
        Constructs a new GetTableResponse object. This constructor populates an empty set for the partition column names.
        Parameters:
        catalogName - The catalog name the table belongs to.
        tableName - The name of the table that was fetched.
        schema - The schema of the table.
    • Method Detail

      • getTableName

        public TableName getTableName()
        Returns the name of the table.
        Returns:
        The name of the table.
      • getSchema

        public org.apache.arrow.vector.types.pojo.Schema getSchema()
        Returns the schema of the table.
        Returns:
        The schema of the table.
      • getPartitionColumns

        public Set<String> getPartitionColumns()
        Returns partition column names of the table.
        Returns:
        The partition column names of the table.
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object