public abstract class AbstractCassandraQuery extends CassandraRepositoryQuerySupport
RepositoryQuery implementations for Cassandra.CassandraRepositoryQuerySupportlog| Constructor and Description |
|---|
AbstractCassandraQuery(CassandraQueryMethod queryMethod,
CassandraOperations operations)
|
| Modifier and Type | Method and Description |
|---|---|
protected abstract com.datastax.oss.driver.api.core.cql.SimpleStatement |
createQuery(CassandraParameterAccessor accessor)
Creates a
Statement using the given ParameterAccessor |
Object |
execute(Object[] parameters) |
protected CassandraOperations |
getOperations()
Return a reference to the
CassandraOperations used to execute this Cassandra query. |
protected abstract boolean |
isCountQuery()
Returns whether the query should get a count projection applied.
|
protected abstract boolean |
isExistsQuery()
Returns whether the query should get an exists projection applied.
|
protected abstract boolean |
isLimiting()
Return whether the query has an explicit limit set.
|
protected abstract boolean |
isModifyingQuery()
Returns whether the query is a modifying query.
|
getEntityInstantiators, getQueryMethod, getQueryStatementCreatorpublic AbstractCassandraQuery(CassandraQueryMethod queryMethod, CassandraOperations operations)
queryMethod - must not be null.operations - must not be null.protected CassandraOperations getOperations()
CassandraOperations used to execute this Cassandra query.CassandraOperations used to execute this Cassandra query.CassandraOperationsprotected abstract com.datastax.oss.driver.api.core.cql.SimpleStatement createQuery(CassandraParameterAccessor accessor)
Statement using the given ParameterAccessoraccessor - must not be null.protected abstract boolean isCountQuery()
protected abstract boolean isExistsQuery()
protected abstract boolean isLimiting()
protected abstract boolean isModifyingQuery()
Copyright © 2011–2021 Pivotal Software, Inc.. All rights reserved.