Constructor and Description |
---|
ResultImpl(java.util.Map<java.lang.String,software.amazon.awssdk.services.dynamodb.model.AttributeValue> item,
Selection selection,
DynamoTableMetadata metadata) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object o) |
java.util.Optional<Key> |
getClusteringKey()
Returns the clustering
Key |
java.util.Optional<Key> |
getPartitionKey()
Returns the partition
Key |
java.util.Optional<Value> |
getValue(java.lang.String name)
Returns the
Value which the specified name is mapped to |
java.util.Map<java.lang.String,Value> |
getValues()
Returns a map of
Value s |
int |
hashCode() |
java.lang.String |
toString() |
public ResultImpl(java.util.Map<java.lang.String,software.amazon.awssdk.services.dynamodb.model.AttributeValue> item, Selection selection, DynamoTableMetadata metadata)
public java.util.Optional<Key> getPartitionKey()
Result
Key
getPartitionKey
in interface Result
Optional
with the partition Key
public java.util.Optional<Key> getClusteringKey()
Result
Key
getClusteringKey
in interface Result
Optional
with the clustering Key
public java.util.Optional<Value> getValue(java.lang.String name)
Result
Value
which the specified name is mapped to@Nonnull public java.util.Map<java.lang.String,Value> getValues()
Result
Value
spublic int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object