public abstract class AbstractDeleteEnd<T extends AbstractDeleteEnd<T,ENTITY>,ENTITY> extends AbstractOptionsForUpdateOrDelete<T> implements MutationAction, StatementProvider
| Modifier and Type | Field and Description |
|---|---|
protected CassandraOptions |
cassandraOptions |
protected com.datastax.driver.core.querybuilder.Delete.Where |
where |
lwtResultListeners| Modifier | Constructor and Description |
|---|---|
protected |
AbstractDeleteEnd(com.datastax.driver.core.querybuilder.Delete.Where where,
CassandraOptions cassandraOptions) |
| Modifier and Type | Method and Description |
|---|---|
CompletableFuture<ExecutionInfo> |
executeAsyncWithStats()
Execute the INSERT/UPDATE/DELETE action asynchronously
and return a
CompletableFuture
of ExecutionInfo object. |
BoundStatement |
generateAndGetBoundStatement()
1.
|
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 abstract AbstractEntityProperty<ENTITY> |
getMetaInternal() |
protected abstract RuntimeEngine |
getRte() |
String |
getStatementAsString()
Generate the statement as plain text
|
T |
ifExists() |
T |
ifExists(boolean ifExists) |
usingTimestamp, withLwtResultListener, withLwtResultListenersgetOptions, 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, waitexecute, executeAsync, executeWithStatsextractCauseFromExecutionExceptionprotected final com.datastax.driver.core.querybuilder.Delete.Where where
protected final CassandraOptions cassandraOptions
protected AbstractDeleteEnd(com.datastax.driver.core.querybuilder.Delete.Where where, CassandraOptions cassandraOptions)
protected abstract AbstractEntityProperty<ENTITY> getMetaInternal()
protected abstract RuntimeEngine getRte()
public T ifExists(boolean ifExists)
public T ifExists()
public CompletableFuture<ExecutionInfo> executeAsyncWithStats()
MutationActionCompletableFuture
of ExecutionInfo object.executeAsyncWithStats in interface MutationActionpublic 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 StatementProviderCopyright © 2012-2021. All Rights Reserved.