com.github.krr.mongodb.aggregate.support.api.QueryProvider<org.springframework.data.domain.Pageable>public class AggregateQueryProvider
extends com.github.krr.mongodb.aggregate.support.query.AbstractAggregateQueryProvider<org.springframework.data.domain.Pageable>
com.github.krr.mongodb.aggregate.support.query.AbstractAggregateQueryProvider.AggregationStage, com.github.krr.mongodb.aggregate.support.query.AbstractAggregateQueryProvider.ParameterBinding| Constructor | Description |
|---|---|
AggregateQueryProvider(Method method,
org.springframework.data.mongodb.repository.query.MongoParameterAccessor mongoParameterAccessor,
org.springframework.data.mongodb.repository.query.ConvertingParameterAccessor convertingParameterAccessor) |
| Modifier and Type | Method | Description |
|---|---|---|
protected void |
createAggregateQuery() |
|
com.github.krr.mongodb.aggregate.support.query.AbstractAggregateQueryProvider.AggregationStage |
createAggregationStage(com.github.krr.mongodb.aggregate.support.enums.AggregationType type,
com.github.krr.mongodb.aggregate.support.annotations.Conditional[] condition,
com.github.krr.mongodb.aggregate.support.annotations.Conditional.ConditionalMatchType conditionalMatchType) |
|
org.springframework.data.domain.Pageable |
getPageable() |
|
protected void |
initializeAnnotation(Method method) |
|
boolean |
isLimiting() |
|
boolean |
isPageable() |
|
protected String |
replacePlaceholders(String query) |
Replaced the parameter place-holders with the actual parameter values from the given
AbstractAggregateQueryProvider.ParameterBindings. |
collectionNameFromAnnotation, deriveCollectionName, getAggregateAnnotationsInMetaAnnotation, getCollectionName, getContainingAnnotation, getMaxTimeMS, getMethodReturnType, getOutPipelineStageIndex, getOutputClass, getPipelines, getQueryForStage, getQueryResultKey, getSimpleCollectionName, isAggregationMetaAnnotation, isAggregationPipelineStage, isAggregationPipelineStageContainer, isAllowDiskUse, modifyAggregateQueryPipeline, unwindAnnotationspublic AggregateQueryProvider(Method method, org.springframework.data.mongodb.repository.query.MongoParameterAccessor mongoParameterAccessor, org.springframework.data.mongodb.repository.query.ConvertingParameterAccessor convertingParameterAccessor) throws com.github.krr.mongodb.aggregate.support.exceptions.InvalidAggregationQueryException
com.github.krr.mongodb.aggregate.support.exceptions.InvalidAggregationQueryExceptionprotected void initializeAnnotation(Method method) throws com.github.krr.mongodb.aggregate.support.exceptions.InvalidAggregationQueryException
initializeAnnotation in class com.github.krr.mongodb.aggregate.support.query.AbstractAggregateQueryProvider<org.springframework.data.domain.Pageable>com.github.krr.mongodb.aggregate.support.exceptions.InvalidAggregationQueryExceptionprotected void createAggregateQuery()
createAggregateQuery in class com.github.krr.mongodb.aggregate.support.query.AbstractAggregateQueryProvider<org.springframework.data.domain.Pageable>public boolean isLimiting()
public org.springframework.data.domain.Pageable getPageable()
getPageable in interface com.github.krr.mongodb.aggregate.support.api.QueryProvider<org.springframework.data.domain.Pageable>getPageable in class com.github.krr.mongodb.aggregate.support.query.AbstractAggregateQueryProvider<org.springframework.data.domain.Pageable>protected String replacePlaceholders(String query)
AbstractAggregateQueryProvider.ParameterBindings.query - - the query string with placeholderspublic boolean isPageable()
public com.github.krr.mongodb.aggregate.support.query.AbstractAggregateQueryProvider.AggregationStage createAggregationStage(com.github.krr.mongodb.aggregate.support.enums.AggregationType type,
com.github.krr.mongodb.aggregate.support.annotations.Conditional[] condition,
com.github.krr.mongodb.aggregate.support.annotations.Conditional.ConditionalMatchType conditionalMatchType)
Copyright © 2020. All rights reserved.