- All Implemented Interfaces:
public enum AnalyticsScanConsistency extends Enum<AnalyticsScanConsistency>
Nested Class Summary
Enum Constant Summary
Enum Constants Enum Constant DescriptionThe index will return whatever state it has to the analytics query engine at the time of query.The index will wait until all mutations have been processed at the time of request before being processed in the analytics query engine.
Methods inherited from class java.lang.Enum
clone, compareTo, describeConstable, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
Enum Constant Details
NOT_BOUNDEDpublic static final AnalyticsScanConsistency NOT_BOUNDEDThe index will return whatever state it has to the analytics query engine at the time of query.
This is the default (for single-statement requests). No timestamp vector is used in the index scan. This is also the fastest mode, because we avoid the cost of obtaining the vector, and we also avoid any wait for the index to catch up to the vector.
REQUEST_PLUSpublic static final AnalyticsScanConsistency REQUEST_PLUSThe index will wait until all mutations have been processed at the time of request before being processed in the analytics query engine.
This implements strong consistency per request. Before processing the request, a current vector is obtained. The vector is used as a lower bound for the statements in the request.
valuespublic static AnalyticsScanConsistency values()Returns an array containing the constants of this enum type, in the order they are declared.
- an array containing the constants of this enum type, in the order they are declared
valueOfReturns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)