Class ListTablesRequest

  • All Implemented Interfaces:
    AutoCloseable

    public class ListTablesRequest
    extends MetadataRequest
    Represents the input of a ListTables operation.
    • Field Detail

      • UNLIMITED_PAGE_SIZE_VALUE

        public static final int UNLIMITED_PAGE_SIZE_VALUE
        Value used to indicate that the page size is unlimited, and therefore, the request should NOT be paginated.
        See Also:
        Constant Field Values
    • Constructor Detail

      • ListTablesRequest

        public ListTablesRequest​(FederatedIdentity identity,
                                 String queryId,
                                 String catalogName,
                                 String schemaName,
                                 String nextToken,
                                 int pageSize)
        Constructs a new ListTablesRequest object.
        Parameters:
        identity - The identity of the caller.
        queryId - The ID of the query requesting metadata.
        catalogName - The catalog name that tables should be listed for.
        schemaName - The schema name that tables should be listed for. This may be null if no specific schema is requested.
        nextToken - The pagination starting point for the next page (null indicates the first paginated request).
        pageSize - The page size used for pagination (UNLIMITED_PAGE_SIZE_VALUE indicates the request should not be paginated).
    • Method Detail

      • getSchemaName

        public String getSchemaName()
        Returns the schema name that tables should be listed for. This may be null if no specific schema is requested.
        Returns:
        The schema name that tables should be listed for. This may be null if no specific schema is requested.
      • getNextToken

        public String getNextToken()
        Gets the pagination starting point for the next page.
        Returns:
        The pagination starting point for the next page (null indicates the first paginated request).
      • getPageSize

        public int getPageSize()
        Gets the page size used for pagination.
        Returns:
        The page size used for pagination (UNLIMITED_PAGE_SIZE_VALUE indicates the request should not be paginated).
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object