public abstract class AbstractElasticsearchRepositoryQuery extends Object implements RepositoryQuery
| Modifier and Type | Field and Description |
|---|---|
protected static int |
DEFAULT_STREAM_BATCH_SIZE |
protected ElasticsearchConverter |
elasticsearchConverter |
protected ElasticsearchOperations |
elasticsearchOperations |
protected ElasticsearchQueryMethod |
queryMethod |
| Constructor and Description |
|---|
AbstractElasticsearchRepositoryQuery(ElasticsearchQueryMethod queryMethod,
ElasticsearchOperations elasticsearchOperations) |
| Modifier and Type | Method and Description |
|---|---|
Query |
createQuery(Object[] parameters) |
protected abstract Query |
createQuery(ParametersParameterAccessor accessor) |
Object |
execute(Object[] parameters) |
QueryMethod |
getQueryMethod() |
abstract boolean |
isCountQuery() |
protected abstract boolean |
isDeleteQuery() |
protected abstract boolean |
isExistsQuery() |
protected static final int DEFAULT_STREAM_BATCH_SIZE
protected ElasticsearchQueryMethod queryMethod
protected ElasticsearchOperations elasticsearchOperations
protected final ElasticsearchConverter elasticsearchConverter
public AbstractElasticsearchRepositoryQuery(ElasticsearchQueryMethod queryMethod, ElasticsearchOperations elasticsearchOperations)
public QueryMethod getQueryMethod()
getQueryMethod in interface RepositoryQuerypublic abstract boolean isCountQuery()
protected abstract boolean isDeleteQuery()
protected abstract boolean isExistsQuery()
public Object execute(Object[] parameters)
execute in interface RepositoryQueryprotected abstract Query createQuery(ParametersParameterAccessor accessor)
Copyright © 2011–2022 Pivotal Software, Inc.. All rights reserved.