## Uses of Class
org.apache.cassandra.db.ConsistencyLevel

- Packages that use ConsistencyLevel
  Package | Description
  --- | ---
  org.apache.cassandra.auth |
  org.apache.cassandra.cql3 |
  org.apache.cassandra.cql3.statements |
  org.apache.cassandra.db |
  org.apache.cassandra.exceptions |
  org.apache.cassandra.locator |
  org.apache.cassandra.net |
  org.apache.cassandra.service |
  org.apache.cassandra.service.pager |
  org.apache.cassandra.service.paxos |
  org.apache.cassandra.thrift |
  org.apache.cassandra.transport |

- - ### Uses of ConsistencyLevel in org.apache.cassandra.auth

    Methods in org.apache.cassandra.auth that return ConsistencyLevel
    Modifier and Type | Method and Description
    --- | ---
    `protected static ConsistencyLevel` | CassandraRoleManager.`consistencyForRole(java.lang.String role)`

  - ### Uses of ConsistencyLevel in org.apache.cassandra.cql3

    Methods in org.apache.cassandra.cql3 that return ConsistencyLevel
    Modifier and Type | Method and Description
    --- | ---
    `ConsistencyLevel` | BatchQueryOptions.`getConsistency()`
    `abstract ConsistencyLevel` | QueryOptions.`getConsistency()`
    `ConsistencyLevel` | BatchQueryOptions.`getSerialConsistency()`
    `ConsistencyLevel` | QueryOptions.`getSerialConsistency()` Serial consistency for conditional updates.

    Methods in org.apache.cassandra.cql3 with parameters of type ConsistencyLevel
    Modifier and Type | Method and Description
    --- | ---
    `static QueryOptions` | QueryOptions.`create(ConsistencyLevel consistency, java.util.List<java.nio.ByteBuffer> values, boolean skipMetadata, int pageSize, PagingState pagingState, ConsistencyLevel serialConsistency)`
    `static QueryOptions` | QueryOptions.`forInternalCalls(ConsistencyLevel consistency, java.util.List<java.nio.ByteBuffer> values)`
    `static QueryOptions` | QueryOptions.`fromPreV3Batch(ConsistencyLevel consistency)`
    `static QueryOptions` | QueryOptions.`fromProtocolV1(ConsistencyLevel consistency, java.util.List<java.nio.ByteBuffer> values)`
    `static QueryOptions` | QueryOptions.`fromProtocolV2(ConsistencyLevel consistency, java.util.List<java.nio.ByteBuffer> values)`
    `static UntypedResultSet` | QueryProcessor.`process(java.lang.String query, ConsistencyLevel cl)`
    `static UntypedResultSet` | QueryProcessor.`process(java.lang.String query, ConsistencyLevel cl, java.util.List<java.nio.ByteBuffer> values)`
    `static ResultMessage` | QueryProcessor.`process(java.lang.String queryString, ConsistencyLevel cl, QueryState queryState)`

  - ### Uses of ConsistencyLevel in org.apache.cassandra.cql3.statements

    Methods in org.apache.cassandra.cql3.statements with parameters of type ConsistencyLevel
    Modifier and Type | Method and Description
    --- | ---
    `protected java.util.Map<java.nio.ByteBuffer,CQL3Row>` | ModificationStatement.`readRequiredRows(java.util.Collection<java.nio.ByteBuffer> partitionKeys, Composite clusteringPrefix, boolean local, ConsistencyLevel cl)`

  - ### Uses of ConsistencyLevel in org.apache.cassandra.db

    Methods in org.apache.cassandra.db that return ConsistencyLevel
    Modifier and Type | Method and Description
    --- | ---
    `ConsistencyLevel` | CounterMutation.`consistency()`
    `static ConsistencyLevel` | ConsistencyLevel.`fromCode(int code)`
    `static ConsistencyLevel` | ConsistencyLevel.`valueOf(java.lang.String name)` Returns the enum constant of this type with the specified name.
    `static ConsistencyLevel[]` | ConsistencyLevel.`values()` Returns an array containing the constants of this enum type, in the order they are declared.

    Constructors in org.apache.cassandra.db with parameters of type ConsistencyLevel
    Constructor and Description
    `CounterMutation(Mutation mutation, ConsistencyLevel consistency)`

  - ### Uses of ConsistencyLevel in org.apache.cassandra.exceptions

    Fields in org.apache.cassandra.exceptions declared as ConsistencyLevel
    Modifier and Type | Field and Description
    --- | ---
    `ConsistencyLevel` | RequestFailureException.`consistency`
    `ConsistencyLevel` | RequestTimeoutException.`consistency`
    `ConsistencyLevel` | UnavailableException.`consistency`

    Constructors in org.apache.cassandra.exceptions with parameters of type ConsistencyLevel
    Constructor and Description
    `ReadFailureException(ConsistencyLevel consistency, int received, int failures, int blockFor, boolean dataPresent)`
    `ReadTimeoutException(ConsistencyLevel consistency, int received, int blockFor, boolean dataPresent)`
    `RequestFailureException(ExceptionCode code, ConsistencyLevel consistency, int received, int failures, int blockFor)`
    `RequestTimeoutException(ExceptionCode code, ConsistencyLevel consistency, int received, int blockFor)`
    `UnavailableException(ConsistencyLevel consistency, int required, int alive)`
    `UnavailableException(java.lang.String msg, ConsistencyLevel consistency, int required, int alive)`
    `WriteFailureException(ConsistencyLevel consistency, int received, int failures, int blockFor, WriteType writeType)`
    `WriteTimeoutException(WriteType writeType, ConsistencyLevel consistency, int received, int blockFor)`

  - ### Uses of ConsistencyLevel in org.apache.cassandra.locator

    Methods in org.apache.cassandra.locator with parameters of type ConsistencyLevel
    Modifier and Type | Method and Description
    --- | ---
    `<T> AbstractWriteResponseHandler<T>` | AbstractReplicationStrategy.`getWriteResponseHandler(java.util.Collection<java.net.InetAddress> naturalEndpoints, java.util.Collection<java.net.InetAddress> pendingEndpoints, ConsistencyLevel consistency_level, java.lang.Runnable callback, WriteType writeType)`

  - ### Uses of ConsistencyLevel in org.apache.cassandra.net

    Methods in org.apache.cassandra.net with parameters of type ConsistencyLevel
    Modifier and Type | Method and Description
    --- | ---
    `int` | MessagingService.`addCallback(IAsyncCallback cb, MessageOut<?> message, java.net.InetAddress to, long timeout, ConsistencyLevel consistencyLevel, boolean allowHints)`

    Constructors in org.apache.cassandra.net with parameters of type ConsistencyLevel
    Constructor and Description
    `WriteCallbackInfo(java.net.InetAddress target, IAsyncCallback callback, MessageOut message, IVersionedSerializer<?> serializer, ConsistencyLevel consistencyLevel, boolean allowHints)`

  - ### Uses of ConsistencyLevel in org.apache.cassandra.service

    Fields in org.apache.cassandra.service declared as ConsistencyLevel
    Modifier and Type | Field and Description
    --- | ---
    `ConsistencyLevel` | AbstractWriteResponseHandler.`consistencyLevel`

    Methods in org.apache.cassandra.service with parameters of type ConsistencyLevel
    Modifier and Type | Method and Description
    --- | ---
    `void` | StorageProxy.WritePerformer.`apply(IMutation mutation, java.lang.Iterable<java.net.InetAddress> targets, AbstractWriteResponseHandler<IMutation> responseHandler, java.lang.String localDataCenter, ConsistencyLevel consistencyLevel)`
    `static ColumnFamily` | StorageProxy.`cas(java.lang.String keyspaceName, java.lang.String cfName, java.nio.ByteBuffer key, CASRequest request, ConsistencyLevel consistencyForPaxos, ConsistencyLevel consistencyForCommit, ClientState state)` Apply @param updates if and only if the current values in the row for @param key match the provided @param conditions.
    `static java.util.List<Row>` | StorageProxy.`getRangeSlice(AbstractRangeCommand command, ConsistencyLevel consistency_level)`
    `static AbstractReadExecutor` | AbstractReadExecutor.`getReadExecutor(ReadCommand command, ConsistencyLevel consistencyLevel)`
    `static void` | StorageProxy.`mutate(java.util.Collection<? extends IMutation> mutations, ConsistencyLevel consistency_level)` Use this method to have these Mutations applied across all replicas.
    `static void` | StorageProxy.`mutateAtomically(java.util.Collection<Mutation> mutations, ConsistencyLevel consistency_level)` See mutate.
    `static void` | StorageProxy.`mutateWithTriggers(java.util.Collection<? extends IMutation> mutations, ConsistencyLevel consistencyLevel, boolean mutateAtomically)`
    `static AbstractWriteResponseHandler<IMutation>` | StorageProxy.`performWrite(IMutation mutation, ConsistencyLevel consistency_level, java.lang.String localDataCenter, StorageProxy.WritePerformer performer, java.lang.Runnable callback, WriteType writeType)` Perform the write of a mutation given a WritePerformer.
    `static java.util.List<Row>` | StorageProxy.`read(java.util.List<ReadCommand> commands, ConsistencyLevel consistencyLevel)`
    `static java.util.List<Row>` | StorageProxy.`read(java.util.List<ReadCommand> commands, ConsistencyLevel consistencyLevel, ClientState state)` Performs the actual reading of a row out of the StorageService, fetching a specific set of column names from a given column family.

    Constructors in org.apache.cassandra.service with parameters of type ConsistencyLevel
    Constructor and Description
    `AbstractWriteResponseHandler(Keyspace keyspace, java.util.Collection<java.net.InetAddress> naturalEndpoints, java.util.Collection<java.net.InetAddress> pendingEndpoints, ConsistencyLevel consistencyLevel, java.lang.Runnable callback, WriteType writeType)`
    `DatacenterSyncWriteResponseHandler(java.util.Collection<java.net.InetAddress> naturalEndpoints, java.util.Collection<java.net.InetAddress> pendingEndpoints, ConsistencyLevel consistencyLevel, Keyspace keyspace, java.lang.Runnable callback, WriteType writeType)`
    `DatacenterWriteResponseHandler(java.util.Collection<java.net.InetAddress> naturalEndpoints, java.util.Collection<java.net.InetAddress> pendingEndpoints, ConsistencyLevel consistencyLevel, Keyspace keyspace, java.lang.Runnable callback, WriteType writeType)`
    `ReadCallback(IResponseResolver<TMessage,TResolved> resolver, ConsistencyLevel consistencyLevel, int blockfor, IReadCommand command, Keyspace keyspace, java.util.List<java.net.InetAddress> endpoints)`
    `ReadCallback(IResponseResolver<TMessage,TResolved> resolver, ConsistencyLevel consistencyLevel, IReadCommand command, java.util.List<java.net.InetAddress> filteredEndpoints)` Constructor when response count has to be calculated and blocked for.
    `WriteResponseHandler(java.util.Collection<java.net.InetAddress> writeEndpoints, java.util.Collection<java.net.InetAddress> pendingEndpoints, ConsistencyLevel consistencyLevel, Keyspace keyspace, java.lang.Runnable callback, WriteType writeType)`

  - ### Uses of ConsistencyLevel in org.apache.cassandra.service.pager

    Methods in org.apache.cassandra.service.pager with parameters of type ConsistencyLevel
    Modifier and Type | Method and Description
    --- | ---
    `static int` | QueryPagers.`countPaged(java.lang.String keyspace, java.lang.String columnFamily, java.nio.ByteBuffer key, SliceQueryFilter filter, ConsistencyLevel consistencyLevel, ClientState cState, int pageSize, long now)` Convenience method that count (live) cells/rows for a given slice of a row, but page underneath.
    `static QueryPager` | QueryPagers.`pager(Pageable command, ConsistencyLevel consistencyLevel, ClientState cState)`
    `static QueryPager` | QueryPagers.`pager(Pageable command, ConsistencyLevel consistencyLevel, ClientState cState, PagingState state)`
    `protected java.util.List<Row>` | RangeNamesQueryPager.`queryNextPage(int pageSize, ConsistencyLevel consistencyLevel, boolean localQuery)`
    `protected java.util.List<Row>` | RangeSliceQueryPager.`queryNextPage(int pageSize, ConsistencyLevel consistencyLevel, boolean localQuery)`
    `protected java.util.List<Row>` | SliceQueryPager.`queryNextPage(int pageSize, ConsistencyLevel consistencyLevel, boolean localQuery)`

  - ### Uses of ConsistencyLevel in org.apache.cassandra.service.paxos

    Constructors in org.apache.cassandra.service.paxos with parameters of type ConsistencyLevel
    Constructor and Description
    `AbstractPaxosCallback(int targets, ConsistencyLevel consistency)`
    `PrepareCallback(java.nio.ByteBuffer key, CFMetaData metadata, int targets, ConsistencyLevel consistency)`
    `ProposeCallback(int totalTargets, int requiredTargets, boolean failFast, ConsistencyLevel consistency)`

  - ### Uses of ConsistencyLevel in org.apache.cassandra.thrift

    Methods in org.apache.cassandra.thrift that return ConsistencyLevel
    Modifier and Type | Method and Description
    --- | ---
    `static ConsistencyLevel` | ThriftConversion.`fromThrift(ConsistencyLevel cl)`

    Methods in org.apache.cassandra.thrift with parameters of type ConsistencyLevel
    Modifier and Type | Method and Description
    --- | ---
    `protected java.util.Map<DecoratedKey,ColumnFamily>` | CassandraServer.`readColumnFamily(java.util.List<ReadCommand> commands, ConsistencyLevel consistency_level, ClientState cState)`
    `static ConsistencyLevel` | ThriftConversion.`toThrift(ConsistencyLevel cl)`

  - ### Uses of ConsistencyLevel in org.apache.cassandra.transport

    Methods in org.apache.cassandra.transport that return ConsistencyLevel
    Modifier and Type | Method and Description
    --- | ---
    `static ConsistencyLevel` | CBUtil.`readConsistencyLevel(io.netty.buffer.ByteBuf cb)`

    Methods in org.apache.cassandra.transport with parameters of type ConsistencyLevel
    Modifier and Type | Method and Description
    --- | ---
    `ResultMessage` | SimpleClient.`execute(java.lang.String query, ConsistencyLevel consistency)`
    `ResultMessage` | SimpleClient.`execute(java.lang.String query, java.util.List<java.nio.ByteBuffer> values, ConsistencyLevel consistencyLevel)`
    `ResultMessage` | SimpleClient.`executePrepared(byte[] statementId, java.util.List<java.nio.ByteBuffer> values, ConsistencyLevel consistency)`
    `static int` | CBUtil.`sizeOfConsistencyLevel(ConsistencyLevel consistency)`
    `static void` | CBUtil.`writeConsistencyLevel(ConsistencyLevel consistency, io.netty.buffer.ByteBuf cb)`

Copyright © 2018 The Apache Software Foundation