public class CassandraSchema extends Object
Constructor and Description |
---|
CassandraSchema() |
Modifier and Type | Method and Description |
---|---|
List<ClusterKey> |
clusterKeys()
Get list of cluster key.
|
List<Column> |
columns()
Get list of Cassandra table columns.
|
List<CassandraPartitionKey> |
partitionKeys()
Get list of partition key.
|
CassandraSchema |
withClusterKeys(List<ClusterKey> clusterKeys)
Set list of cluster key.
|
CassandraSchema |
withColumns(List<Column> columns)
Set list of Cassandra table columns.
|
CassandraSchema |
withPartitionKeys(List<CassandraPartitionKey> partitionKeys)
Set list of partition key.
|
public List<Column> columns()
public CassandraSchema withColumns(List<Column> columns)
columns
- the columns value to setpublic List<CassandraPartitionKey> partitionKeys()
public CassandraSchema withPartitionKeys(List<CassandraPartitionKey> partitionKeys)
partitionKeys
- the partitionKeys value to setpublic List<ClusterKey> clusterKeys()
public CassandraSchema withClusterKeys(List<ClusterKey> clusterKeys)
clusterKeys
- the clusterKeys value to setCopyright © 2019. All rights reserved.