Class QueryConditionalUtils.KeyResolution
- java.lang.Object
-
- software.amazon.awssdk.enhanced.dynamodb.internal.conditional.QueryConditionalUtils.KeyResolution
-
- Enclosing class:
- QueryConditionalUtils
public static class QueryConditionalUtils.KeyResolution extends Object
-
-
Field Summary
Fields Modifier and Type Field Description List<String>partitionKeysList<AttributeValue>partitionValuesList<String>sortKeysList<AttributeValue>sortValues
-
Constructor Summary
Constructors Constructor Description KeyResolution(List<String> partitionKeys, List<AttributeValue> partitionValues, List<String> sortKeys, List<AttributeValue> sortValues)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetRightmostSortKey()Returns the sort-key name corresponding to the rightmost provided sort value.AttributeValuegetRightmostSortValue()Returns the rightmost provided sort value.booleanhasPartitionValues()booleanhasSortKeys()booleanhasSortValues()booleanisCompositePartition()booleanisCompositeSort()
-
-
-
Field Detail
-
partitionValues
public final List<AttributeValue> partitionValues
-
sortValues
public final List<AttributeValue> sortValues
-
-
Constructor Detail
-
KeyResolution
public KeyResolution(List<String> partitionKeys, List<AttributeValue> partitionValues, List<String> sortKeys, List<AttributeValue> sortValues)
-
-
Method Detail
-
hasPartitionValues
public boolean hasPartitionValues()
-
hasSortKeys
public boolean hasSortKeys()
-
hasSortValues
public boolean hasSortValues()
-
isCompositePartition
public boolean isCompositePartition()
-
isCompositeSort
public boolean isCompositeSort()
-
getRightmostSortValue
public AttributeValue getRightmostSortValue()
Returns the rightmost provided sort value.
-
getRightmostSortKey
public String getRightmostSortKey()
Returns the sort-key name corresponding to the rightmost provided sort value.
-
-