Enum DeltaQueryAnswerType
- All Implemented Interfaces:
Serializable, Comparable<DeltaQueryAnswerType>, java.lang.constant.Constable
Describes the type of answer returned by a delta query.
-
Nested Class Summary
Nested classes/interfaces inherited from class Enum
Enum.EnumDesc<E> -
Enum Constant Summary
Enum Constants -
Method Summary
Modifier and TypeMethodDescriptionstatic DeltaQueryAnswerTypeReturns the enum constant of this type with the specified name.static DeltaQueryAnswerType[]values()Returns an array containing the constants of this enum type, in the order they are declared.Methods inherited from class Enum
compareTo, describeConstable, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
-
Enum Constant Details
-
SNAPSHOT
The answer provides a snapshot of the delta query results. That is, the answer is equal to the (possibly truncated) list of results that would be observed if the delta query was evaluated at this specific version of the data store. -
DELETION
The answer provides a record of deletions from the delta query results. That is, the answer is equal to the (possibly truncated) list of results which would have been returned if the delta query was evaluated on the previous version of the data store, but would no longer be returned if the delta query was evaluated on this specific version of the data store. -
ADDITION
The answer provides a record of additions to the delta query results. That is, the answer corresponds to the (possibly truncated) list of results which would not have been returned if the delta query was evaluated on the previous version of the data store, but would be returned if the delta query was evaluated on this specific version of the data store.
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
Returns 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.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-