@Immutable public class DefaultDseViewMetadata extends Object implements DseViewMetadata
Constructor and Description |
---|
DefaultDseViewMetadata(CqlIdentifier keyspace,
CqlIdentifier name,
CqlIdentifier baseTable,
boolean includesAllColumns,
String whereClause,
UUID id,
com.datastax.oss.driver.shaded.guava.common.collect.ImmutableList<ColumnMetadata> partitionKey,
com.datastax.oss.driver.shaded.guava.common.collect.ImmutableMap<ColumnMetadata,ClusteringOrder> clusteringColumns,
com.datastax.oss.driver.shaded.guava.common.collect.ImmutableMap<CqlIdentifier,ColumnMetadata> columns,
Map<CqlIdentifier,Object> options) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object other) |
CqlIdentifier |
getBaseTable() |
Map<ColumnMetadata,ClusteringOrder> |
getClusteringColumns() |
Map<CqlIdentifier,ColumnMetadata> |
getColumns() |
Optional<UUID> |
getId() |
CqlIdentifier |
getKeyspace() |
CqlIdentifier |
getName() |
Map<CqlIdentifier,Object> |
getOptions() |
List<ColumnMetadata> |
getPartitionKey() |
Optional<String> |
getWhereClause() |
int |
hashCode() |
boolean |
includesAllColumns() |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
describe, describeWithChildren
getColumn, getColumn, getPrimaryKey
public DefaultDseViewMetadata(@NonNull CqlIdentifier keyspace, @NonNull CqlIdentifier name, @NonNull CqlIdentifier baseTable, boolean includesAllColumns, @Nullable String whereClause, @NonNull UUID id, @NonNull com.datastax.oss.driver.shaded.guava.common.collect.ImmutableList<ColumnMetadata> partitionKey, @NonNull com.datastax.oss.driver.shaded.guava.common.collect.ImmutableMap<ColumnMetadata,ClusteringOrder> clusteringColumns, @NonNull com.datastax.oss.driver.shaded.guava.common.collect.ImmutableMap<CqlIdentifier,ColumnMetadata> columns, @NonNull Map<CqlIdentifier,Object> options)
@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
@NonNull public CqlIdentifier getBaseTable()
getBaseTable
in interface ViewMetadata
public boolean includesAllColumns()
includesAllColumns
in interface ViewMetadata
@NonNull public Optional<String> getWhereClause()
getWhereClause
in interface ViewMetadata
@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
Copyright © 2017–2019. All rights reserved.