T
- public abstract class AggregateFunction<T>
extends java.lang.Object
implements java.io.Serializable
Modifier and Type | Class and Description |
---|---|
static class |
AggregateFunction.AggregateFunctionBuilder<T>
A builder for aggregate functions.
|
static class |
AggregateFunction.AggregateFunctionWithParameter<T>
An aggregate function that has a parameter.
|
static class |
AggregateFunction.GenericArithmeticMean<T>
An aggregate function that returns the arithmetic mean, if it may be computed, "NULL"
otherwise.
|
static class |
AggregateFunction.GenericArithmeticMeanOfBounds<T>
An aggregate function that returns the arithmetic mean of min & max, if it may be computed, "NULL"
otherwise.
|
static class |
AggregateFunction.GenericBounds<T>
An aggregate function that returns an interval consisting of the
first and the last element following the predefined order .
|
static class |
AggregateFunction.GenericCommonPrefix<T>
An aggregate function that returns a common prefix.
|
static class |
AggregateFunction.GenericConstant<T>
An aggregate function that returns a constant value.
|
static class |
AggregateFunction.GenericGeometricMean<T>
An aggregate function that returns the geometric mean, if it may be computed, "NULL"
otherwise.
|
static class |
AggregateFunction.GenericGeometricMeanOfBounds<T>
An aggregate function that returns the geometric mean of min & max, if it may be computed, "NULL"
otherwise.
|
static class |
AggregateFunction.GenericInterval<T>
An aggregate function that returns an interval [min, max] .
|
static class |
AggregateFunction.GenericSet<T>
An aggregate function that returns a set of all data values.
|
static class |
AggregateFunction.GenericSetOfPrefixes<T>
An aggregate function that returns a set of the prefixes of the data values.
|
Modifier and Type | Method and Description |
---|---|
abstract java.lang.String |
aggregate(java.lang.String[] values)
This function returns an aggregate value.
|
static <T> AggregateFunction.AggregateFunctionBuilder<T> |
forType(DataType<T> type)
Returns a builder for the given data type.
|
boolean |
hasParameter()
Returns whether the function accepts a parameter.
|
abstract java.lang.String |
toLabel()
Returns a label.
|
abstract java.lang.String |
toString() |
public static <T> AggregateFunction.AggregateFunctionBuilder<T> forType(DataType<T> type)
T
- type
- public abstract java.lang.String aggregate(java.lang.String[] values)
values
- public boolean hasParameter()
public abstract java.lang.String toLabel()
public abstract java.lang.String toString()
toString
in class java.lang.Object