public class DynamoDBEntityWithHashAndRangeKeyCriteria<T,ID extends Serializable> extends AbstractDynamoDBQueryCriteria<T,ID>
attributeConditions, clazz, globalSecondaryIndexName, hashKeyAttributeValue, hashKeyPropertyValue, propertyConditions, sort| Constructor and Description |
|---|
DynamoDBEntityWithHashAndRangeKeyCriteria(DynamoDBIdIsHashAndRangeKeyEntityInformation<T,ID> entityInformation) |
addAttributeValue, applySortIfSpecified, applySortIfSpecified, buildCountQuery, buildQuery, buildQueryRequest, comparisonOperatorsPermittedForQuery, createCollectionCondition, createNoValueCondition, createSingleValueCondition, getAttributeName, getHashKeyAttributeName, getHashKeyAttributeValue, getHashKeyConditions, getHashKeyPropertyName, getHashKeyPropertyValue, getPropertyAttributeValue, isHashKeyProperty, isHashKeySpecified, withCondition, withHashKeyEquals, withNoValuedCriteria, withPropertyBetween, withPropertyIn, withSortpublic DynamoDBEntityWithHashAndRangeKeyCriteria(DynamoDBIdIsHashAndRangeKeyEntityInformation<T,ID> entityInformation)
protected String getRangeKeyAttributeName()
protected String getRangeKeyPropertyName()
protected boolean isRangeKeyProperty(String propertyName)
protected Object getRangeKeyAttributeValue()
protected Object getRangeKeyPropertyValue()
protected boolean isRangeKeySpecified()
protected Query<T> buildSingleEntityLoadQuery(DynamoDBOperations dynamoDBOperations)
buildSingleEntityLoadQuery in class AbstractDynamoDBQueryCriteria<T,ID extends Serializable>protected Query<Long> buildSingleEntityCountQuery(DynamoDBOperations dynamoDBOperations)
buildSingleEntityCountQuery in class AbstractDynamoDBQueryCriteria<T,ID extends Serializable>public DynamoDBQueryCriteria<T,ID> withSingleValueCriteria(String propertyName, com.amazonaws.services.dynamodbv2.model.ComparisonOperator comparisonOperator, Object value, Class<?> propertyType)
withSingleValueCriteria in interface DynamoDBQueryCriteria<T,ID extends Serializable>withSingleValueCriteria in class AbstractDynamoDBQueryCriteria<T,ID extends Serializable>public com.amazonaws.services.dynamodbv2.datamodeling.DynamoDBQueryExpression<T> buildQueryExpression()
protected List<com.amazonaws.services.dynamodbv2.model.Condition> getRangeKeyConditions()
protected Query<T> buildFinderQuery(DynamoDBOperations dynamoDBOperations)
buildFinderQuery in class AbstractDynamoDBQueryCriteria<T,ID extends Serializable>protected Query<Long> buildFinderCountQuery(DynamoDBOperations dynamoDBOperations, boolean pageQuery)
buildFinderCountQuery in class AbstractDynamoDBQueryCriteria<T,ID extends Serializable>public boolean isApplicableForLoad()
isApplicableForLoad in class AbstractDynamoDBQueryCriteria<T,ID extends Serializable>protected boolean isHashAndRangeKeySpecified()
protected boolean isOnlyASingleAttributeConditionAndItIsOnEitherRangeOrIndexRangeKey()
protected boolean hasIndexHashKeyEqualCondition()
hasIndexHashKeyEqualCondition in class AbstractDynamoDBQueryCriteria<T,ID extends Serializable>protected boolean hasIndexRangeKeyCondition()
hasIndexRangeKeyCondition in class AbstractDynamoDBQueryCriteria<T,ID extends Serializable>protected boolean isApplicableForGlobalSecondaryIndex()
isApplicableForGlobalSecondaryIndex in class AbstractDynamoDBQueryCriteria<T,ID extends Serializable>protected String getGlobalSecondaryIndexName()
getGlobalSecondaryIndexName in class AbstractDynamoDBQueryCriteria<T,ID extends Serializable>public boolean isApplicableForQuery()
public com.amazonaws.services.dynamodbv2.datamodeling.DynamoDBScanExpression buildScanExpression()
public DynamoDBQueryCriteria<T,ID> withRangeKeyEquals(Object value)
public DynamoDBQueryCriteria<T,ID> withPropertyEquals(String propertyName, Object value, Class<?> propertyType)
protected boolean isOnlyHashKeySpecified()
isOnlyHashKeySpecified in class AbstractDynamoDBQueryCriteria<T,ID extends Serializable>Copyright © 2016. All rights reserved.