Class SingleEntityLoadByHashKeyQuery<T>

  • All Implemented Interfaces:
    Query<T>

    public class SingleEntityLoadByHashKeyQuery<T>
    extends AbstractSingleEntityQuery<T>
    implements Query<T>
    Author:
    Michael Lavelle, Sebastian Just
    • Constructor Detail

      • SingleEntityLoadByHashKeyQuery

        public SingleEntityLoadByHashKeyQuery​(DynamoDBOperations dynamoDBOperations,
                                              java.lang.Class<T> clazz,
                                              java.lang.Object hashKey)
    • Method Detail

      • getSingleResult

        public T getSingleResult()
        Description copied from interface: Query
        Execute a SELECT query that returns a single result.
        Specified by:
        getSingleResult in interface Query<T>
        Returns:
        the result