Uses of Class
org.apache.cassandra.service.ClientState
-
-
Uses of ClientState in org.apache.cassandra.cql3
Methods in org.apache.cassandra.cql3 with parameters of type ClientState Modifier and Type Method Description void
CQLStatement. authorize(ClientState state)
Perform any access verification necessary for the statement.static UntypedResultSet
UntypedResultSet. create(SelectStatement select, ConsistencyLevel cl, ClientState clientState, QueryPager pager, int pageSize)
This method is intended for testing purposes, since it executes query on cluster and not on the local node only.static CQLStatement
QueryProcessor. getStatement(java.lang.String queryStr, ClientState clientState)
static QueryHandler.Prepared
QueryProcessor. parseAndPrepare(java.lang.String query, ClientState clientState, boolean isInternal)
static CQLStatement
QueryProcessor. parseStatement(java.lang.String queryStr, ClientState clientState)
abstract CQLStatement
CQLStatement.Raw. prepare(ClientState state)
ResultMessage.Prepared
CustomPayloadMirroringQueryHandler. prepare(java.lang.String query, ClientState clientState, java.util.Map<java.lang.String,java.nio.ByteBuffer> customPayload)
ResultMessage.Prepared
QueryHandler. prepare(java.lang.String query, ClientState clientState, java.util.Map<java.lang.String,java.nio.ByteBuffer> customPayload)
ResultMessage.Prepared
QueryProcessor. prepare(java.lang.String queryString, ClientState clientState)
This method got slightly out of hand, but this is with best intentions: to allow users to be upgraded from any prior version, and help implementers avoid previous mistakes by clearly separating fully qualified and non-fully qualified statement behaviour.ResultMessage.Prepared
QueryProcessor. prepare(java.lang.String query, ClientState clientState, java.util.Map<java.lang.String,java.nio.ByteBuffer> customPayload)
void
CQLStatement. validate(ClientState state)
Perform additional validation required by the statment. -
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 Description void
AlterRoleStatement. authorize(ClientState state)
void
BatchStatement. authorize(ClientState state)
void
CreateRoleStatement. authorize(ClientState state)
void
DescribeStatement. authorize(ClientState state)
void
DropRoleStatement. authorize(ClientState state)
void
ListPermissionsStatement. authorize(ClientState state)
void
ListRolesStatement. authorize(ClientState state)
void
ModificationStatement. authorize(ClientState state)
void
PermissionsManagementStatement. authorize(ClientState state)
void
RoleManagementStatement. authorize(ClientState state)
void
SelectStatement. authorize(ClientState state)
void
TruncateStatement. authorize(ClientState state)
void
UseStatement. authorize(ClientState state)
void
AuthenticationStatement. checkPermission(ClientState state, Permission required, RoleResource resource)
protected abstract java.util.stream.Stream<? extends T>
DescribeStatement. describe(ClientState state, Keyspaces keyspaces)
Returns the schema elements that must be part of the output.protected java.util.stream.Stream<? extends SchemaElement>
DescribeStatement.Element. describe(ClientState state, Keyspaces keyspaces)
protected java.util.stream.Stream<? extends SchemaElement>
DescribeStatement.Listing. describe(ClientState state, Keyspaces keyspaces)
ResultMessage
AlterRoleStatement. execute(ClientState state)
abstract ResultMessage
AuthenticationStatement. execute(ClientState state)
abstract ResultMessage
AuthorizationStatement. execute(ClientState state)
ResultMessage
CreateRoleStatement. execute(ClientState state)
ResultMessage
DropRoleStatement. execute(ClientState state)
ResultMessage
GrantPermissionsStatement. execute(ClientState state)
ResultMessage
GrantRoleStatement. execute(ClientState state)
ResultMessage
ListPermissionsStatement. execute(ClientState state)
ResultMessage
ListRolesStatement. execute(ClientState state)
ResultMessage
RevokePermissionsStatement. execute(ClientState state)
ResultMessage
RevokeRoleStatement. execute(ClientState state)
static IResource
AuthorizationStatement. maybeCorrectResource(IResource resource, ClientState state)
protected java.util.List<ColumnSpecification>
DescribeStatement.Element. metadata(ClientState state)
protected java.util.List<ColumnSpecification>
DescribeStatement.Listing. metadata(ClientState state)
protected abstract java.util.List<ColumnSpecification>
DescribeStatement. metadata(ClientState state)
Returns the columns of theResultMetadata
AuthenticationStatement
AuthenticationStatement. prepare(ClientState state)
AuthorizationStatement
AuthorizationStatement. prepare(ClientState state)
BatchStatement
BatchStatement.Parsed. prepare(ClientState state)
CQLStatement
DescribeStatement. prepare(ClientState clientState)
ModificationStatement
ModificationStatement.Parsed. prepare(ClientState state)
SelectStatement
SelectStatement.RawStatement. prepare(ClientState state)
TruncateStatement
TruncateStatement. prepare(ClientState state)
UseStatement
UseStatement. prepare(ClientState state)
void
BatchStatement.Parsed. setKeyspace(ClientState state)
void
QualifiedStatement. setKeyspace(ClientState state)
void
AlterRoleStatement. validate(ClientState state)
void
BatchStatement. validate(ClientState state)
void
CreateRoleStatement. validate(ClientState state)
void
DescribeStatement. validate(ClientState state)
void
DropRoleStatement. validate(ClientState state)
void
ListPermissionsStatement. validate(ClientState state)
void
ListRolesStatement. validate(ClientState state)
void
ModificationStatement. validate(ClientState state)
void
PermissionsManagementStatement. validate(ClientState state)
void
RoleManagementStatement. 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.cql3.statements.schema
Methods in org.apache.cassandra.cql3.statements.schema with parameters of type ClientState Modifier and Type Method Description void
AlterKeyspaceStatement. authorize(ClientState client)
void
AlterTableStatement. authorize(ClientState client)
void
AlterTypeStatement. authorize(ClientState client)
void
AlterViewStatement. authorize(ClientState client)
void
CreateAggregateStatement. authorize(ClientState client)
void
CreateFunctionStatement. authorize(ClientState client)
void
CreateIndexStatement. authorize(ClientState client)
void
CreateKeyspaceStatement. authorize(ClientState client)
void
CreateTableStatement. authorize(ClientState client)
void
CreateTriggerStatement. authorize(ClientState client)
void
CreateTypeStatement. authorize(ClientState client)
void
CreateViewStatement. authorize(ClientState client)
void
DropAggregateStatement. authorize(ClientState client)
void
DropFunctionStatement. authorize(ClientState client)
void
DropIndexStatement. authorize(ClientState client)
void
DropKeyspaceStatement. authorize(ClientState client)
void
DropTableStatement. authorize(ClientState client)
void
DropTriggerStatement. authorize(ClientState client)
void
DropTypeStatement. authorize(ClientState client)
void
DropViewStatement. authorize(ClientState client)
AlterKeyspaceStatement
AlterKeyspaceStatement.Raw. prepare(ClientState state)
AlterTableStatement
AlterTableStatement.Raw. prepare(ClientState state)
AlterTypeStatement
AlterTypeStatement.Raw. prepare(ClientState state)
AlterViewStatement
AlterViewStatement.Raw. prepare(ClientState state)
CreateAggregateStatement
CreateAggregateStatement.Raw. prepare(ClientState state)
CreateFunctionStatement
CreateFunctionStatement.Raw. prepare(ClientState state)
CreateIndexStatement
CreateIndexStatement.Raw. prepare(ClientState state)
CreateKeyspaceStatement
CreateKeyspaceStatement.Raw. prepare(ClientState state)
CreateTableStatement
CreateTableStatement.Raw. prepare(ClientState state)
CreateTriggerStatement
CreateTriggerStatement.Raw. prepare(ClientState state)
CreateTypeStatement
CreateTypeStatement.Raw. prepare(ClientState state)
CreateViewStatement
CreateViewStatement.Raw. prepare(ClientState state)
DropAggregateStatement
DropAggregateStatement.Raw. prepare(ClientState state)
DropFunctionStatement
DropFunctionStatement.Raw. prepare(ClientState state)
DropIndexStatement
DropIndexStatement.Raw. prepare(ClientState state)
DropKeyspaceStatement
DropKeyspaceStatement.Raw. prepare(ClientState state)
DropTableStatement
DropTableStatement.Raw. prepare(ClientState state)
DropTriggerStatement
DropTriggerStatement.Raw. prepare(ClientState state)
DropTypeStatement
DropTypeStatement.Raw. prepare(ClientState state)
DropViewStatement
DropViewStatement.Raw. prepare(ClientState state)
void
AlterSchemaStatement. validate(ClientState state)
-
Uses of ClientState in org.apache.cassandra.db
Methods in org.apache.cassandra.db with parameters of type ClientState Modifier and Type Method Description PartitionIterator
PartitionRangeReadCommand. execute(ConsistencyLevel consistency, ClientState clientState, long queryStartNanoTime)
PartitionIterator
ReadQuery. execute(ConsistencyLevel consistency, ClientState clientState, long queryStartNanoTime)
Executes the query at the provided consistency level.PartitionIterator
SinglePartitionReadCommand. execute(ConsistencyLevel consistency, ClientState clientState, long queryStartNanoTime)
PartitionIterator
SinglePartitionReadCommand.Group. execute(ConsistencyLevel consistency, ClientState clientState, long queryStartNanoTime)
PartitionIterator
VirtualTableReadQuery. execute(ConsistencyLevel consistency, ClientState clientState, long queryStartNanoTime)
PartitionIterator
VirtualTableSinglePartitionReadQuery.Group. execute(ConsistencyLevel consistency, ClientState clientState, long queryStartNanoTime)
-
Uses of ClientState in org.apache.cassandra.service
Methods in org.apache.cassandra.service that return ClientState Modifier and Type Method Description ClientState
ClientState. cloneWithKeyspaceIfSet(java.lang.String keyspace)
Clone this ClientState object, but use the provided keyspace instead of the keyspace in this ClientState object.static ClientState
ClientState. forExternalCalls(java.net.SocketAddress remoteAddress)
static ClientState
ClientState. forInternalCalls()
static ClientState
ClientState. forInternalCalls(java.lang.String keyspace)
ClientState
QueryState. getClientState()
Methods in org.apache.cassandra.service with parameters of type ClientState Modifier and Type Method Description static RowIterator
StorageProxy. cas(java.lang.String keyspaceName, java.lang.String cfName, DecoratedKey key, CASRequest request, ConsistencyLevel consistencyForPaxos, ConsistencyLevel consistencyForCommit, ClientState state, int nowInSeconds, long queryStartNanoTime)
Apply @param updates if and only if the current values in the row for @param key match the provided @param conditions.static PartitionIterator
StorageProxy. read(SinglePartitionReadCommand.Group group, ConsistencyLevel consistencyLevel, ClientState state, long queryStartNanoTime)
Performs the actual reading of a row out of the StorageService, fetching a specific set of column names from a given column family.static RowIterator
StorageProxy. readOne(SinglePartitionReadCommand command, ConsistencyLevel consistencyLevel, ClientState state, long queryStartNanoTime)
Constructors in org.apache.cassandra.service with parameters of type ClientState Constructor Description ClientState(ClientState source)
QueryState(ClientState clientState)
QueryState(ClientState clientState, long timestamp, int nowInSeconds)
-
Uses of ClientState in org.apache.cassandra.service.pager
Methods in org.apache.cassandra.service.pager with parameters of type ClientState Modifier and Type Method Description PartitionIterator
AggregationQueryPager. fetchPage(int pageSize, ConsistencyLevel consistency, ClientState clientState, long queryStartNanoTime)
PartitionIterator
MultiPartitionPager. fetchPage(int pageSize, ConsistencyLevel consistency, ClientState clientState, long queryStartNanoTime)
PartitionIterator
QueryPager. fetchPage(int pageSize, ConsistencyLevel consistency, ClientState clientState, long queryStartNanoTime)
Fetches the next page.Constructors in org.apache.cassandra.service.pager with parameters of type ClientState Constructor Description AggregationPartitionIterator(int pageSize, ConsistencyLevel consistency, ClientState clientState, long queryStartNanoTime)
GroupByPartitionIterator(int pageSize, ConsistencyLevel consistency, ClientState clientState, long queryStartNanoTime)
-
Uses of ClientState in org.apache.cassandra.transport
Methods in org.apache.cassandra.transport that return ClientState Modifier and Type Method Description ClientState
ServerConnection. getClientState()
-