ExceptionHandler
, org.springframework.data.repository.query.RepositoryQuery
PartTreeDynamoDBQuery
public abstract class AbstractDynamoDBQuery<T,ID> extends Object implements org.springframework.data.repository.query.RepositoryQuery, ExceptionHandler
Modifier and Type | Field | Description |
---|---|---|
protected DynamoDBOperations |
dynamoDBOperations |
Constructor | Description |
---|---|
AbstractDynamoDBQuery(DynamoDBOperations dynamoDBOperations,
DynamoDBQueryMethod<T,ID> method) |
Modifier and Type | Method | Description |
---|---|---|
protected abstract Query<Long> |
doCreateCountQuery(Object[] values,
boolean pageQuery) |
|
protected Query<Long> |
doCreateCountQueryWithPermissions(Object[] values,
boolean pageQuery) |
|
protected abstract Query<T> |
doCreateQuery(Object[] values) |
|
protected Query<T> |
doCreateQueryWithPermissions(Object[] values) |
|
Object |
execute(Object[] parameters) |
|
protected org.socialsignin.spring.data.dynamodb.repository.query.AbstractDynamoDBQuery.QueryExecution<T,ID> |
getExecution() |
|
DynamoDBQueryMethod<T,ID> |
getQueryMethod() |
|
protected abstract Integer |
getResultsRestrictionIfApplicable() |
|
protected abstract boolean |
isCountQuery() |
|
protected abstract boolean |
isDeleteQuery() |
|
protected abstract boolean |
isExistsQuery() |
|
protected abstract boolean |
isSingleEntityResultsRestriction() |
repackageToException
protected final DynamoDBOperations dynamoDBOperations
public AbstractDynamoDBQuery(DynamoDBOperations dynamoDBOperations, DynamoDBQueryMethod<T,ID> method)
protected org.socialsignin.spring.data.dynamodb.repository.query.AbstractDynamoDBQuery.QueryExecution<T,ID> getExecution()
protected abstract Query<Long> doCreateCountQuery(Object[] values, boolean pageQuery)
protected abstract boolean isCountQuery()
protected abstract boolean isExistsQuery()
protected abstract boolean isDeleteQuery()
protected abstract Integer getResultsRestrictionIfApplicable()
protected abstract boolean isSingleEntityResultsRestriction()
protected Query<Long> doCreateCountQueryWithPermissions(Object[] values, boolean pageQuery)
public Object execute(Object[] parameters)
execute
in interface org.springframework.data.repository.query.RepositoryQuery
public DynamoDBQueryMethod<T,ID> getQueryMethod()
getQueryMethod
in interface org.springframework.data.repository.query.RepositoryQuery
Copyright © 2018. All rights reserved.