com.netflix.astyanax.query
Interface PreparedCqlQuery<K,C>

Type Parameters:
K -
C -
All Superinterfaces:
com.netflix.astyanax.Execution<CqlResult<K,C>>
All Known Implementing Classes:
AbstractPreparedCqlQuery

public interface PreparedCqlQuery<K,C>
extends com.netflix.astyanax.Execution<CqlResult<K,C>>

Interface for specifying parameters on a prepared CQL query. Values must be specified in the order that they were defined in the query.


Method Summary
 PreparedCqlQuery<K,C> withBooleanValue(java.lang.Boolean value)
          Set the next parameter value to this Boolean
<V> PreparedCqlQuery<K,C>
withByteBufferValue(V value, Serializer<V> serializer)
          Specify a value of custom type for which a convenience method does not exist
 PreparedCqlQuery<K,C> withDoubleValue(java.lang.Double value)
          Set the next parameter value to this Double
 PreparedCqlQuery<K,C> withFloatValue(java.lang.Float value)
          Set the next parameter value to this Float
 PreparedCqlQuery<K,C> withIntegerValue(java.lang.Integer value)
          Set the next parameter value to this Integer
 PreparedCqlQuery<K,C> withLongValue(java.lang.Long value)
          Set the next parameter value to this Long
 PreparedCqlQuery<K,C> withShortValue(java.lang.Short value)
          Set the next parameter value to this Short
 PreparedCqlQuery<K,C> withStringValue(java.lang.String value)
          Set the next parameter value to this String
 PreparedCqlQuery<K,C> withUUIDValue(java.util.UUID value)
          Set the next parameter value to this Short
 PreparedCqlQuery<K,C> withValue(java.nio.ByteBuffer value)
          Set the next parameter value to this ByteBuffer
 PreparedCqlQuery<K,C> withValues(java.util.List<java.nio.ByteBuffer> value)
          Add a list of ByteBuffer values
 
Methods inherited from interface com.netflix.astyanax.Execution
execute, executeAsync
 

Method Detail

withByteBufferValue

<V> PreparedCqlQuery<K,C> withByteBufferValue(V value,
                                              Serializer<V> serializer)
Specify a value of custom type for which a convenience method does not exist

Parameters:
value -
serializer -

withValue

PreparedCqlQuery<K,C> withValue(java.nio.ByteBuffer value)
Set the next parameter value to this ByteBuffer

Parameters:
value -

withValues

PreparedCqlQuery<K,C> withValues(java.util.List<java.nio.ByteBuffer> value)
Add a list of ByteBuffer values

Parameters:
value -

withStringValue

PreparedCqlQuery<K,C> withStringValue(java.lang.String value)
Set the next parameter value to this String

Parameters:
value -

withIntegerValue

PreparedCqlQuery<K,C> withIntegerValue(java.lang.Integer value)
Set the next parameter value to this Integer

Parameters:
value -

withBooleanValue

PreparedCqlQuery<K,C> withBooleanValue(java.lang.Boolean value)
Set the next parameter value to this Boolean

Parameters:
value -

withDoubleValue

PreparedCqlQuery<K,C> withDoubleValue(java.lang.Double value)
Set the next parameter value to this Double

Parameters:
value -

withLongValue

PreparedCqlQuery<K,C> withLongValue(java.lang.Long value)
Set the next parameter value to this Long

Parameters:
value -

withFloatValue

PreparedCqlQuery<K,C> withFloatValue(java.lang.Float value)
Set the next parameter value to this Float

Parameters:
value -

withShortValue

PreparedCqlQuery<K,C> withShortValue(java.lang.Short value)
Set the next parameter value to this Short

Parameters:
value -

withUUIDValue

PreparedCqlQuery<K,C> withUUIDValue(java.util.UUID value)
Set the next parameter value to this Short

Parameters:
value -