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:
java.io.Serializable
,java.lang.Comparable<AggregateDataCollecting.NullCollectionMode>
- Enclosing class:
- AggregateDataCollecting
static enum AggregateDataCollecting.NullCollectionMode extends java.lang.Enum<AggregateDataCollecting.NullCollectionMode>
NULL values collection mode.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description EXCLUDED
Rows with NULL values are processed causing the result to be not NULL, but NULL values aren't collected.IGNORED
Rows with NULL value are completely ignored.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 Summary
Constructors Modifier Constructor Description private
NullCollectionMode()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static AggregateDataCollecting.NullCollectionMode
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static AggregateDataCollecting.NullCollectionMode[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
IGNORED
public static final AggregateDataCollecting.NullCollectionMode IGNORED
Rows with NULL value are completely ignored.
-
EXCLUDED
public static final AggregateDataCollecting.NullCollectionMode EXCLUDED
Rows with NULL values are processed causing the result to be not NULL, but NULL values aren't collected.
-
USED_OR_IMPOSSIBLE
public static final AggregateDataCollecting.NullCollectionMode 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.
-
-
Method Detail
-
values
public static AggregateDataCollecting.NullCollectionMode[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (AggregateDataCollecting.NullCollectionMode c : AggregateDataCollecting.NullCollectionMode.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static AggregateDataCollecting.NullCollectionMode valueOf(java.lang.String name)
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
-
-