public interface DseGraphEdgeSide
| Modifier and Type | Method and Description | 
|---|---|
| List<CqlIdentifier> | getClusteringColumns() | 
| List<CqlIdentifier> | getPartitionKeyColumns() | 
| CqlIdentifier | getTableId() | 
| static DseGraphEdgeSide | table(CqlIdentifier tableId)Starts the definition of a graph edge side by designating the from/to table. | 
| static DseGraphEdgeSide | table(String tableName)Shortcut for  table(CqlIdentifier.fromCql(tableName)). | 
| DseGraphEdgeSide | withClusteringColumn(CqlIdentifier columnId)Adds a clustering column to the primary key definition of this edge side. | 
| default DseGraphEdgeSide | withClusteringColumn(String columnName)Shortcut for  withClusteringColumn(CqlIdentifier.fromCql(columnName)). | 
| DseGraphEdgeSide | withPartitionKey(CqlIdentifier columnId)Adds a partition key column to the primary key definition of this edge side. | 
| default DseGraphEdgeSide | withPartitionKey(String columnName)Shortcut for  withPartitionKey(CqlIdentifier.fromCql(columnName)). | 
@NonNull static DseGraphEdgeSide table(@NonNull CqlIdentifier tableId)
@NonNull static DseGraphEdgeSide table(@NonNull String tableName)
table(CqlIdentifier.fromCql(tableName)).@NonNull DseGraphEdgeSide withPartitionKey(@NonNull CqlIdentifier columnId)
Call this method multiple times if the partition key is composite.
@NonNull default DseGraphEdgeSide withPartitionKey(@NonNull String columnName)
withPartitionKey(CqlIdentifier.fromCql(columnName)).@NonNull DseGraphEdgeSide withClusteringColumn(@NonNull CqlIdentifier columnId)
Call this method multiple times to add more than one clustering column.
@NonNull default DseGraphEdgeSide withClusteringColumn(@NonNull String columnName)
withClusteringColumn(CqlIdentifier.fromCql(columnName)).@NonNull CqlIdentifier getTableId()
@NonNull List<CqlIdentifier> getPartitionKeyColumns()
@NonNull List<CqlIdentifier> getClusteringColumns()
Copyright © 2017–2023. All rights reserved.