public class DirectCqlPreparedStatement
extends java.lang.Object
implements com.netflix.astyanax.cql.CqlPreparedStatement
CqlPreparedStatement using java driver.
it manages a Session object that is used when actually performing the real query with the
driver underneath.| Constructor and Description |
|---|
DirectCqlPreparedStatement(com.datastax.driver.core.Session session,
com.datastax.driver.core.PreparedStatement pStmt) |
| Modifier and Type | Method and Description |
|---|---|
com.netflix.astyanax.connectionpool.OperationResult<com.netflix.astyanax.cql.CqlStatementResult> |
execute() |
com.google.common.util.concurrent.ListenableFuture<com.netflix.astyanax.connectionpool.OperationResult<com.netflix.astyanax.cql.CqlStatementResult>> |
executeAsync() |
com.datastax.driver.core.PreparedStatement |
getInnerPreparedStatement() |
com.netflix.astyanax.cql.CqlPreparedStatement |
withBooleanValue(java.lang.Boolean value) |
<V> com.netflix.astyanax.cql.CqlPreparedStatement |
withByteBufferValue(V value,
com.netflix.astyanax.Serializer<V> serializer) |
com.netflix.astyanax.cql.CqlPreparedStatement |
withDoubleValue(java.lang.Double value) |
com.netflix.astyanax.cql.CqlPreparedStatement |
withFloatValue(java.lang.Float value) |
com.netflix.astyanax.cql.CqlPreparedStatement |
withIntegerValue(java.lang.Integer value) |
com.netflix.astyanax.cql.CqlPreparedStatement |
withLongValue(java.lang.Long value) |
com.netflix.astyanax.cql.CqlPreparedStatement |
withShortValue(java.lang.Short value) |
com.netflix.astyanax.cql.CqlPreparedStatement |
withStringValue(java.lang.String value) |
com.netflix.astyanax.cql.CqlPreparedStatement |
withUUIDValue(java.util.UUID value) |
com.netflix.astyanax.cql.CqlPreparedStatement |
withValue(java.nio.ByteBuffer value) |
com.netflix.astyanax.cql.CqlPreparedStatement |
withValues(java.util.List<java.nio.ByteBuffer> values) |
public DirectCqlPreparedStatement(com.datastax.driver.core.Session session,
com.datastax.driver.core.PreparedStatement pStmt)
public com.netflix.astyanax.connectionpool.OperationResult<com.netflix.astyanax.cql.CqlStatementResult> execute()
throws com.netflix.astyanax.connectionpool.exceptions.ConnectionException
execute in interface com.netflix.astyanax.Execution<com.netflix.astyanax.cql.CqlStatementResult>com.netflix.astyanax.connectionpool.exceptions.ConnectionExceptionpublic com.google.common.util.concurrent.ListenableFuture<com.netflix.astyanax.connectionpool.OperationResult<com.netflix.astyanax.cql.CqlStatementResult>> executeAsync()
throws com.netflix.astyanax.connectionpool.exceptions.ConnectionException
executeAsync in interface com.netflix.astyanax.Execution<com.netflix.astyanax.cql.CqlStatementResult>com.netflix.astyanax.connectionpool.exceptions.ConnectionExceptionpublic <V> com.netflix.astyanax.cql.CqlPreparedStatement withByteBufferValue(V value,
com.netflix.astyanax.Serializer<V> serializer)
withByteBufferValue in interface com.netflix.astyanax.cql.CqlPreparedStatementpublic com.netflix.astyanax.cql.CqlPreparedStatement withValue(java.nio.ByteBuffer value)
withValue in interface com.netflix.astyanax.cql.CqlPreparedStatementpublic com.netflix.astyanax.cql.CqlPreparedStatement withValues(java.util.List<java.nio.ByteBuffer> values)
withValues in interface com.netflix.astyanax.cql.CqlPreparedStatementpublic com.netflix.astyanax.cql.CqlPreparedStatement withStringValue(java.lang.String value)
withStringValue in interface com.netflix.astyanax.cql.CqlPreparedStatementpublic com.netflix.astyanax.cql.CqlPreparedStatement withIntegerValue(java.lang.Integer value)
withIntegerValue in interface com.netflix.astyanax.cql.CqlPreparedStatementpublic com.netflix.astyanax.cql.CqlPreparedStatement withBooleanValue(java.lang.Boolean value)
withBooleanValue in interface com.netflix.astyanax.cql.CqlPreparedStatementpublic com.netflix.astyanax.cql.CqlPreparedStatement withDoubleValue(java.lang.Double value)
withDoubleValue in interface com.netflix.astyanax.cql.CqlPreparedStatementpublic com.netflix.astyanax.cql.CqlPreparedStatement withLongValue(java.lang.Long value)
withLongValue in interface com.netflix.astyanax.cql.CqlPreparedStatementpublic com.netflix.astyanax.cql.CqlPreparedStatement withFloatValue(java.lang.Float value)
withFloatValue in interface com.netflix.astyanax.cql.CqlPreparedStatementpublic com.netflix.astyanax.cql.CqlPreparedStatement withShortValue(java.lang.Short value)
withShortValue in interface com.netflix.astyanax.cql.CqlPreparedStatementpublic com.netflix.astyanax.cql.CqlPreparedStatement withUUIDValue(java.util.UUID value)
withUUIDValue in interface com.netflix.astyanax.cql.CqlPreparedStatementpublic com.datastax.driver.core.PreparedStatement getInnerPreparedStatement()