public abstract class AbstractSelectWhereJSON<T extends AbstractSelectWhereJSON<T,ENTITY>,ENTITY> extends AbstractOptionsForSelect<T> implements SelectJSONAction, StatementProvider
| Modifier and Type | Field and Description |
|---|---|
protected CassandraOptions |
cassandraOptions |
protected com.datastax.driver.core.querybuilder.Select.Where |
where |
| Modifier | Constructor and Description |
|---|---|
protected |
AbstractSelectWhereJSON(com.datastax.driver.core.querybuilder.Select.Where where,
CassandraOptions cassandraOptions) |
| Modifier and Type | Method and Description |
|---|---|
BoundStatement |
generateAndGetBoundStatement()
Utility API *
|
List<Object> |
getBoundValues()
Return the provided raw (not yet encoded) bound values
OR extract the raw bound values from a given entity
|
protected abstract List<Object> |
getBoundValuesInternal() |
List<Object> |
getEncodedBoundValues()
Return the provided encoded bound values
OR extract the raw bound values from a given entity
and encode them
|
protected abstract List<Object> |
getEncodedValuesInternal() |
protected abstract Class<ENTITY> |
getEntityClass() |
protected StatementWrapper |
getInternalBoundStatementWrapper() |
CompletableFuture<info.archinnov.achilles.type.tuples.Tuple2<List<String>,ExecutionInfo>> |
getListJSONAsyncWithStats()
JSON API *
|
protected abstract AbstractEntityProperty<ENTITY> |
getMetaInternal() |
protected abstract RuntimeEngine |
getRte() |
String |
getStatementAsString()
Generate the statement as plain text
|
Iterator<String> |
iterator()
Execute the SELECT JSON * action
and return an
Iterator<String> of JSON values
WARNING: this method performs a blocking call to the underlying async query |
info.archinnov.achilles.type.tuples.Tuple2<Iterator<String>,ExecutionInfo> |
iteratorWithExecutionInfo()
Execute the SELECT JSON * action
and return a
Tuple2<Iterator<String>, ExecutionInfo>
WARNING: this method performs a blocking call to the underlying async query |
getOptions, getThis, isIdempotent, isIdempotent, withConsistencyLevel, withDMLResultsDisplaySize, withFetchSize, withOptionalConsistencyLevel, withOptionalOutgoingPayload, withOptionalPagingState, withOptionalPagingStateString, withOptionalRetryPolicy, withOptionalSerialConsistencyLevel, withOutgoingPayload, withPagingState, withPagingState, withReadTimeoutInMillis, withResultSetAsyncListener, withResultSetAsyncListeners, withRetryPolicy, withRowAsyncListener, withRowAsyncListeners, withSerialConsistencyLevel, withTracing, withTracingclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetJSON, getJSONAsync, getJSONAsyncWithStats, getJSONWithStats, getListJSON, getListJSONAsync, getListJSONWithStatsextractCauseFromExecutionExceptionprotected final com.datastax.driver.core.querybuilder.Select.Where where
protected final CassandraOptions cassandraOptions
protected AbstractSelectWhereJSON(com.datastax.driver.core.querybuilder.Select.Where where, CassandraOptions cassandraOptions)
protected abstract AbstractEntityProperty<ENTITY> getMetaInternal()
protected abstract RuntimeEngine getRte()
public CompletableFuture<info.archinnov.achilles.type.tuples.Tuple2<List<String>,ExecutionInfo>> getListJSONAsyncWithStats()
getListJSONAsyncWithStats in interface SelectJSONActionpublic Iterator<String> iterator()
SelectJSONActionIterator<String> of JSON values
iterator in interface SelectJSONActionpublic info.archinnov.achilles.type.tuples.Tuple2<Iterator<String>,ExecutionInfo> iteratorWithExecutionInfo()
SelectJSONActionTuple2<Iterator<String>, ExecutionInfo>
iteratorWithExecutionInfo in interface SelectJSONActionpublic BoundStatement generateAndGetBoundStatement()
generateAndGetBoundStatement in interface StatementProviderpublic String getStatementAsString()
StatementProvidergetStatementAsString in interface StatementProviderpublic List<Object> getBoundValues()
StatementProvidergetBoundValues in interface StatementProviderpublic List<Object> getEncodedBoundValues()
StatementProvidergetEncodedBoundValues in interface StatementProviderprotected StatementWrapper getInternalBoundStatementWrapper()
Copyright © 2012-2021. All Rights Reserved.