Package org.h2.expression.aggregate
Enum AggregateDataCollecting.NullCollectionMode
java.lang.Object
java.lang.Enum<AggregateDataCollecting.NullCollectionMode>
org.h2.expression.aggregate.AggregateDataCollecting.NullCollectionMode
- All Implemented Interfaces:
Serializable
,Comparable<AggregateDataCollecting.NullCollectionMode>
,java.lang.constant.Constable
- Enclosing class:
AggregateDataCollecting
static enum AggregateDataCollecting.NullCollectionMode
extends Enum<AggregateDataCollecting.NullCollectionMode>
NULL values collection mode.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionRows with NULL values are processed causing the result to be not NULL, but NULL values aren't collected.Rows with NULL value are completely ignored.Rows with NULL values are aggregated just like rows with any other values, should also be used when NULL values aren't passed to AggregateDataCollecting. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the enum constant of this type with the specified name.values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
IGNORED
Rows with NULL value are completely ignored. -
EXCLUDED
Rows with NULL values are processed causing the result to be not NULL, but NULL values aren't collected. -
USED_OR_IMPOSSIBLE
Rows with NULL values are aggregated just like rows with any other values, should also be used when NULL values aren't passed to AggregateDataCollecting.
-
-
Constructor Details
-
NullCollectionMode
private NullCollectionMode()
-
-
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
-