public abstract class RegularStatement extends Statement
This class represents a query string along with query options (and optionally
binary values, see getValues
). It can be extended but SimpleStatement
is provided as a simple implementation to build a RegularStatement
directly
from its query string.
Constructor and Description |
---|
RegularStatement() |
Modifier and Type | Method and Description |
---|---|
abstract String |
getQueryString()
Returns the query string for this statement.
|
abstract ByteBuffer[] |
getValues()
The values to use for this statement.
|
String |
toString() |
disableTracing, enableTracing, getConsistencyLevel, getFetchSize, getKeyspace, getRetryPolicy, getRoutingKey, getSerialConsistencyLevel, isTracing, setConsistencyLevel, setFetchSize, setRetryPolicy, setSerialConsistencyLevel
public abstract String getQueryString()
public abstract ByteBuffer[] getValues()
null
if there is
no such values.SimpleStatement.SimpleStatement(String, Object...)
Copyright © 2013. All rights reserved.