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
ConstructorsConstructorDescriptionReactiveElasticsearchQueryMethod(Method method, RepositoryMetadata metadata, ProjectionFactory factory, MappingContext<? extends ElasticsearchPersistentEntity<?>, ElasticsearchPersistentProperty> mappingContext) -
Method Summary
Modifier and TypeMethodDescriptionprotected ElasticsearchParameterscreateParameters(Method method) booleanCheck if the givenQueryMethodreceives a reactive parameter wrapper as one of its parameters.protected booleanisAllowedGenericType(ParameterizedType methodGenericReturnType) booleanbooleanprotected voidMethods inherited from class org.springframework.data.elasticsearch.repository.query.ElasticsearchQueryMethod
getAnnotatedHighlightQuery, getAnnotatedQuery, getEntityInformation, getMappingContext, hasAnnotatedHighlight, hasAnnotatedQuery, hasCountQueryAnnotation, isNotSearchHitMethod, isNotSearchPageMethod, isSearchHitMethod, isSearchPageMethod, methodReturnTypeMethods 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:
verifyCountQueryTypesin classElasticsearchQueryMethod
-
createParameters
- Overrides:
createParametersin classQueryMethod
-
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
-