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 voidCQLStatement. authorize(ClientState state)Perform any access verification necessary for the statement.static UntypedResultSetUntypedResultSet. 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 CQLStatementQueryProcessor. getStatement(java.lang.String queryStr, ClientState clientState)static QueryHandler.PreparedQueryProcessor. parseAndPrepare(java.lang.String query, ClientState clientState, boolean isInternal)static CQLStatementQueryProcessor. parseStatement(java.lang.String queryStr, ClientState clientState)abstract CQLStatementCQLStatement.Raw. prepare(ClientState state)ResultMessage.PreparedCustomPayloadMirroringQueryHandler. prepare(java.lang.String query, ClientState clientState, java.util.Map<java.lang.String,java.nio.ByteBuffer> customPayload)ResultMessage.PreparedQueryHandler. prepare(java.lang.String query, ClientState clientState, java.util.Map<java.lang.String,java.nio.ByteBuffer> customPayload)ResultMessage.PreparedQueryProcessor. 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.PreparedQueryProcessor. prepare(java.lang.String query, ClientState clientState, java.util.Map<java.lang.String,java.nio.ByteBuffer> customPayload)voidCQLStatement. 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 voidAlterRoleStatement. authorize(ClientState state)voidBatchStatement. authorize(ClientState state)voidCreateRoleStatement. authorize(ClientState state)voidDescribeStatement. authorize(ClientState state)voidDropRoleStatement. authorize(ClientState state)voidListPermissionsStatement. authorize(ClientState state)voidListRolesStatement. authorize(ClientState state)voidModificationStatement. authorize(ClientState state)voidPermissionsManagementStatement. authorize(ClientState state)voidRoleManagementStatement. authorize(ClientState state)voidSelectStatement. authorize(ClientState state)voidTruncateStatement. authorize(ClientState state)voidUseStatement. authorize(ClientState state)voidAuthenticationStatement. 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)ResultMessageAlterRoleStatement. execute(ClientState state)abstract ResultMessageAuthenticationStatement. execute(ClientState state)abstract ResultMessageAuthorizationStatement. execute(ClientState state)ResultMessageCreateRoleStatement. execute(ClientState state)ResultMessageDropRoleStatement. execute(ClientState state)ResultMessageGrantPermissionsStatement. execute(ClientState state)ResultMessageGrantRoleStatement. execute(ClientState state)ResultMessageListPermissionsStatement. execute(ClientState state)ResultMessageListRolesStatement. execute(ClientState state)ResultMessageRevokePermissionsStatement. execute(ClientState state)ResultMessageRevokeRoleStatement. execute(ClientState state)static IResourceAuthorizationStatement. 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 theResultMetadataAuthenticationStatementAuthenticationStatement. prepare(ClientState state)AuthorizationStatementAuthorizationStatement. prepare(ClientState state)BatchStatementBatchStatement.Parsed. prepare(ClientState state)CQLStatementDescribeStatement. prepare(ClientState clientState)ModificationStatementModificationStatement.Parsed. prepare(ClientState state)SelectStatementSelectStatement.RawStatement. prepare(ClientState state)TruncateStatementTruncateStatement. prepare(ClientState state)UseStatementUseStatement. prepare(ClientState state)voidBatchStatement.Parsed. setKeyspace(ClientState state)voidQualifiedStatement. setKeyspace(ClientState state)voidAlterRoleStatement. validate(ClientState state)voidBatchStatement. validate(ClientState state)voidCreateRoleStatement. validate(ClientState state)voidDescribeStatement. validate(ClientState state)voidDropRoleStatement. validate(ClientState state)voidListPermissionsStatement. validate(ClientState state)voidListRolesStatement. validate(ClientState state)voidModificationStatement. validate(ClientState state)voidPermissionsManagementStatement. validate(ClientState state)voidRoleManagementStatement. validate(ClientState state)voidSelectStatement. validate(ClientState state)voidTruncateStatement. validate(ClientState state)voidUseStatement. 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 voidAlterKeyspaceStatement. authorize(ClientState client)voidAlterTableStatement. authorize(ClientState client)voidAlterTypeStatement. authorize(ClientState client)voidAlterViewStatement. authorize(ClientState client)voidCreateAggregateStatement. authorize(ClientState client)voidCreateFunctionStatement. authorize(ClientState client)voidCreateIndexStatement. authorize(ClientState client)voidCreateKeyspaceStatement. authorize(ClientState client)voidCreateTableStatement. authorize(ClientState client)voidCreateTriggerStatement. authorize(ClientState client)voidCreateTypeStatement. authorize(ClientState client)voidCreateViewStatement. authorize(ClientState client)voidDropAggregateStatement. authorize(ClientState client)voidDropFunctionStatement. authorize(ClientState client)voidDropIndexStatement. authorize(ClientState client)voidDropKeyspaceStatement. authorize(ClientState client)voidDropTableStatement. authorize(ClientState client)voidDropTriggerStatement. authorize(ClientState client)voidDropTypeStatement. authorize(ClientState client)voidDropViewStatement. authorize(ClientState client)AlterKeyspaceStatementAlterKeyspaceStatement.Raw. prepare(ClientState state)AlterTableStatementAlterTableStatement.Raw. prepare(ClientState state)AlterTypeStatementAlterTypeStatement.Raw. prepare(ClientState state)AlterViewStatementAlterViewStatement.Raw. prepare(ClientState state)CreateAggregateStatementCreateAggregateStatement.Raw. prepare(ClientState state)CreateFunctionStatementCreateFunctionStatement.Raw. prepare(ClientState state)CreateIndexStatementCreateIndexStatement.Raw. prepare(ClientState state)CreateKeyspaceStatementCreateKeyspaceStatement.Raw. prepare(ClientState state)CreateTableStatementCreateTableStatement.Raw. prepare(ClientState state)CreateTriggerStatementCreateTriggerStatement.Raw. prepare(ClientState state)CreateTypeStatementCreateTypeStatement.Raw. prepare(ClientState state)CreateViewStatementCreateViewStatement.Raw. prepare(ClientState state)DropAggregateStatementDropAggregateStatement.Raw. prepare(ClientState state)DropFunctionStatementDropFunctionStatement.Raw. prepare(ClientState state)DropIndexStatementDropIndexStatement.Raw. prepare(ClientState state)DropKeyspaceStatementDropKeyspaceStatement.Raw. prepare(ClientState state)DropTableStatementDropTableStatement.Raw. prepare(ClientState state)DropTriggerStatementDropTriggerStatement.Raw. prepare(ClientState state)DropTypeStatementDropTypeStatement.Raw. prepare(ClientState state)DropViewStatementDropViewStatement.Raw. prepare(ClientState state)voidAlterSchemaStatement. 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 PartitionIteratorPartitionRangeReadCommand. execute(ConsistencyLevel consistency, ClientState clientState, long queryStartNanoTime)PartitionIteratorReadQuery. execute(ConsistencyLevel consistency, ClientState clientState, long queryStartNanoTime)Executes the query at the provided consistency level.PartitionIteratorSinglePartitionReadCommand. execute(ConsistencyLevel consistency, ClientState clientState, long queryStartNanoTime)PartitionIteratorSinglePartitionReadCommand.Group. execute(ConsistencyLevel consistency, ClientState clientState, long queryStartNanoTime)PartitionIteratorVirtualTableReadQuery. execute(ConsistencyLevel consistency, ClientState clientState, long queryStartNanoTime)PartitionIteratorVirtualTableSinglePartitionReadQuery.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 ClientStateClientState. cloneWithKeyspaceIfSet(java.lang.String keyspace)Clone this ClientState object, but use the provided keyspace instead of the keyspace in this ClientState object.static ClientStateClientState. forExternalCalls(java.net.SocketAddress remoteAddress)static ClientStateClientState. forInternalCalls()static ClientStateClientState. forInternalCalls(java.lang.String keyspace)ClientStateQueryState. getClientState()Methods in org.apache.cassandra.service with parameters of type ClientState Modifier and Type Method Description static RowIteratorStorageProxy. 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 PartitionIteratorStorageProxy. 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 RowIteratorStorageProxy. 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 PartitionIteratorAggregationQueryPager. fetchPage(int pageSize, ConsistencyLevel consistency, ClientState clientState, long queryStartNanoTime)PartitionIteratorMultiPartitionPager. fetchPage(int pageSize, ConsistencyLevel consistency, ClientState clientState, long queryStartNanoTime)PartitionIteratorQueryPager. 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 ClientStateServerConnection. getClientState()
-