Class ReactiveElasticsearchQueryMethod
java.lang.Object
org.springframework.data.repository.query.QueryMethod
org.springframework.data.elasticsearch.repository.query.ElasticsearchQueryMethod
org.springframework.data.elasticsearch.repository.query.ReactiveElasticsearchQueryMethod
- Since:
- 3.2
- Author:
- Christoph Strobl, Peter-Josef Meisch
-
Field Summary
Fields inherited from class ElasticsearchQueryMethod
method, unwrappedReturnType -
Constructor Summary
ConstructorsConstructorDescriptionReactiveElasticsearchQueryMethod(Method method, RepositoryMetadata metadata, ProjectionFactory factory, MappingContext<? extends ElasticsearchPersistentEntity<?>, ElasticsearchPersistentProperty> mappingContext) -
Method Summary
Modifier and TypeMethodDescriptionbooleanCheck if the givenQueryMethodreceives a reactive parameter wrapper as one of its parameters.protected booleanisAllowedGenericType(ParameterizedType methodGenericReturnType) booleanbooleanprotected voidMethods inherited from class ElasticsearchQueryMethod
createParameters, getAnnotatedHighlightQuery, getAnnotatedQuery, getAnnotatedSearchTemplateQuery, getEntityInformation, getMappingContext, hasAnnotatedHighlight, hasAnnotatedQuery, hasAnnotatedSearchTemplateQuery, hasCountQueryAnnotation, isNotSearchHitMethod, isNotSearchPageMethod, isSearchHitMethod, isSearchPageMethod, methodReturnTypeMethods inherited from class QueryMethod
getDomainClass, getName, getNamedQueryName, getResultProcessor, getReturnedObjectType, isModifyingQuery, isPageQuery, isQueryForEntity, isScrollQuery, isSearchQuery, isSliceQuery, toString
-
Constructor Details
-
ReactiveElasticsearchQueryMethod
public ReactiveElasticsearchQueryMethod(Method method, RepositoryMetadata metadata, ProjectionFactory factory, MappingContext<? extends ElasticsearchPersistentEntity<?>, ElasticsearchPersistentProperty> mappingContext)
-
-
Method Details
-
verifyCountQueryTypes
protected void verifyCountQueryTypes()- Overrides:
verifyCountQueryTypesin classElasticsearchQueryMethod
-
hasReactiveWrapperParameter
public boolean hasReactiveWrapperParameter()Check if the givenQueryMethodreceives a reactive parameter wrapper as one of its parameters.- Returns:
-
isCollectionQuery
public boolean isCollectionQuery()- Overrides:
isCollectionQueryin classQueryMethod
-
isStreamQuery
public boolean isStreamQuery()- Overrides:
isStreamQueryin classQueryMethod
-
getParameters
- Overrides:
getParametersin classQueryMethod
-
isAllowedGenericType
- Overrides:
isAllowedGenericTypein classElasticsearchQueryMethod
-