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

Packages that use ConsistencyLevel
org.apache.cassandra.config   
org.apache.cassandra.cql   
org.apache.cassandra.cql3   
org.apache.cassandra.cql3.statements   
org.apache.cassandra.db   
org.apache.cassandra.exceptions   
org.apache.cassandra.locator   
org.apache.cassandra.service   
org.apache.cassandra.thrift   
 

Uses of ConsistencyLevel in org.apache.cassandra.config
 

Methods in org.apache.cassandra.config that return ConsistencyLevel
 ConsistencyLevel CFMetaData.getReadConsistencyLevel()
           
 ConsistencyLevel CFMetaData.getWriteConsistencyLevel()
           
 

Methods in org.apache.cassandra.config with parameters of type ConsistencyLevel
 CFMetaData CFMetaData.defaultReadCL(ConsistencyLevel prop)
           
 CFMetaData CFMetaData.defaultWriteCL(ConsistencyLevel prop)
           
 

Uses of ConsistencyLevel in org.apache.cassandra.cql
 

Fields in org.apache.cassandra.cql declared as ConsistencyLevel
protected  ConsistencyLevel AbstractModification.cLevel
           
protected  ConsistencyLevel BatchStatement.consistency
           
static ConsistencyLevel AbstractModification.defaultConsistency
           
 

Methods in org.apache.cassandra.cql that return ConsistencyLevel
 ConsistencyLevel AbstractModification.getConsistencyLevel()
           
 ConsistencyLevel Attributes.getConsistencyLevel()
           
 ConsistencyLevel BatchStatement.getConsistencyLevel()
           
 ConsistencyLevel SelectStatement.getConsistencyLevel()
           
 ConsistencyLevel UpdateStatement.getConsistencyLevel()
          Returns the consistency level of this UPDATE statement, either one parsed from the CQL statement, or the default level otherwise.
 

Methods in org.apache.cassandra.cql with parameters of type ConsistencyLevel
 void Attributes.setConsistencyLevel(ConsistencyLevel cLevel)
           
 

Constructors in org.apache.cassandra.cql with parameters of type ConsistencyLevel
AbstractModification(java.lang.String keyspace, java.lang.String columnFamily, java.lang.String keyAlias, ConsistencyLevel cLevel, java.lang.Long timestamp, int timeToLive)
           
Attributes(ConsistencyLevel cLevel, java.lang.Long timestamp, int timeToLive)
           
SelectStatement(SelectExpression expression, boolean isCountOper, java.lang.String keyspace, java.lang.String columnFamily, ConsistencyLevel cLevel, WhereClause clause, int numRecords)
           
 

Uses of ConsistencyLevel in org.apache.cassandra.cql3
 

Fields in org.apache.cassandra.cql3 declared as ConsistencyLevel
 ConsistencyLevel Attributes.cLevel
           
 

Methods in org.apache.cassandra.cql3 that return ConsistencyLevel
 ConsistencyLevel CFPropDefs.getConsistencyLevel(java.lang.String key)
           
 

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

Fields in org.apache.cassandra.cql3.statements declared as ConsistencyLevel
static ConsistencyLevel ModificationStatement.defaultConsistency
           
 

Methods in org.apache.cassandra.cql3.statements that return ConsistencyLevel
 ConsistencyLevel BatchStatement.getConsistencyLevel()
           
 ConsistencyLevel ModificationStatement.getConsistencyLevel()
           
 

Constructors in org.apache.cassandra.cql3.statements with parameters of type ConsistencyLevel
ModificationStatement(CFName name, ConsistencyLevel cLevel, java.lang.Long timestamp, int timeToLive)
           
SelectStatement.Parameters(ConsistencyLevel consistency, int limit, java.util.Map<ColumnIdentifier,java.lang.Boolean> orderings, boolean isCount)
           
 

Uses of ConsistencyLevel in org.apache.cassandra.db
 

Methods in org.apache.cassandra.db that return ConsistencyLevel
 ConsistencyLevel CounterMutation.consistency()
           
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
CounterMutation(RowMutation rowMutation, ConsistencyLevel consistency)
           
 

Uses of ConsistencyLevel in org.apache.cassandra.exceptions
 

Fields in org.apache.cassandra.exceptions declared as ConsistencyLevel
 ConsistencyLevel RequestTimeoutException.consistency
           
 ConsistencyLevel UnavailableException.consistency
           
 

Constructors in org.apache.cassandra.exceptions with parameters of type ConsistencyLevel
ReadTimeoutException(ConsistencyLevel consistency, int received, int blockFor, boolean dataPresent)
           
RequestTimeoutException(ExceptionCode code, ConsistencyLevel consistency, int received, int blockFor)
           
UnavailableException(ConsistencyLevel consistency, int required, int alive)
           
WriteTimeoutException(ConsistencyLevel consistency, int received, int blockFor, boolean writtenToBatchlog)
           
 

Uses of ConsistencyLevel in org.apache.cassandra.locator
 

