Query<T>
public class SingleEntityLoadByHashAndRangeKeyQuery<T> extends AbstractSingleEntityQuery<T> implements Query<T>
clazz, dynamoDBOperations
scanCountEnabled, scanEnabled
Constructor | Description |
---|---|
SingleEntityLoadByHashAndRangeKeyQuery(DynamoDBOperations dynamoDBOperations,
Class<T> clazz,
Object hashKey,
Object rangeKey) |
Modifier and Type | Method | Description |
---|---|---|
T |
getSingleResult() |
Execute a SELECT query that returns a single result.
|
isScanCountEnabled, isScanEnabled, setScanCountEnabled, setScanEnabled
getResultList
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getResultList, isScanCountEnabled, isScanEnabled, setScanCountEnabled, setScanEnabled
public SingleEntityLoadByHashAndRangeKeyQuery(DynamoDBOperations dynamoDBOperations, Class<T> clazz, Object hashKey, Object rangeKey)
public T getSingleResult()
Query
getSingleResult
in interface Query<T>
Copyright © 2018. All rights reserved.