Package | Description |
---|---|
com.datastax.dse.driver.api.querybuilder.schema |
This package effectively mirrors the Cassandra OSS Schema interfaces to allow extended schema and
query building for the DSE driver.
|
Modifier and Type | Method and Description |
---|---|
static DseGraphEdgeSide |
DseGraphEdgeSide.table(CqlIdentifier tableId)
Starts the definition of a graph edge side by designating the from/to table.
|
static DseGraphEdgeSide |
DseGraphEdgeSide.table(String tableName)
Shortcut for
table(CqlIdentifier.fromCql(tableName)) . |
DseGraphEdgeSide |
DseGraphEdgeSide.withClusteringColumn(CqlIdentifier columnId)
Adds a clustering column to the primary key definition of this edge side.
|
default DseGraphEdgeSide |
DseGraphEdgeSide.withClusteringColumn(String columnName)
Shortcut for
withClusteringColumn(CqlIdentifier.fromCql(columnName)) . |
DseGraphEdgeSide |
DseGraphEdgeSide.withPartitionKey(CqlIdentifier columnId)
Adds a partition key column to the primary key definition of this edge side.
|
default DseGraphEdgeSide |
DseGraphEdgeSide.withPartitionKey(String columnName)
Shortcut for
withPartitionKey(CqlIdentifier.fromCql(columnName)) . |
Modifier and Type | Method and Description |
---|---|
NextT |
DseTableGraphOptions.withEdgeLabel(CqlIdentifier edgeLabelId,
DseGraphEdgeSide from,
DseGraphEdgeSide to)
Adds an edge label to this table.
|
default NextT |
DseTableGraphOptions.withEdgeLabel(DseGraphEdgeSide from,
DseGraphEdgeSide to)
Adds an anonymous edge label to this table.
|
default NextT |
DseTableGraphOptions.withEdgeLabel(String edgeLabelName,
DseGraphEdgeSide from,
DseGraphEdgeSide to)
|
Copyright © 2017–2020. All rights reserved.