Interface TableDescriptor

All Known Implementing Classes:
CreateTableSpecification, TableSpecification

public interface TableDescriptor
Describes a table.
Author:
Matthew T. Adams, Alex Shvid, Aleksei Zotov
  • Method Details

    • getName

      com.datastax.oss.driver.api.core.CqlIdentifier getName()
      Returns the name of the table.
    • getColumns

      List<ColumnSpecification> getColumns()
      Returns an unmodifiable List of ColumnSpecifications.
    • getPartitionKeyColumns

      List<ColumnSpecification> getPartitionKeyColumns()
      Returns an unmodifiable list of all partition key columns.
    • getClusteredKeyColumns

      List<ColumnSpecification> getClusteredKeyColumns()
      Returns an unmodifiable list of all primary key columns that are not also partition key columns.
    • getPrimaryKeyColumns

      List<ColumnSpecification> getPrimaryKeyColumns()
      Returns an unmodifiable list of all partition and primary key columns.
    • getNonKeyColumns

      List<ColumnSpecification> getNonKeyColumns()
      Returns an unmodifiable list of all non-key columns.
    • getStaticColumns

      List<ColumnSpecification> getStaticColumns()
      Returns an unmodifiable list of static columns.
      Since:
      3.2
    • getOptions

      Map<String,Object> getOptions()
      Returns an unmodifiable Map of table options.