Class GetTableLayoutRequest

  • All Implemented Interfaces:
    AutoCloseable

    public class GetTableLayoutRequest
    extends MetadataRequest
    Represents the input of a GetTableLayout operation.
    • Constructor Detail

      • GetTableLayoutRequest

        public GetTableLayoutRequest​(FederatedIdentity identity,
                                     String queryId,
                                     String catalogName,
                                     TableName tableName,
                                     Constraints constraints,
                                     org.apache.arrow.vector.types.pojo.Schema schema,
                                     Set<String> partitionCols)
        Constructs a new GetTableLayoutRequest object.
        Parameters:
        identity - The identity of the caller.
        queryId - The ID of the query requesting metadata.
        catalogName - The catalog name that the table layout should be generated for.
        tableName - The table name that the table layout should be generated for.
        constraints - The constraints that can be applied to table layout generation.
        schema - The table's schema.
        partitionCols - The partition columns that can be used for table layout generation.
    • Method Detail

      • getTableName

        public TableName getTableName()
        Returns the table name to generate a table layout for.
        Returns:
        The table name to generate a table layout for.
      • getConstraints

        public Constraints getConstraints()
        Returns the constraints that can be applied to table layout generation.
        Returns:
        The constraints that can be applied to table layout generation.
      • getSchema

        public org.apache.arrow.vector.types.pojo.Schema getSchema()
        Returns the table's schema.
        Returns:
        The table's schema.
      • getPartitionCols

        public Set<String> getPartitionCols()
        Returns the partition columns that can be used for table layout generation.
        Returns:
        The partition columns that can be used for table layout generation.
      • close

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

        public int hashCode()
        Overrides:
        hashCode in class Object