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 org.springframework.data.elasticsearch.repository.query.ElasticsearchQueryMethod
method
-
Constructor Summary
ConstructorDescriptionReactiveElasticsearchQueryMethod
(Method method, RepositoryMetadata metadata, ProjectionFactory factory, MappingContext<? extends ElasticsearchPersistentEntity<?>, ElasticsearchPersistentProperty> mappingContext) -
Method Summary
Modifier and TypeMethodDescriptionprotected ElasticsearchParameters
createParameters
(Method method) boolean
Check if the givenQueryMethod
receives a reactive parameter wrapper as one of its parameters.protected boolean
isAllowedGenericType
(ParameterizedType methodGenericReturnType) boolean
boolean
protected void
Methods inherited from class org.springframework.data.elasticsearch.repository.query.ElasticsearchQueryMethod
getAnnotatedHighlightQuery, getAnnotatedQuery, getEntityInformation, getMappingContext, hasAnnotatedHighlight, hasAnnotatedQuery, hasCountQueryAnnotation, isNotSearchHitMethod, isNotSearchPageMethod, isSearchHitMethod, isSearchPageMethod, methodReturnType
Methods inherited from class org.springframework.data.repository.query.QueryMethod
createParameters, getDomainClass, getName, getNamedQueryName, getResultProcessor, getReturnedObjectType, isModifyingQuery, isPageQuery, isQueryForEntity, isScrollQuery, 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:
verifyCountQueryTypes
in classElasticsearchQueryMethod
-
createParameters
- Overrides:
createParameters
in classQueryMethod
-
hasReactiveWrapperParameter
public boolean hasReactiveWrapperParameter()Check if the givenQueryMethod
receives a reactive parameter wrapper as one of its parameters.- Returns:
-
isCollectionQuery
public boolean isCollectionQuery()- Overrides:
isCollectionQuery
in classQueryMethod
-
isStreamQuery
public boolean isStreamQuery()- Overrides:
isStreamQuery
in classQueryMethod
-
getParameters
- Overrides:
getParameters
in classQueryMethod
-
isAllowedGenericType
- Overrides:
isAllowedGenericType
in classElasticsearchQueryMethod
-