@Immutable public class DefaultDseTableMetadata extends Object implements DseTableMetadata
Constructor and Description |
---|
DefaultDseTableMetadata(CqlIdentifier keyspace,
CqlIdentifier name,
UUID id,
boolean compactStorage,
boolean virtual,
List<ColumnMetadata> partitionKey,
Map<ColumnMetadata,ClusteringOrder> clusteringColumns,
Map<CqlIdentifier,ColumnMetadata> columns,
Map<CqlIdentifier,Object> options,
Map<CqlIdentifier,IndexMetadata> indexes) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object other) |
Map<ColumnMetadata,ClusteringOrder> |
getClusteringColumns() |
Map<CqlIdentifier,ColumnMetadata> |
getColumns() |
Optional<UUID> |
getId() |
Map<CqlIdentifier,IndexMetadata> |
getIndexes() |
CqlIdentifier |
getKeyspace() |
CqlIdentifier |
getName() |
Map<CqlIdentifier,Object> |
getOptions() |
List<ColumnMetadata> |
getPartitionKey() |
int |
hashCode() |
boolean |
isCompactStorage() |
boolean |
isVirtual() |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
describe, describeWithChildren
getColumn, getColumn, getPrimaryKey
public DefaultDseTableMetadata(@NonNull CqlIdentifier keyspace, @NonNull CqlIdentifier name, @Nullable UUID id, boolean compactStorage, boolean virtual, @NonNull List<ColumnMetadata> partitionKey, @NonNull Map<ColumnMetadata,ClusteringOrder> clusteringColumns, @NonNull Map<CqlIdentifier,ColumnMetadata> columns, @NonNull Map<CqlIdentifier,Object> options, @NonNull Map<CqlIdentifier,IndexMetadata> indexes)
@NonNull public CqlIdentifier getKeyspace()
getKeyspace
in interface RelationMetadata
@NonNull public CqlIdentifier getName()
getName
in interface RelationMetadata
@NonNull public Optional<UUID> getId()
getId
in interface RelationMetadata
public boolean isCompactStorage()
isCompactStorage
in interface TableMetadata
public boolean isVirtual()
isVirtual
in interface TableMetadata
@NonNull public List<ColumnMetadata> getPartitionKey()
getPartitionKey
in interface RelationMetadata
@NonNull public Map<ColumnMetadata,ClusteringOrder> getClusteringColumns()
getClusteringColumns
in interface RelationMetadata
@NonNull public Map<CqlIdentifier,ColumnMetadata> getColumns()
getColumns
in interface RelationMetadata
@NonNull public Map<CqlIdentifier,Object> getOptions()
getOptions
in interface RelationMetadata
@NonNull public Map<CqlIdentifier,IndexMetadata> getIndexes()
getIndexes
in interface TableMetadata
Copyright © 2017–2019. All rights reserved.