|
||||||||||
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. |
ResultMessage |
execute(ConsistencyLevel cl,
QueryState state,
java.util.List<java.nio.ByteBuffer> variables)
Execute the statement and return the resulting result or null if there is no result. |
ResultMessage |
executeInternal(QueryState state)
Variante of execute used for internal query against the system tables, and thus only query the local node. |
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 UnauthorizedException, InvalidRequestException
state
- the current client state
UnauthorizedException
InvalidRequestException
void validate(ClientState state) throws RequestValidationException
state
- the current client state
RequestValidationException
ResultMessage execute(ConsistencyLevel cl, QueryState state, java.util.List<java.nio.ByteBuffer> variables) throws RequestValidationException, RequestExecutionException
state
- the current query statevariables
- the values for bounded variables. The implementation
can assume that each bound term have a corresponding value.
RequestValidationException
RequestExecutionException
ResultMessage executeInternal(QueryState state) throws RequestValidationException, RequestExecutionException
state
- the current query state
RequestValidationException
RequestExecutionException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |