Class ListTablesResponse

  • All Implemented Interfaces:
    AutoCloseable

    public class ListTablesResponse
    extends MetadataResponse
    Represents the output of a ListTables operation.
    • Constructor Detail

      • ListTablesResponse

        public ListTablesResponse​(String catalogName,
                                  Collection<TableName> tables,
                                  String nextToken)
        Constructs a new ListTablesResponse object.
        Parameters:
        catalogName - The catalog name that tables were listed for.
        tables - The list of table names (they all must be lowercase).
        nextToken - The pagination starting point for the next request (null indicates the end of the pagination).
    • Method Detail

      • getTables

        public Collection<TableName> getTables()
        Returns the list of table names.
        Returns:
        The list of table names.
      • getNextToken

        public String getNextToken()
        Returns the nextToken (the starting table for the next request).
        Returns:
        The pagination starting point for the next request (null indicates the end of the pagination).
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object