Interface TableDescriptor
- All Known Implementing Classes:
CreateTableSpecification,TableSpecification
public interface TableDescriptor
Describes a table.
- Author:
- Matthew T. Adams, Alex Shvid, Aleksei Zotov
-
Method Summary
Modifier and TypeMethodDescriptionReturns an unmodifiable list of all primary key columns that are not also partition key columns.Returns an unmodifiableListofColumnSpecifications.com.datastax.oss.driver.api.core.CqlIdentifiergetName()Returns the name of the table.Returns an unmodifiable list of all non-key columns.Returns an unmodifiableMapof table options.Returns an unmodifiable list of all partition key columns.Returns an unmodifiable list of all partition and primary key columns.Returns an unmodifiable list of static columns.
-
Method Details
-
getName
com.datastax.oss.driver.api.core.CqlIdentifier getName()Returns the name of the table. -
getColumns
List<ColumnSpecification> getColumns()Returns an unmodifiableListofColumnSpecifications. -
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
Returns an unmodifiableMapof table options.
-