DynamoDBQueryCriteria<T,ID>
, SortHandler
public class DynamoDBEntityWithHashAndRangeKeyCriteria<T,ID> extends AbstractDynamoDBQueryCriteria<T,ID>
attributeConditions, clazz, globalSecondaryIndexName, hashKeyAttributeValue, hashKeyPropertyValue, projection, propertyConditions, sort
Constructor | Description |
---|---|
DynamoDBEntityWithHashAndRangeKeyCriteria(DynamoDBIdIsHashAndRangeKeyEntityInformation<T,ID> entityInformation,
com.amazonaws.services.dynamodbv2.datamodeling.DynamoDBMapperTableModel<T> tableModel) |
addAttributeValue, applySortIfSpecified, applySortIfSpecified, buildCountQuery, buildQuery, buildQueryRequest, comparisonOperatorsPermittedForQuery, createCollectionCondition, createNoValueCondition, createSingleValueCondition, getAttributeName, getHashKeyAttributeName, getHashKeyAttributeValue, getHashKeyConditions, getHashKeyPropertyName, getHashKeyPropertyValue, getPropertyAttributeValue, isHashKeyProperty, isHashKeySpecified, withCondition, withHashKeyEquals, withNoValuedCriteria, withProjection, withPropertyBetween, withPropertyIn, withSort
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
ensureNoSort, ensureNoSort, throwUnsupportedSortOperationException
public DynamoDBEntityWithHashAndRangeKeyCriteria(DynamoDBIdIsHashAndRangeKeyEntityInformation<T,ID> entityInformation, com.amazonaws.services.dynamodbv2.datamodeling.DynamoDBMapperTableModel<T> tableModel)
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>
protected Query<Long> buildSingleEntityCountQuery(DynamoDBOperations dynamoDBOperations)
buildSingleEntityCountQuery
in class AbstractDynamoDBQueryCriteria<T,ID>
public DynamoDBQueryCriteria<T,ID> withSingleValueCriteria(String propertyName, com.amazonaws.services.dynamodbv2.model.ComparisonOperator comparisonOperator, Object value, Class<?> propertyType)
withSingleValueCriteria
in interface DynamoDBQueryCriteria<T,ID>
withSingleValueCriteria
in class AbstractDynamoDBQueryCriteria<T,ID>
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>
protected Query<Long> buildFinderCountQuery(DynamoDBOperations dynamoDBOperations, boolean pageQuery)
buildFinderCountQuery
in class AbstractDynamoDBQueryCriteria<T,ID>
public boolean isApplicableForLoad()
isApplicableForLoad
in class AbstractDynamoDBQueryCriteria<T,ID>
protected boolean isHashAndRangeKeySpecified()
protected boolean isOnlyASingleAttributeConditionAndItIsOnEitherRangeOrIndexRangeKey()
protected boolean hasIndexHashKeyEqualCondition()
hasIndexHashKeyEqualCondition
in class AbstractDynamoDBQueryCriteria<T,ID>
protected boolean hasIndexRangeKeyCondition()
hasIndexRangeKeyCondition
in class AbstractDynamoDBQueryCriteria<T,ID>
protected boolean isApplicableForGlobalSecondaryIndex()
isApplicableForGlobalSecondaryIndex
in class AbstractDynamoDBQueryCriteria<T,ID>
protected String getGlobalSecondaryIndexName()
getGlobalSecondaryIndexName
in class AbstractDynamoDBQueryCriteria<T,ID>
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>
Copyright © 2018. All rights reserved.