public interface IdempotenceAwarePreparedStatement extends PreparedStatement
PreparedStatement interface in order to prevent breaking
binary compatibility. This interface is removed in versions 3.x of the driver and the methods
are directly available from the PreparedStatement interface.| Modifier and Type | Method and Description |
|---|---|
Boolean |
isIdempotent()
Whether this statement is idempotent, i.e.
|
PreparedStatement |
setIdempotent(Boolean idempotent)
Sets whether this statement is idempotent.
|
bind, bind, disableTracing, enableTracing, getConsistencyLevel, getPreparedId, getQueryKeyspace, getQueryString, getRetryPolicy, getRoutingKey, getSerialConsistencyLevel, getVariables, isTracing, setConsistencyLevel, setRetryPolicy, setRoutingKey, setRoutingKey, setSerialConsistencyLevelPreparedStatement setIdempotent(Boolean idempotent)
Statement.isIdempotent() for more explanations about this property.idempotent - the new value.IdempotenceAwarePreparedStatement object.Boolean isIdempotent()
Statement.isIdempotent() for more explanations about this property.
Please note that idempotence will be propagated to all BoundStatements created from this prepared statement.null to use
QueryOptions.getDefaultIdempotence().