Class ReactiveElasticsearchStringQuery
java.lang.Object
org.springframework.data.elasticsearch.repository.query.ReactiveElasticsearchStringQuery
- All Implemented Interfaces:
RepositoryQuery
- Since:
- 3.2
- Author:
- Christoph Strobl, Taylor Ono
-
Field Summary
-
Constructor Summary
ConstructorDescriptionReactiveElasticsearchStringQuery
(String query, ReactiveElasticsearchQueryMethod queryMethod, ReactiveElasticsearchOperations operations, SpelExpressionParser expressionParser, QueryMethodEvaluationContextProvider evaluationContextProvider) ReactiveElasticsearchStringQuery
(ReactiveElasticsearchQueryMethod queryMethod, ReactiveElasticsearchOperations operations, SpelExpressionParser expressionParser, QueryMethodEvaluationContextProvider evaluationContextProvider) -
Method Summary
Modifier and TypeMethodDescriptionprotected StringQuery
createQuery
(ElasticsearchParameterAccessor parameterAccessor) Creates aQuery
instance using the givenParameterAccessor
protected ReactiveElasticsearchOperations
protected MappingContext<? extends ElasticsearchPersistentEntity<?>,
ElasticsearchPersistentProperty>
-
Field Details
-
queryMethod
-
-
Constructor Details
-
ReactiveElasticsearchStringQuery
public ReactiveElasticsearchStringQuery(ReactiveElasticsearchQueryMethod queryMethod, ReactiveElasticsearchOperations operations, SpelExpressionParser expressionParser, QueryMethodEvaluationContextProvider evaluationContextProvider) -
ReactiveElasticsearchStringQuery
public ReactiveElasticsearchStringQuery(String query, ReactiveElasticsearchQueryMethod queryMethod, ReactiveElasticsearchOperations operations, SpelExpressionParser expressionParser, QueryMethodEvaluationContextProvider evaluationContextProvider)
-
-
Method Details
-
createQuery
Creates aQuery
instance using the givenParameterAccessor
- Parameters:
parameterAccessor
- 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()
-