Class SingleKeyItemConditional
java.lang.Object
software.amazon.awssdk.enhanced.dynamodb.internal.conditional.SingleKeyItemConditional
- All Implemented Interfaces:
QueryConditional
A
QueryConditional implementation that matches values from a specific key using a supplied operator for the
sort key value comparison. The partition key value will always have an equivalence comparison applied.
This class is used by higher-level (more specific) QueryConditional implementations such as
QueryConditional.sortGreaterThan(Key) to reduce code duplication.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanexpression(TableSchema<?> tableSchema, String indexName) Generates a conditionalExpressionbased on specific context that is supplied as arguments.inthashCode()
-
Constructor Details
-
SingleKeyItemConditional
-
-
Method Details
-
expression
Description copied from interface:QueryConditionalGenerates a conditionalExpressionbased on specific context that is supplied as arguments.- Specified by:
expressionin interfaceQueryConditional- Parameters:
tableSchema- ATableSchemathat this expression will be used withindexName- The specific index name of the index this expression will be used with- Returns:
- A specific
Expressionthat can be used as part of a query request
-
equals
-
hashCode
-