class LiteralOperand extends Operand
This object is as immutable (or unmodifiable) as the underlying value given during construction.
Modifier and Type | Field and Description |
---|---|
private java.lang.Object |
value |
Constructor and Description |
---|
LiteralOperand()
Represents a null value.
|
LiteralOperand(boolean value) |
LiteralOperand(java.util.List<?> value)
Must be a list of supported types by the DynamoDB Document API.
|
LiteralOperand(java.util.Map<java.lang.String,?> value)
Each value of the map must be a supported type by the DynamoDB Document
API.
|
LiteralOperand(java.lang.Object value) |
LiteralOperand(java.util.Set<?> value)
Must be a set of String, Number, or byte[].
|
Modifier and Type | Method and Description |
---|---|
(package private) java.lang.String |
asSubstituted(SubstitutionContext context)
Returns this unit of expression as a string substituted if necessary with
tokens using the given substitution context.
|
java.lang.String |
toString() |
LiteralOperand()
LiteralOperand(java.lang.Object value)
value
- must be a supported type by the DynamoDB Document API.LiteralOperand(java.util.Set<?> value)
LiteralOperand(java.util.List<?> value)
LiteralOperand(java.util.Map<java.lang.String,?> value)
LiteralOperand(boolean value)
final java.lang.String asSubstituted(SubstitutionContext context)
UnitOfExpression
asSubstituted
in class UnitOfExpression
context
- the substitution context which may get mutated as a side
effect upon completion of this methodpublic java.lang.String toString()
toString
in class java.lang.Object