Methods in org.apache.cassandra.locator with parameters of type ConsistencyLevel
 IWriteResponseHandler AbstractReplicationStrategy.getWriteResponseHandler(java.util.Collection<java.net.InetAddress> writeEndpoints, ConsistencyLevel consistency_level, java.lang.Runnable callback)
           
 

Uses of ConsistencyLevel in org.apache.cassandra.service
 

Fields in org.apache.cassandra.service declared as ConsistencyLevel
protected  ConsistencyLevel AbstractWriteResponseHandler.consistencyLevel
           
protected  ConsistencyLevel ReadCallback.consistencyLevel
           
 

Methods in org.apache.cassandra.service with parameters of type ConsistencyLevel
 void StorageProxy.WritePerformer.apply(IMutation mutation, java.util.Collection<java.net.InetAddress> targets, IWriteResponseHandler responseHandler, java.lang.String localDataCenter, ConsistencyLevel consistency_level)
           
static IWriteResponseHandler DatacenterSyncWriteResponseHandler.create(java.util.Collection<java.net.InetAddress> writeEndpoints, ConsistencyLevel consistencyLevel, java.lang.String table, java.lang.Runnable callback)
           
static IWriteResponseHandler DatacenterWriteResponseHandler.create(java.util.Collection<java.net.InetAddress> writeEndpoints, ConsistencyLevel consistencyLevel, java.lang.String table, java.lang.Runnable callback)
           
static IWriteResponseHandler WriteResponseHandler.create(java.util.Collection<java.net.InetAddress> writeEndpoints, ConsistencyLevel consistencyLevel, java.lang.String table, java.lang.Runnable callback)
           
static java.util.List<Row> StorageProxy.getRangeSlice(RangeSliceCommand command, ConsistencyLevel consistency_level)
           
static void StorageProxy.mutate(java.util.List<? extends IMutation> mutations, ConsistencyLevel consistency_level)
          Use this method to have these Mutations applied across all replicas.
static void StorageProxy.mutateAtomically(java.util.List<RowMutation> mutations, ConsistencyLevel consistency_level)
          See mutate.
static IWriteResponseHandler StorageProxy.performWrite(IMutation mutation, ConsistencyLevel consistency_level, java.lang.String localDataCenter, StorageProxy.WritePerformer performer, java.lang.Runnable callback)
          Perform the write of a mutation given a WritePerformer.
static java.util.List<Row> StorageProxy.read(java.util.List<ReadCommand> commands, ConsistencyLevel consistency_level)
          Performs the actual reading of a row out of the StorageService, fetching a specific set of column names from a given column family.
static java.util.concurrent.Future<java.lang.Void> StorageProxy.scheduleLocalHint(RowMutation mutation, java.net.InetAddress target, IWriteResponseHandler responseHandler, ConsistencyLevel consistencyLevel)
           
static void StorageProxy.sendToHintedEndpoints(RowMutation rm, java.util.Collection<java.net.InetAddress> targets, IWriteResponseHandler responseHandler, java.lang.String localDataCenter, ConsistencyLevel consistency_level)
          Send the mutations to the right targets, write it locally if it corresponds or writes a hint when the node is not available.
 

Constructors in org.apache.cassandra.service with parameters of type ConsistencyLevel
AbstractWriteResponseHandler(java.util.Collection<java.net.InetAddress> writeEndpoints, ConsistencyLevel consistencyLevel, java.lang.Runnable callback)
           
DatacenterReadCallback(IResponseResolver resolver, ConsistencyLevel consistencyLevel, IReadCommand command, java.util.List<java.net.InetAddress> endpoints)
           
DatacenterSyncWriteResponseHandler(java.util.Collection<java.net.InetAddress> writeEndpoints, ConsistencyLevel consistencyLevel, java.lang.String table, java.lang.Runnable callback)
           
DatacenterWriteResponseHandler(java.util.Collection<java.net.InetAddress> writeEndpoints, ConsistencyLevel consistencyLevel, java.lang.String table, java.lang.Runnable callback)
           
ReadCallback(IResponseResolver<TMessage,TResolved> resolver, ConsistencyLevel consistencyLevel, IReadCommand command, java.util.List<java.net.InetAddress> endpoints)
          Constructor when response count has to be calculated and blocked for.
WriteResponseHandler(java.util.Collection<java.net.InetAddress> writeEndpoints, ConsistencyLevel consistencyLevel, java.lang.String table, java.lang.Runnable callback)
           
 

Uses of ConsistencyLevel in org.apache.cassandra.thrift
 

Methods in org.apache.cassandra.thrift that return ConsistencyLevel
static ConsistencyLevel ThriftConversion.fromThrift(ConsistencyLevel cl)
           
 

Methods in org.apache.cassandra.thrift with parameters of type ConsistencyLevel
protected  java.util.Map<DecoratedKey,ColumnFamily> CassandraServer.readColumnFamily(java.util.List<ReadCommand> commands, ConsistencyLevel consistency_level)
           
static ConsistencyLevel ThriftConversion.toThrift(ConsistencyLevel cl)
           
 



Copyright © 2012 The Apache Software Foundation