Enum TAggregationType
- java.lang.Object
-
- java.lang.Enum<TAggregationType>
-
- org.apache.iotdb.common.rpc.thrift.TAggregationType
-
- All Implemented Interfaces:
Serializable,Comparable<TAggregationType>,org.apache.thrift.TEnum
@Generated(value="Autogenerated by Thrift Compiler (0.14.1)", date="2023-12-27") public enum TAggregationType extends Enum<TAggregationType> implements org.apache.thrift.TEnum
-
-
Enum Constant Summary
Enum Constants Enum Constant Description AVGCOUNTCOUNT_IFCOUNT_TIMEEXTREMEFIRST_VALUELAST_VALUEMAX_TIMEMAX_VALUEMIN_TIMEMIN_VALUEMODESUMTIME_DURATION
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static TAggregationTypefindByValue(int value)Find a the enum type by its integer value, as defined in the Thrift IDL.intgetValue()Get the integer value of this enum value, as defined in the Thrift IDL.static TAggregationTypevalueOf(String name)Returns the enum constant of this type with the specified name.static TAggregationType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
COUNT
public static final TAggregationType COUNT
-
AVG
public static final TAggregationType AVG
-
SUM
public static final TAggregationType SUM
-
FIRST_VALUE
public static final TAggregationType FIRST_VALUE
-
LAST_VALUE
public static final TAggregationType LAST_VALUE
-
MAX_TIME
public static final TAggregationType MAX_TIME
-
MIN_TIME
public static final TAggregationType MIN_TIME
-
MAX_VALUE
public static final TAggregationType MAX_VALUE
-
MIN_VALUE
public static final TAggregationType MIN_VALUE
-
EXTREME
public static final TAggregationType EXTREME
-
COUNT_IF
public static final TAggregationType COUNT_IF
-
TIME_DURATION
public static final TAggregationType TIME_DURATION
-
MODE
public static final TAggregationType MODE
-
COUNT_TIME
public static final TAggregationType COUNT_TIME
-
-
Method Detail
-
values
public static TAggregationType[] 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 (TAggregationType c : TAggregationType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static TAggregationType valueOf(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:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
getValue
public int getValue()
Get the integer value of this enum value, as defined in the Thrift IDL.- Specified by:
getValuein interfaceorg.apache.thrift.TEnum
-
findByValue
public static TAggregationType findByValue(int value)
Find a the enum type by its integer value, as defined in the Thrift IDL.- Returns:
- null if the value is not found.
-
-