public enum ProjectionFunction extends java.lang.Enum<ProjectionFunction>
The projection function is an aggregation function that you can apply to a measure locally.
BusinessLayerPackageImpl.getProjectionFunction()| Enum Constant and Description |
|---|
AVERAGE
The 'AVERAGE' literal object.
|
COUNT
The 'COUNT' literal object.
|
COUNT_WITHOUT_EMPTY
The 'COUNT WITHOUT EMPTY' literal object.
|
DELEGATED
The 'DELEGATED' literal object.
|
FIRST
The 'FIRST' literal object.
|
LAST
The 'LAST' literal object.
|
MAX
The 'MAX' literal object.
|
MIN
The 'MIN' literal object.
|
NONE
The 'NONE' literal object.
|
SUM
The 'SUM' literal object.
|
| Modifier and Type | Field and Description |
|---|---|
static int |
AVERAGE_VALUE
The 'AVERAGE' literal value.
|
static int |
COUNT_VALUE
The 'COUNT' literal value.
|
static int |
COUNT_WITHOUT_EMPTY_VALUE
The 'COUNT WITHOUT EMPTY' literal value.
|
static int |
DELEGATED_VALUE
The 'DELEGATED' literal value.
|
static int |
FIRST_VALUE
The 'FIRST' literal value.
|
static int |
LAST_VALUE
The 'LAST' literal value.
|
static int |
MAX_VALUE
The 'MAX' literal value.
|
static int |
MIN_VALUE
The 'MIN' literal value.
|
static int |
NONE_VALUE
The 'NONE' literal value.
|
static int |
SUM_VALUE
The 'SUM' literal value.
|
static java.util.List<ProjectionFunction> |
VALUES
A public read-only list of all the 'Projection Function' enumerators.
|
| Modifier and Type | Method and Description |
|---|---|
static ProjectionFunction |
get(int value)
Returns the 'Projection Function' literal with the specified integer value.
|
static ProjectionFunction |
get(java.lang.String literal)
Returns the 'Projection Function' literal with the specified literal value.
|
static ProjectionFunction |
getByName(java.lang.String name)
Returns the 'Projection Function' literal with the specified name.
|
java.lang.String |
getLiteral()
Returns the string representation of the enumerator.
|
java.lang.String |
getName()
Returns the literal name of the enumerator.
|
int |
getValue()
Returns the literal integer value of the enumerator.
|
java.lang.String |
toString()
Returns the literal value of the enumerator, which is its string representation.
|
static ProjectionFunction |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ProjectionFunction[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ProjectionFunction NONE
No projection function is used for the specific measure.
NONE_VALUEpublic static final ProjectionFunction DELEGATED
This literal represents the aggregation requested to be done in the database instead of aggregating locally.
DELEGATED_VALUEpublic static final ProjectionFunction SUM
This literal represents the sum projection function.
SUM_VALUEpublic static final ProjectionFunction COUNT
This literal represents the count projection function.
COUNT_VALUEpublic static final ProjectionFunction MIN
This literal represents the min projection function.
MIN_VALUEpublic static final ProjectionFunction MAX
This literal represents the max projection function.
MAX_VALUEpublic static final ProjectionFunction AVERAGE
This literal represents the average projection function.
AVERAGE_VALUEpublic static final ProjectionFunction FIRST
This literal represents the first projection function.
FIRST_VALUEpublic static final ProjectionFunction LAST
This literal represents the last projection function.
LAST_VALUEpublic static final ProjectionFunction COUNT_WITHOUT_EMPTY
COUNT_WITHOUT_EMPTY_VALUEpublic static final int NONE_VALUE
NONE,
Constant Field Valuespublic static final int DELEGATED_VALUE
DELEGATED,
Constant Field Valuespublic static final int SUM_VALUE
SUM,
Constant Field Valuespublic static final int COUNT_VALUE
COUNT,
Constant Field Valuespublic static final int MIN_VALUE
MIN,
Constant Field Valuespublic static final int MAX_VALUE
MAX,
Constant Field Valuespublic static final int AVERAGE_VALUE
AVERAGE,
Constant Field Valuespublic static final int FIRST_VALUE
FIRST,
Constant Field Valuespublic static final int LAST_VALUE
LAST,
Constant Field Valuespublic static final int COUNT_WITHOUT_EMPTY_VALUE
If the meaning of 'COUNT WITHOUT EMPTY' literal object isn't clear, there really should be more of a description here...
COUNT_WITHOUT_EMPTY,
Constant Field Valuespublic static final java.util.List<ProjectionFunction> VALUES
public static ProjectionFunction[] values()
for (ProjectionFunction c : ProjectionFunction.values()) System.out.println(c);
public static ProjectionFunction valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullpublic static ProjectionFunction get(java.lang.String literal)
literal - The enumerator literal as a stringProjectionFunction object
public static ProjectionFunction getByName(java.lang.String name)
name - The literal name of the enumeratorProjectionFunction object
public static ProjectionFunction get(int value)
value - The literal integer value of the enumeratorProjectionFunction object
public int getValue()
public java.lang.String getName()
public java.lang.String getLiteral()
public java.lang.String toString()
toString in class java.lang.Enum<ProjectionFunction>