@Beta public final class ScanExpressionSpec extends ExpressionSpec
Even though the internal name map and value map are unmodifiable, this object is only as unmodifiable as the underlying values in it's value map. In turn, the values in the value maps are essentially provided by the users of this library. In other words, this object is thread-safe as long as the underlying values provided by the users are thread-safe.
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
filterExpression |
private java.util.Map<java.lang.String,java.lang.String> |
nameMap |
private java.lang.String |
projectionExpression |
private java.util.Map<java.lang.String,java.lang.Object> |
valueMap |
Constructor and Description |
---|
ScanExpressionSpec(ExpressionSpecBuilder builder) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getFilterExpression()
Returns the condition expression; or null if there is none.
|
java.util.Map<java.lang.String,java.lang.String> |
getNameMap()
Returns the name map which is unmodifiable; or null if there is none.
|
java.lang.String |
getProjectionExpression()
Returns the projection expression; or null if there is none.
|
java.util.Map<java.lang.String,java.lang.Object> |
getValueMap()
Returns the value map which is unmodifiable; or null if there is none.
|
private final java.lang.String projectionExpression
private final java.lang.String filterExpression
private final java.util.Map<java.lang.String,java.lang.String> nameMap
private final java.util.Map<java.lang.String,java.lang.Object> valueMap
ScanExpressionSpec(ExpressionSpecBuilder builder)
public java.lang.String getProjectionExpression()
public java.lang.String getFilterExpression()
public java.util.Map<java.lang.String,java.lang.String> getNameMap()
getNameMap
in class ExpressionSpec
public java.util.Map<java.lang.String,java.lang.Object> getValueMap()