Enum DeltaQueryAnswerType
java.lang.Object
java.lang.Enum<DeltaQueryAnswerType>
tech.oxfordsemantic.jrdfox.client.DeltaQueryAnswerType
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<DeltaQueryAnswerType>
,java.lang.constant.Constable
public enum DeltaQueryAnswerType extends java.lang.Enum<DeltaQueryAnswerType>
Describes the type of answer returned by a delta query.
-
Nested Class Summary
-
Enum Constant Summary
-
Method Summary
Modifier and Type Method Description static DeltaQueryAnswerType
valueOf(java.lang.String name)
Returns 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.
-
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:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-