Enum Class Aggregate.ErrorBehaviour
java.lang.Object
java.lang.Enum<Aggregate.ErrorBehaviour>
com.complexible.stardog.plan.aggregates.Aggregate.ErrorBehaviour
- All Implemented Interfaces:
Serializable,Comparable<Aggregate.ErrorBehaviour>,Constable
- Enclosing interface:
Aggregate
Define behaviour of this aggregate when the input is unbound / erroneous
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionProduces an error / unbound output if the input argument is unbound (i.e.May raise an error, even if the input is not unbound (e.g.Aggregate will never raise an error -
Method Summary
Modifier and TypeMethodDescriptionstatic Aggregate.ErrorBehaviourReturns the enum constant of this class with the specified name.static Aggregate.ErrorBehaviour[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
Never
Aggregate will never raise an error -
MayRaise
May raise an error, even if the input is not unbound (e.g. due to data-type incompatibility) -
InputDependent
Produces an error / unbound output if the input argument is unbound (i.e. Variable expr returns an error)
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException- if the argument is null
-