Package io.stargate.sdk.rest.domain
Class TablePrimaryKey
java.lang.Object
io.stargate.sdk.rest.domain.TablePrimaryKey
- All Implemented Interfaces:
Serializable
Represent the PK in rest API
- Author:
- Cedrick LUNVEN (@clunven)
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGetter accessor for attribute 'clusteringKey'.Getter accessor for attribute 'partitionKey'.voidsetClusteringKey(List<String> clusteringKey) Setter accessor for attribute 'clusteringKey'.voidsetPartitionKey(List<String> partitionKey) Setter accessor for attribute 'partitionKey'.
-
Constructor Details
-
TablePrimaryKey
public TablePrimaryKey()Default constructor.
-
-
Method Details
-
getPartitionKey
Getter accessor for attribute 'partitionKey'.- Returns:
- current value of 'partitionKey'
-
setPartitionKey
Setter accessor for attribute 'partitionKey'.- Parameters:
partitionKey- new value for 'partitionKey '
-
getClusteringKey
Getter accessor for attribute 'clusteringKey'.- Returns:
- current value of 'clusteringKey'
-
setClusteringKey
Setter accessor for attribute 'clusteringKey'.- Parameters:
clusteringKey- new value for 'clusteringKey '
-