Class DynamoDBEntityWithHashKeyOnlyCriteria<T,ID>
- java.lang.Object
-
- org.socialsignin.spring.data.dynamodb.repository.query.AbstractDynamoDBQueryCriteria<T,ID>
-
- org.socialsignin.spring.data.dynamodb.repository.query.DynamoDBEntityWithHashKeyOnlyCriteria<T,ID>
-
- All Implemented Interfaces:
DynamoDBQueryCriteria<T,ID>,SortHandler
public class DynamoDBEntityWithHashKeyOnlyCriteria<T,ID> extends AbstractDynamoDBQueryCriteria<T,ID>
- Author:
- Michael Lavelle, Sebastian Just
-
-
Field Summary
-
Fields inherited from class org.socialsignin.spring.data.dynamodb.repository.query.AbstractDynamoDBQueryCriteria
attributeConditions, clazz, consistentReads, globalSecondaryIndexName, hashKeyAttributeValue, hashKeyPropertyValue, limit, projection, propertyConditions, sort
-
-
Constructor Summary
Constructors Constructor Description DynamoDBEntityWithHashKeyOnlyCriteria(DynamoDBEntityInformation<T,ID> entityInformation, com.amazonaws.services.dynamodbv2.datamodeling.DynamoDBMapperTableModel<T> tableModel)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected Query<java.lang.Long>buildFinderCountQuery(DynamoDBOperations dynamoDBOperations, boolean pageQuery)protected Query<T>buildFinderQuery(DynamoDBOperations dynamoDBOperations)com.amazonaws.services.dynamodbv2.datamodeling.DynamoDBScanExpressionbuildScanExpression()protected Query<java.lang.Long>buildSingleEntityCountQuery(DynamoDBOperations dynamoDBOperations)protected Query<T>buildSingleEntityLoadQuery(DynamoDBOperations dynamoDBOperations)booleanisApplicableForLoad()protected booleanisOnlyHashKeySpecified()DynamoDBQueryCriteria<T,ID>withPropertyEquals(java.lang.String propertyName, java.lang.Object value, java.lang.Class<?> propertyType)-
Methods inherited from class org.socialsignin.spring.data.dynamodb.repository.query.AbstractDynamoDBQueryCriteria
addAttributeValue, applySortIfSpecified, applySortIfSpecified, buildCountQuery, buildQuery, buildQueryRequest, comparisonOperatorsPermittedForQuery, createCollectionCondition, createNoValueCondition, createSingleValueCondition, getAttributeName, getGlobalSecondaryIndexName, getHashKeyAttributeName, getHashKeyAttributeValue, getHashKeyConditions, getHashKeyPropertyName, getHashKeyPropertyValue, getPropertyAttributeValue, hasIndexHashKeyEqualCondition, hasIndexRangeKeyCondition, isApplicableForGlobalSecondaryIndex, isHashKeyProperty, isHashKeySpecified, withCondition, withConsistentReads, withHashKeyEquals, withLimit, withNoValuedCriteria, withProjection, withPropertyBetween, withPropertyIn, withSingleValueCriteria, withSort
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.socialsignin.spring.data.dynamodb.utils.SortHandler
ensureNoSort, ensureNoSort, throwUnsupportedSortOperationException
-
-
-
-
Constructor Detail
-
DynamoDBEntityWithHashKeyOnlyCriteria
public DynamoDBEntityWithHashKeyOnlyCriteria(DynamoDBEntityInformation<T,ID> entityInformation, com.amazonaws.services.dynamodbv2.datamodeling.DynamoDBMapperTableModel<T> tableModel)
-
-
Method Detail
-
buildSingleEntityLoadQuery
protected Query<T> buildSingleEntityLoadQuery(DynamoDBOperations dynamoDBOperations)
- Specified by:
buildSingleEntityLoadQueryin classAbstractDynamoDBQueryCriteria<T,ID>
-
buildSingleEntityCountQuery
protected Query<java.lang.Long> buildSingleEntityCountQuery(DynamoDBOperations dynamoDBOperations)
- Specified by:
buildSingleEntityCountQueryin classAbstractDynamoDBQueryCriteria<T,ID>
-
buildFinderQuery
protected Query<T> buildFinderQuery(DynamoDBOperations dynamoDBOperations)
- Specified by:
buildFinderQueryin classAbstractDynamoDBQueryCriteria<T,ID>
-
buildFinderCountQuery
protected Query<java.lang.Long> buildFinderCountQuery(DynamoDBOperations dynamoDBOperations, boolean pageQuery)
- Specified by:
buildFinderCountQueryin classAbstractDynamoDBQueryCriteria<T,ID>
-
isOnlyHashKeySpecified
protected boolean isOnlyHashKeySpecified()
- Specified by:
isOnlyHashKeySpecifiedin classAbstractDynamoDBQueryCriteria<T,ID>
-
isApplicableForLoad
public boolean isApplicableForLoad()
- Specified by:
isApplicableForLoadin classAbstractDynamoDBQueryCriteria<T,ID>
-
buildScanExpression
public com.amazonaws.services.dynamodbv2.datamodeling.DynamoDBScanExpression buildScanExpression()
-
withPropertyEquals
public DynamoDBQueryCriteria<T,ID> withPropertyEquals(java.lang.String propertyName, java.lang.Object value, java.lang.Class<?> propertyType)
-
-