public class FindWithOptions<ENTITY> extends AbstractOptionsForSelect<FindWithOptions<ENTITY>> implements StatementProvider, AsyncAware
| Constructor and Description |
|---|
FindWithOptions(Class<ENTITY> entityClass,
AbstractEntityProperty<ENTITY> meta,
RuntimeEngine rte,
Object[] primaryKeyValues,
Object[] encodedPrimaryKeyValues,
Optional<CassandraOptions> cassandraOptions) |
| Modifier and Type | Method and Description |
|---|---|
BoundStatement |
generateAndGetBoundStatement()
1.
|
ENTITY |
get() |
CompletableFuture<ENTITY> |
getAsync() |
CompletableFuture<info.archinnov.achilles.type.tuples.Tuple2<ENTITY,ExecutionInfo>> |
getAsyncWithStats() |
List<Object> |
getBoundValues()
Return the provided raw (not yet encoded) bound values
OR extract the raw bound values from a given entity
|
List<Object> |
getEncodedBoundValues()
Return the provided encoded bound values
OR extract the raw bound values from a given entity
and encode them
|
protected CassandraOptions |
getOptions() |
String |
getStatementAsString()
Generate the statement as plain text
|
protected FindWithOptions<ENTITY> |
getThis() |
info.archinnov.achilles.type.tuples.Tuple2<ENTITY,ExecutionInfo> |
getWithStats() |
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, waitextractCauseFromExecutionExceptionpublic FindWithOptions(Class<ENTITY> entityClass, AbstractEntityProperty<ENTITY> meta, RuntimeEngine rte, Object[] primaryKeyValues, Object[] encodedPrimaryKeyValues, Optional<CassandraOptions> cassandraOptions)
public ENTITY get()
public info.archinnov.achilles.type.tuples.Tuple2<ENTITY,ExecutionInfo> getWithStats()
public CompletableFuture<ENTITY> getAsync()
public CompletableFuture<info.archinnov.achilles.type.tuples.Tuple2<ENTITY,ExecutionInfo>> getAsyncWithStats()
protected CassandraOptions getOptions()
getOptions in class AbstractOptionsForSelect<FindWithOptions<ENTITY>>public BoundStatement generateAndGetBoundStatement()
StatementProvidergenerateAndGetBoundStatement in interface StatementProviderpublic String getStatementAsString()
StatementProvidergetStatementAsString in interface StatementProviderpublic List<Object> getBoundValues()
StatementProvidergetBoundValues in interface StatementProviderpublic List<Object> getEncodedBoundValues()
StatementProvidergetEncodedBoundValues in interface StatementProviderprotected FindWithOptions<ENTITY> getThis()
getThis in class AbstractOptionsForSelect<FindWithOptions<ENTITY>>Copyright © 2012-2021. All Rights Reserved.