Enum Class QuestAggregateFunction
java.lang.Object
java.lang.Enum<QuestAggregateFunction>
com.inductiveautomation.historian.gateway.types.internal.questdb.QuestAggregateFunction
- All Implemented Interfaces:
AggregationType
,Serializable
,Comparable<QuestAggregateFunction>
,Constable
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum Constants -
Method Summary
Modifier and TypeMethodDescriptiondataType()
Retrieves the optional data type associated with the aggregation type.Retrieves the description of the aggregation type.static QuestAggregateFunction
getQuestAggregate
(int aggregateId) static Optional<QuestAggregateFunction>
getQuestAggregate
(AggregationType aggregate) static Collection<QuestAggregateFunction>
int
Retrieves the unique identifier of the aggregation type.static QuestAggregateFunction
Returns the enum constant of this class with the specified name.static QuestAggregateFunction[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.Methods inherited from class java.lang.Enum
clone, compareTo, describeConstable, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
Methods inherited from interface com.inductiveautomation.historian.common.model.AggregationType
name
-
Enum Constant Details
-
COUNT
-
LAST
-
MINIMUM
-
MAXIMUM
-
SIMPLE_AVERAGE
-
SUM
-
VARIANCE
-
STANDARD_DEVIATION
-
APPROX_COUNT_DISTINCT
-
COUNT_DISTINCT
-
FIRST
-
FIRST_NOT_NULL
-
LAST_NOT_NULL
-
KSUM
-
NSUM
-
STANDARD_DEVIATION_POPULATION
-
VARIANCE_POPULATION
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException
- if the argument is null
-
identifier
public int identifier()Description copied from interface:AggregationType
Retrieves the unique identifier of the aggregation type.- Specified by:
identifier
in interfaceAggregationType
- Returns:
- An integer representing the unique identifier.
-
description
Description copied from interface:AggregationType
Retrieves the description of the aggregation type.- Specified by:
description
in interfaceAggregationType
- Returns:
- A
LocalizedString
containing the description of the aggregation type.
-
dataType
Description copied from interface:AggregationType
Retrieves the optional data type associated with the aggregation type.- Specified by:
dataType
in interfaceAggregationType
- Returns:
- An
Optional
containing theDataType
, or empty if not applicable.
-
getQuestFunction
-
getQuestAggregate
-
getQuestAggregate
-
getQuestAggregates
-