public class PartTreeCassandraQuery extends AbstractCassandraQuery
RepositoryQuery implementation for Cassandra.AbstractCassandraQuerylog| Constructor and Description |
|---|
PartTreeCassandraQuery(CassandraQueryMethod queryMethod,
CassandraOperations operations)
|
| Modifier and Type | Method and Description |
|---|---|
protected com.datastax.oss.driver.api.core.cql.SimpleStatement |
createQuery(CassandraParameterAccessor parameterAccessor)
Creates a
Statement using the given ParameterAccessor |
protected MappingContext<? extends CassandraPersistentEntity<?>,CassandraPersistentProperty> |
getMappingContext()
Returns the
MappingContext used by this query to access mapping meta-data used to store (map) objects to
Cassandra tables. |
protected StatementFactory |
getStatementFactory()
Returns the
StatementFactory used by this query to construct and run Cassandra CQL statements. |
protected PartTree |
getTree()
Return the
PartTree backing the query. |
protected boolean |
isCountQuery()
Returns whether the query should get a count projection applied.
|
protected boolean |
isExistsQuery()
Returns whether the query should get an exists projection applied.
|
protected boolean |
isLimiting()
Return whether the query has an explicit limit set.
|
protected boolean |
isModifyingQuery()
Returns whether the query is a modifying query.
|
execute, getOperationsgetEntityInstantiators, getQueryMethod, getQueryStatementCreatorpublic PartTreeCassandraQuery(CassandraQueryMethod queryMethod, CassandraOperations operations)
queryMethod - must not be null.operations - must not be null.protected MappingContext<? extends CassandraPersistentEntity<?>,CassandraPersistentProperty> getMappingContext()
MappingContext used by this query to access mapping meta-data used to store (map) objects to
Cassandra tables.MappingContext used by this query.CassandraMappingContextprotected StatementFactory getStatementFactory()
StatementFactory used by this query to construct and run Cassandra CQL statements.StatementFactory used by this query to construct and run Cassandra CQL statements.StatementFactoryprotected com.datastax.oss.driver.api.core.cql.SimpleStatement createQuery(CassandraParameterAccessor parameterAccessor)
AbstractCassandraQueryStatement using the given ParameterAccessorcreateQuery in class AbstractCassandraQueryparameterAccessor - must not be null.protected boolean isCountQuery()
AbstractCassandraQueryisCountQuery in class AbstractCassandraQueryprotected boolean isExistsQuery()
AbstractCassandraQueryisExistsQuery in class AbstractCassandraQueryprotected boolean isLimiting()
AbstractCassandraQueryisLimiting in class AbstractCassandraQueryprotected boolean isModifyingQuery()
AbstractCassandraQueryisModifyingQuery in class AbstractCassandraQueryCopyright © 2011–2021 Pivotal Software, Inc.. All rights reserved.