NULL values are not collected. getValue(SessionLocal) method
returns null. Use getArray() for instances of this class
instead.
| Modifier and Type | Class and Description |
|---|---|
| pack-priv static enum | AggregateDataCollecting.
NULL values collection mode. |
| Modifier and Type | Field and Description |
|---|---|
| private final boolean | |
| private final AggregateDataCollecting. | |
| private final boolean | |
| private Value | |
| pack-priv Collection |
| Access | Constructor and Description |
|---|---|
| pack-priv | AggregateDataCollecting(boolean
if distinct is used distinct, boolean if aggregate is an ordered aggregate with ORDER BY clause orderedWithOrder, AggregateDataCollecting.NULL values collection mode nullCollectionModeCreates new instance of data for collecting aggregates. |
| Modifier and Type | Method and Description |
|---|---|
| pack-priv void | add(SessionLocal
the session session, Value the value v)Implements abstract org. Add a value to this aggregate. |
| pack-priv Value[] | |
| pack-priv int | |
| pack-priv Value | |
| pack-priv Value | getValue(SessionLocal
the session session)Implements abstract org. Get the aggregate result. |
| private boolean | |
| public Iterator | |
| pack-priv void |
| distinct | back to summary |
|---|---|
| private final boolean distinct | |
| nullCollectionMode | back to summary |
|---|---|
| private final AggregateDataCollecting. | |
| orderedWithOrder | back to summary |
|---|---|
| private final boolean orderedWithOrder | |
| shared | back to summary |
|---|---|
| private Value shared | |
| values | back to summary |
|---|---|
| pack-priv Collection<Value> values | |
| AggregateDataCollecting | back to summary |
|---|---|
| pack-priv AggregateDataCollecting(boolean distinct, boolean orderedWithOrder, AggregateDataCollecting. Creates new instance of data for collecting aggregates.
| |
| add | back to summary |
|---|---|
| pack-priv void add(SessionLocal session, Value v) Implements abstract org. Doc from org. Add a value to this aggregate.
| |
| getArray | back to summary |
|---|---|
| pack-priv Value[] getArray() Returns array with values or
| |
| getCount | back to summary |
|---|---|
| pack-priv int getCount() Returns the count of values.
| |
| getSharedArgument | back to summary |
|---|---|
| pack-priv Value getSharedArgument() Returns value of a shared argument.
| |
| getValue | back to summary |
|---|---|
| pack-priv Value getValue(SessionLocal session) Implements abstract org. Doc from org. Get the aggregate result.
| |
| isNull | back to summary |
|---|---|
| private boolean isNull(Value v) | |
| iterator | back to summary |
|---|---|
| public Iterator Implements java. Doc from java. Returns an iterator over elements of type | |
| setSharedArgument | back to summary |
|---|---|
| pack-priv void setSharedArgument(Value shared) Sets value of a shared argument.
| |
| Modifier and Type | Field and Description |
|---|---|
| public static final AggregateDataCollecting. | EXCLUDED
Rows with NULL values are processed causing the result to be not NULL, but NULL values aren't collected. |
| public static final AggregateDataCollecting. | IGNORED
Rows with NULL value are completely ignored. |
| public static final AggregateDataCollecting. | 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. |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public static AggregateDataCollecting. | |
| public static AggregateDataCollecting. |
| EXCLUDED | back to summary |
|---|---|
| public static final AggregateDataCollecting. Rows with NULL values are processed causing the result to be not NULL, but NULL values aren't collected. | |
| IGNORED | back to summary |
|---|---|
| public static final AggregateDataCollecting. Rows with NULL value are completely ignored. | |
| USED_OR_IMPOSSIBLE | back to summary |
|---|---|
| public static final AggregateDataCollecting. 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. | |
| NullCollectionMode | back to summary |
|---|---|
| private NullCollectionMode() | |
| valueOf | back to summary |
|---|---|
| public static AggregateDataCollecting. | |
| values | back to summary |
|---|---|
| public static AggregateDataCollecting. | |