public class ReactiveElasticsearchQueryMethod extends ElasticsearchQueryMethod
method| Constructor and Description |
|---|
ReactiveElasticsearchQueryMethod(Method method,
org.springframework.data.repository.core.RepositoryMetadata metadata,
org.springframework.data.projection.ProjectionFactory factory,
org.springframework.data.mapping.context.MappingContext<? extends ElasticsearchPersistentEntity<?>,ElasticsearchPersistentProperty> mappingContext) |
| Modifier and Type | Method and Description |
|---|---|
protected ElasticsearchParameters |
createParameters(Method method) |
ElasticsearchParameters |
getParameters() |
boolean |
hasReactiveWrapperParameter()
Check if the given
QueryMethod receives a reactive parameter
wrapper as one of its parameters. |
protected boolean |
isAllowedGenericType(ParameterizedType methodGenericReturnType) |
boolean |
isCollectionQuery() |
boolean |
isStreamQuery() |
protected void |
verifyCountQueryTypes() |
getAnnotatedHighlightQuery, getAnnotatedQuery, getEntityInformation, getMappingContext, hasAnnotatedHighlight, hasAnnotatedQuery, hasCountQueryAnnotation, isNotSearchHitMethod, isNotSearchPageMethod, isSearchHitMethod, isSearchPageMethod, methodReturnTypepublic ReactiveElasticsearchQueryMethod(Method method, org.springframework.data.repository.core.RepositoryMetadata metadata, org.springframework.data.projection.ProjectionFactory factory, org.springframework.data.mapping.context.MappingContext<? extends ElasticsearchPersistentEntity<?>,ElasticsearchPersistentProperty> mappingContext)
protected void verifyCountQueryTypes()
verifyCountQueryTypes in class ElasticsearchQueryMethodprotected ElasticsearchParameters createParameters(Method method)
createParameters in class org.springframework.data.repository.query.QueryMethodpublic boolean hasReactiveWrapperParameter()
QueryMethod receives a reactive parameter
wrapper as one of its parameters.public boolean isCollectionQuery()
isCollectionQuery in class org.springframework.data.repository.query.QueryMethodpublic boolean isStreamQuery()
isStreamQuery in class org.springframework.data.repository.query.QueryMethodpublic ElasticsearchParameters getParameters()
getParameters in class org.springframework.data.repository.query.QueryMethodprotected boolean isAllowedGenericType(ParameterizedType methodGenericReturnType)
isAllowedGenericType in class ElasticsearchQueryMethodCopyright © 2011–2023 Pivotal Software, Inc.. All rights reserved.