public class AggregateQueryProvider extends AbstractAggregateQueryProvider<org.springframework.data.domain.Pageable>
AbstractAggregateQueryProvider.AggregationStage, AbstractAggregateQueryProvider.ParameterBindingaggregateAnnotation, aggregateQueryPipeline, collectionName, getQueryString, method, placeholderRepFnDEFAULT_MAX_TIME_MS| Constructor and Description |
|---|
AggregateQueryProvider(java.lang.reflect.Method method,
org.springframework.data.mongodb.repository.query.MongoParameterAccessor mongoParameterAccessor,
org.springframework.data.mongodb.repository.query.ConvertingParameterAccessor convertingParameterAccessor) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
createAggregateQuery() |
AbstractAggregateQueryProvider.AggregationStage |
createAggregationStage(AggregationType type,
Conditional[] condition,
Conditional.ConditionalMatchType conditionalMatchType) |
org.springframework.data.domain.Pageable |
getPageable() |
protected void |
initializeAnnotation(java.lang.reflect.Method method) |
boolean |
isLimiting() |
boolean |
isPageable() |
protected java.lang.String |
replacePlaceholders(java.lang.String query)
Replaced the parameter place-holders with the actual parameter values from the given
ParameterBindings. |
collectionNameFromAnnotation, deriveCollectionName, getAggregateAnnotationsInMetaAnnotation, getCollectionName, getContainingAnnotation, getMaxTimeMS, getMethodReturnType, getOutPipelineStageIndex, getOutputClass, getPipelines, getQueryForStage, getQueryResultKey, getSimpleCollectionName, isAggregationMetaAnnotation, isAggregationPipelineStage, isAggregationPipelineStageContainer, isAllowDiskUse, modifyAggregateQueryPipeline, unwindAnnotationspublic AggregateQueryProvider(java.lang.reflect.Method method,
org.springframework.data.mongodb.repository.query.MongoParameterAccessor mongoParameterAccessor,
org.springframework.data.mongodb.repository.query.ConvertingParameterAccessor convertingParameterAccessor)
throws InvalidAggregationQueryException
InvalidAggregationQueryExceptionprotected void initializeAnnotation(java.lang.reflect.Method method)
throws InvalidAggregationQueryException
initializeAnnotation in class AbstractAggregateQueryProvider<org.springframework.data.domain.Pageable>InvalidAggregationQueryExceptionprotected void createAggregateQuery()
createAggregateQuery in class AbstractAggregateQueryProvider<org.springframework.data.domain.Pageable>public boolean isLimiting()
public org.springframework.data.domain.Pageable getPageable()
getPageable in interface QueryProvider<org.springframework.data.domain.Pageable>getPageable in class AbstractAggregateQueryProvider<org.springframework.data.domain.Pageable>protected java.lang.String replacePlaceholders(java.lang.String query)
ParameterBindings.query - - the query string with placeholderspublic boolean isPageable()
public AbstractAggregateQueryProvider.AggregationStage createAggregationStage(AggregationType type, Conditional[] condition, Conditional.ConditionalMatchType conditionalMatchType)
Copyright © 2018. All Rights Reserved.