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
-
Method Summary
Modifier and TypeMethodDescriptionboolean
expression
(TableSchema<?> tableSchema, String indexName) Generates a conditionalExpression
based on specific context that is supplied as arguments.int
hashCode()
-
Constructor Details
-
SingleKeyItemConditional
-
-
Method Details
-
expression
Description copied from interface:QueryConditional
Generates a conditionalExpression
based on specific context that is supplied as arguments.- Specified by:
expression
in interfaceQueryConditional
- Parameters:
tableSchema
- ATableSchema
that this expression will be used withindexName
- The specific index name of the index this expression will be used with- Returns:
- A specific
Expression
that can be used as part of a query request
-
equals
-
hashCode
public int hashCode()
-