## Uses of Class
org.apache.cassandra.service.ClientState

Packages that use ClientState
Package | Description
--- | ---
org.apache.cassandra.cql3 |
org.apache.cassandra.cql3.hooks |
org.apache.cassandra.cql3.statements |
org.apache.cassandra.service |
org.apache.cassandra.thrift |

### Uses of ClientState in org.apache.cassandra.cql3

Methods in org.apache.cassandra.cql3 with parameters of type ClientState
Modifier and Type | Method and Description
--- | ---
`void` | CQLStatement.`checkAccess(ClientState state)` Perform any access verification necessary for the statement.
`static ParsedStatement.Prepared` | QueryProcessor.`getStatement(java.lang.String queryStr, ClientState clientState)`
`static ResultMessage.Prepared` | QueryProcessor.`prepare(java.lang.String queryString, ClientState clientState, boolean forThrift)`
`void` | CQLStatement.`validate(ClientState state)` Perform additional validation required by the statment.

### Uses of ClientState in org.apache.cassandra.cql3.hooks

Fields in org.apache.cassandra.cql3.hooks declared as ClientState
Modifier and Type | Field and Description
--- | ---
`ClientState` | PreparationContext.`clientState`

Constructors in org.apache.cassandra.cql3.hooks with parameters of type ClientState
Constructor and Description
`PreparationContext(ClientState clientState, java.lang.String queryString, java.util.List<ColumnSpecification> boundNames)`

### Uses of ClientState in org.apache.cassandra.cql3.statements

Methods in org.apache.cassandra.cql3.statements with parameters of type ClientState
Modifier and Type | Method and Description
--- | ---
`void` | AlterKeyspaceStatement.`checkAccess(ClientState state)`
`void` | AlterTableStatement.`checkAccess(ClientState state)`
`void` | AlterUserStatement.`checkAccess(ClientState state)`
`void` | BatchStatement.`checkAccess(ClientState state)`
`void` | CreateIndexStatement.`checkAccess(ClientState state)`
`void` | CreateKeyspaceStatement.`checkAccess(ClientState state)`
`void` | CreateTableStatement.`checkAccess(ClientState state)`
`void` | CreateTableStatement.RawStatement.`checkAccess(ClientState state)`
`void` | CreateTriggerStatement.`checkAccess(ClientState state)`
`void` | CreateUserStatement.`checkAccess(ClientState state)`
`void` | DropIndexStatement.`checkAccess(ClientState state)`
`void` | DropKeyspaceStatement.`checkAccess(ClientState state)`
`void` | DropTableStatement.`checkAccess(ClientState state)`
`void` | DropTriggerStatement.`checkAccess(ClientState state)`
`void` | DropUserStatement.`checkAccess(ClientState state)`
`void` | ListPermissionsStatement.`checkAccess(ClientState state)`
`void` | ListUsersStatement.`checkAccess(ClientState state)`
`void` | ModificationStatement.`checkAccess(ClientState state)`
`void` | PermissionAlteringStatement.`checkAccess(ClientState state)`
`void` | SelectStatement.`checkAccess(ClientState state)`
`void` | TruncateStatement.`checkAccess(ClientState state)`
`void` | UseStatement.`checkAccess(ClientState state)`
`ResultMessage` | AlterUserStatement.`execute(ClientState state)`
`abstract ResultMessage` | AuthenticationStatement.`execute(ClientState state)`
`abstract ResultMessage` | AuthorizationStatement.`execute(ClientState state)`
`ResultMessage` | CreateUserStatement.`execute(ClientState state)`
`ResultMessage` | DropUserStatement.`execute(ClientState state)`
`ResultMessage` | GrantStatement.`execute(ClientState state)`
`ResultMessage` | ListPermissionsStatement.`execute(ClientState state)`
`ResultMessage` | ListUsersStatement.`execute(ClientState state)`
`ResultMessage` | RevokeStatement.`execute(ClientState state)`
`CqlResult` | CreateTableStatement.RawStatement.`execute(ClientState state, java.util.List<java.nio.ByteBuffer> variables)`
`static DataResource` | AuthorizationStatement.`maybeCorrectResource(DataResource resource, ClientState state)`
`void` | BatchStatement.Parsed.`prepareKeyspace(ClientState state)`
`void` | CFStatement.`prepareKeyspace(ClientState state)`
`void` | SchemaAlteringStatement.`prepareKeyspace(ClientState state)`
`void` | AlterKeyspaceStatement.`validate(ClientState state)`
`void` | AlterTableStatement.`validate(ClientState state)`
`void` | AlterUserStatement.`validate(ClientState state)`
`void` | BatchStatement.`validate(ClientState state)`
`void` | CreateIndexStatement.`validate(ClientState state)`
`void` | CreateKeyspaceStatement.`validate(ClientState state)` The `CqlParser` only goes as far as extracting the keyword arguments from these statements, so this method is responsible for processing and validating.
`void` | CreateTableStatement.`validate(ClientState state)`
`void` | CreateTriggerStatement.`validate(ClientState state)`
`void` | CreateUserStatement.`validate(ClientState state)`
`void` | DropIndexStatement.`validate(ClientState state)`
`void` | DropKeyspaceStatement.`validate(ClientState state)`
`void` | DropTableStatement.`validate(ClientState state)`
`void` | DropTriggerStatement.`validate(ClientState state)`
`void` | DropUserStatement.`validate(ClientState state)`
`void` | ListPermissionsStatement.`validate(ClientState state)`
`void` | ListUsersStatement.`validate(ClientState state)`
`void` | ModificationStatement.`validate(ClientState state)`
`void` | PermissionAlteringStatement.`validate(ClientState state)`
`void` | SelectStatement.`validate(ClientState state)`
`void` | TruncateStatement.`validate(ClientState state)`
`void` | UseStatement.`validate(ClientState state)`

### Uses of ClientState in org.apache.cassandra.service

Methods in org.apache.cassandra.service that return ClientState
Modifier and Type | Method and Description
--- | ---
`static ClientState` | ClientState.`forExternalCalls(java.net.SocketAddress remoteAddress)`
`static ClientState` | ClientState.`forInternalCalls()`
`ClientState` | QueryState.`getClientState()`

Constructors in org.apache.cassandra.service with parameters of type ClientState
Constructor and Description
`QueryState(ClientState clientState)`

### Uses of ClientState in org.apache.cassandra.thrift

Subclasses of ClientState in org.apache.cassandra.thrift
Modifier and Type | Class and Description
--- | ---
`class` | `ThriftClientState` ClientState used by thrift that also provide a QueryState.