|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface CQLStatement
| Method Summary | |
|---|---|
void |
checkAccess(ClientState state)
Perform any access verification necessary for the statement. |
org.apache.cassandra.thrift.CqlResult |
execute(ClientState state,
java.util.List<java.nio.ByteBuffer> variables)
Execute the statement and return the resulting result or null if there is no result. |
int |
getBoundsTerms()
Returns the number of bound terms in this statement. |
void |
validate(ClientState state)
Perform additional validation required by the statment. |
| Method Detail |
|---|
int getBoundsTerms()
void checkAccess(ClientState state)
throws org.apache.cassandra.thrift.InvalidRequestException
state - the current client state
org.apache.cassandra.thrift.InvalidRequestException
void validate(ClientState state)
throws org.apache.cassandra.thrift.InvalidRequestException,
org.apache.cassandra.thrift.SchemaDisagreementException
state - the current client state
org.apache.cassandra.thrift.InvalidRequestException
org.apache.cassandra.thrift.SchemaDisagreementException
org.apache.cassandra.thrift.CqlResult execute(ClientState state,
java.util.List<java.nio.ByteBuffer> variables)
throws org.apache.cassandra.thrift.InvalidRequestException,
org.apache.cassandra.thrift.UnavailableException,
org.apache.cassandra.thrift.TimedOutException,
org.apache.cassandra.thrift.SchemaDisagreementException
state - the current client statevariables - the values for bounded variables. The implementation
can assume that each bound term have a corresponding value.
org.apache.cassandra.thrift.InvalidRequestException
org.apache.cassandra.thrift.UnavailableException
org.apache.cassandra.thrift.TimedOutException
org.apache.cassandra.thrift.SchemaDisagreementException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||