public abstract class AbstractElasticsearchRepositoryQuery extends Object implements org.springframework.data.repository.query.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(org.springframework.data.repository.query.ParametersParameterAccessor accessor) |
Object |
execute(Object[] parameters) |
org.springframework.data.repository.query.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 org.springframework.data.repository.query.QueryMethod getQueryMethod()
getQueryMethod in interface org.springframework.data.repository.query.RepositoryQuerypublic abstract boolean isCountQuery()
protected abstract boolean isDeleteQuery()
protected abstract boolean isExistsQuery()
public Object execute(Object[] parameters)
execute in interface org.springframework.data.repository.query.RepositoryQueryprotected abstract Query createQuery(org.springframework.data.repository.query.ParametersParameterAccessor accessor)
Copyright © 2011–2023 Pivotal Software, Inc.. All rights reserved.