Class PrimaryKeyValue
- java.lang.Object
-
- com.nimbusds.infinispan.persistence.dynamodb.PrimaryKeyValue
-
public final class PrimaryKeyValue extends Object
DynamoDB primary key value (hash key, with optional range key).
-
-
Constructor Summary
Constructors Constructor Description PrimaryKeyValue(String hashKeyValue, String rangeKeyValue)
Creates a new DynamoDB primary key value.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getHashKeyValue()
Returns the hash key value.String
getRangeKeyValue()
Returns the range key value.
-
-
-
Constructor Detail
-
PrimaryKeyValue
public PrimaryKeyValue(String hashKeyValue, String rangeKeyValue)
Creates a new DynamoDB primary key value.- Parameters:
hashKeyValue
- The hash key value. Must not benull
.rangeKeyValue
- The optional range key value,null
if none.
-
-
Method Detail
-
getHashKeyValue
public String getHashKeyValue()
Returns the hash key value.- Returns:
- The hash key value.
-
getRangeKeyValue
public String getRangeKeyValue()
Returns the range key value.- Returns:
- The range key value,
null
if none.
-
-