public class ReactivePartTreeCassandraQuery extends AbstractReactiveCassandraQuery
RepositoryQuery implementation for Cassandra.AbstractReactiveCassandraQuerylog| Constructor and Description |
|---|
ReactivePartTreeCassandraQuery(ReactiveCassandraQueryMethod queryMethod,
ReactiveCassandraOperations operations)
Create a new
ReactivePartTreeCassandraQuery from the given ReactiveCassandraQueryMethod and
ReactiveCassandraOperations. |
| Modifier and Type | Method and Description |
|---|---|
protected reactor.core.publisher.Mono<com.datastax.oss.driver.api.core.cql.SimpleStatement> |
createQuery(CassandraParameterAccessor parameterAccessor)
Creates a string query 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, getQueryMethod, getReactiveCassandraOperationsgetEntityInstantiators, getQueryStatementCreatorpublic ReactivePartTreeCassandraQuery(ReactiveCassandraQueryMethod queryMethod, ReactiveCassandraOperations operations)
ReactivePartTreeCassandraQuery from the given ReactiveCassandraQueryMethod and
ReactiveCassandraOperations.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 reactor.core.publisher.Mono<com.datastax.oss.driver.api.core.cql.SimpleStatement> createQuery(CassandraParameterAccessor parameterAccessor)
AbstractReactiveCassandraQueryParameterAccessorcreateQuery in class AbstractReactiveCassandraQueryparameterAccessor - must not be null.protected boolean isCountQuery()
AbstractReactiveCassandraQueryisCountQuery in class AbstractReactiveCassandraQueryprotected boolean isExistsQuery()
AbstractReactiveCassandraQueryisExistsQuery in class AbstractReactiveCassandraQueryprotected boolean isLimiting()
AbstractReactiveCassandraQueryisLimiting in class AbstractReactiveCassandraQueryprotected boolean isModifyingQuery()
AbstractReactiveCassandraQueryisModifyingQuery in class AbstractReactiveCassandraQueryCopyright © 2011–2021 Pivotal Software, Inc.. All rights reserved.