Class GetTableLayoutResponse

  • All Implemented Interfaces:
    AutoCloseable

    public class GetTableLayoutResponse
    extends MetadataResponse
    Represents the output of a GetTableLayout operation.
    • Constructor Detail

      • GetTableLayoutResponse

        public GetTableLayoutResponse​(String catalogName,
                                      TableName tableName,
                                      Block partitions)
        Constructs a new GetTableLayoutResponse object.
        Parameters:
        catalogName - The catalog name that a table layout was generated for.
        tableName - The table name that a table layout was generated for.
        partitions - The partitions representing the table layout.
    • Method Detail

      • getTableName

        public TableName getTableName()
        Returns the table name that a table layout was generated for.
        Returns:
        The table name that a table layout was generated for.
      • getPartitions

        public Block getPartitions()
        Returns the partitions representing the table layout.
        Returns:
        The partitions representing the table layout.
      • close

        public void close()
                   throws Exception
        Frees up resources associated with the partitions Block.
        Throws:
        Exception
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object