Class ReactivePartTreeElasticsearchQuery
java.lang.Object
org.springframework.data.elasticsearch.repository.query.ReactivePartTreeElasticsearchQuery
- All Implemented Interfaces:
RepositoryQuery
- Since:
- 3.2
- Author:
- Christoph Strobl, Peter-Josef Meisch, Haibo Liu
-
Field Summary
Modifier and TypeFieldDescriptionprotected final QueryMethodEvaluationContextProvider
protected final ReactiveElasticsearchQueryMethod
-
Constructor Summary
ConstructorDescriptionReactivePartTreeElasticsearchQuery
(ReactiveElasticsearchQueryMethod queryMethod, ReactiveElasticsearchOperations elasticsearchOperations, QueryMethodEvaluationContextProvider evaluationContextProvider) -
Method Summary
Modifier and TypeMethodDescriptionprotected BaseQuery
Creates aQuery
instance using the givenParameterAccessor
protected ReactiveElasticsearchOperations
protected MappingContext<? extends ElasticsearchPersistentEntity<?>,
ElasticsearchPersistentProperty>
-
Field Details
-
queryMethod
-
evaluationContextProvider
-
-
Constructor Details
-
ReactivePartTreeElasticsearchQuery
public ReactivePartTreeElasticsearchQuery(ReactiveElasticsearchQueryMethod queryMethod, ReactiveElasticsearchOperations elasticsearchOperations, QueryMethodEvaluationContextProvider evaluationContextProvider)
-
-
Method Details
-
createQuery
Creates aQuery
instance using the givenParameterAccessor
- Parameters:
accessor
- must not be null.- Returns:
-
execute
- Specified by:
execute
in interfaceRepositoryQuery
-
getQueryMethod
- Specified by:
getQueryMethod
in interfaceRepositoryQuery
-
getElasticsearchOperations
-
getMappingContext
protected MappingContext<? extends ElasticsearchPersistentEntity<?>,ElasticsearchPersistentProperty> getMappingContext()
-