public class ReactiveElasticsearchStringQuery extends Object
| Modifier and Type | Field and Description |
|---|---|
protected ReactiveElasticsearchQueryMethod |
queryMethod |
| Constructor and Description |
|---|
ReactiveElasticsearchStringQuery(ReactiveElasticsearchQueryMethod queryMethod,
ReactiveElasticsearchOperations operations,
SpelExpressionParser expressionParser,
org.springframework.data.repository.query.QueryMethodEvaluationContextProvider evaluationContextProvider) |
ReactiveElasticsearchStringQuery(String query,
ReactiveElasticsearchQueryMethod queryMethod,
ReactiveElasticsearchOperations operations,
SpelExpressionParser expressionParser,
org.springframework.data.repository.query.QueryMethodEvaluationContextProvider evaluationContextProvider) |
| Modifier and Type | Method and Description |
|---|---|
protected StringQuery |
createQuery(ElasticsearchParameterAccessor parameterAccessor)
Creates a
Query instance using the given ParameterAccessor |
Object |
execute(Object[] parameters) |
protected ReactiveElasticsearchOperations |
getElasticsearchOperations() |
protected org.springframework.data.mapping.context.MappingContext<? extends ElasticsearchPersistentEntity<?>,ElasticsearchPersistentProperty> |
getMappingContext() |
org.springframework.data.repository.query.QueryMethod |
getQueryMethod() |
protected final ReactiveElasticsearchQueryMethod queryMethod
public ReactiveElasticsearchStringQuery(ReactiveElasticsearchQueryMethod queryMethod, ReactiveElasticsearchOperations operations, SpelExpressionParser expressionParser, org.springframework.data.repository.query.QueryMethodEvaluationContextProvider evaluationContextProvider)
public ReactiveElasticsearchStringQuery(String query, ReactiveElasticsearchQueryMethod queryMethod, ReactiveElasticsearchOperations operations, SpelExpressionParser expressionParser, org.springframework.data.repository.query.QueryMethodEvaluationContextProvider evaluationContextProvider)
protected StringQuery createQuery(ElasticsearchParameterAccessor parameterAccessor)
Query instance using the given ParameterAccessorparameterAccessor - must not be null.public Object execute(Object[] parameters)
execute in interface org.springframework.data.repository.query.RepositoryQuerypublic org.springframework.data.repository.query.QueryMethod getQueryMethod()
getQueryMethod in interface org.springframework.data.repository.query.RepositoryQueryprotected ReactiveElasticsearchOperations getElasticsearchOperations()
protected org.springframework.data.mapping.context.MappingContext<? extends ElasticsearchPersistentEntity<?>,ElasticsearchPersistentProperty> getMappingContext()
Copyright © 2011–2023 Pivotal Software, Inc.. All rights reserved.