public class DeleteByPartitionWithOptions<ENTITY> extends AbstractOptionsForUpdateOrDelete<DeleteByPartitionWithOptions<ENTITY>> implements MutationAction, StatementProvider
lwtResultListeners| Constructor and Description |
|---|
DeleteByPartitionWithOptions(AbstractEntityProperty<ENTITY> meta,
RuntimeEngine rte,
Object[] partitionKeys,
Object[] encodedPartitionKeys,
Optional<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
|
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 DeleteByPartitionWithOptions<ENTITY> |
getThis() |
usingTimestamp, withLwtResultListener, withLwtResultListenersisIdempotent, 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, executeWithStatsextractCauseFromExecutionExceptionpublic DeleteByPartitionWithOptions(AbstractEntityProperty<ENTITY> meta, RuntimeEngine rte, Object[] partitionKeys, Object[] encodedPartitionKeys, Optional<CassandraOptions> cassandraOptions)
public CompletableFuture<ExecutionInfo> executeAsyncWithStats()
MutationActionCompletableFuture
of ExecutionInfo object.executeAsyncWithStats in interface MutationActionprotected CassandraOptions getOptions()
getOptions in class AbstractOptionsForSelect<DeleteByPartitionWithOptions<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 DeleteByPartitionWithOptions<ENTITY> getThis()
getThis in class AbstractOptionsForSelect<DeleteByPartitionWithOptions<ENTITY>>Copyright © 2012-2021. All Rights Reserved.