|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.cassandra.cql3.statements.ParsedStatement
org.apache.cassandra.cql3.statements.UseStatement
public class UseStatement
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class org.apache.cassandra.cql3.statements.ParsedStatement |
|---|
ParsedStatement.Prepared |
| Constructor Summary | |
|---|---|
UseStatement(java.lang.String keyspace)
|
|
| Method Summary | |
|---|---|
void |
checkAccess(ClientState state)
Perform any access verification necessary for the statement. |
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. |
ParsedStatement.Prepared |
prepare()
|
void |
validate(ClientState state)
Perform additional validation required by the statment. |
| Methods inherited from class org.apache.cassandra.cql3.statements.ParsedStatement |
|---|
getBoundsTerms, setBoundTerms |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.apache.cassandra.cql3.CQLStatement |
|---|
getBoundsTerms |
| Constructor Detail |
|---|
public UseStatement(java.lang.String keyspace)
| Method Detail |
|---|
public ParsedStatement.Prepared prepare()
throws InvalidRequestException
prepare in class ParsedStatementInvalidRequestExceptionpublic void checkAccess(ClientState state)
CQLStatement
checkAccess in interface CQLStatementstate - the current client state
public void validate(ClientState state)
throws InvalidRequestException
CQLStatement
validate in interface CQLStatementstate - the current client state
InvalidRequestException
public CqlResult execute(ClientState state,
java.util.List<java.nio.ByteBuffer> variables)
throws InvalidRequestException
CQLStatement
execute in interface CQLStatementstate - the current client statevariables - the values for bounded variables. The implementation
can assume that each bound term have a corresponding value.
InvalidRequestException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||