public enum BuiltInPythonAggregateFunction extends Enum<BuiltInPythonAggregateFunction> implements PythonFunction
Enum Constant and Description |
---|
AVG |
COUNT |
COUNT1 |
DECIMAL_SUM0 |
FIRST_VALUE |
FIRST_VALUE_RETRACT |
FLOAT_SUM0 |
INT_SUM0 |
LAST_VALUE |
LAST_VALUE_RETRACT |
LIST_AGG |
LIST_AGG_RETRACT |
LIST_AGG_WS_RETRACT |
MAX |
MAX_RETRACT |
MIN |
MIN_RETRACT |
SUM |
SUM_RETRACT |
Modifier and Type | Method and Description |
---|---|
PythonEnv |
getPythonEnv()
Returns the Python execution environment.
|
byte[] |
getSerializedPythonFunction()
Returns the serialized representation of the user-defined python function.
|
static BuiltInPythonAggregateFunction |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static BuiltInPythonAggregateFunction[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
getPythonFunctionKind
public static final BuiltInPythonAggregateFunction AVG
public static final BuiltInPythonAggregateFunction COUNT1
public static final BuiltInPythonAggregateFunction COUNT
public static final BuiltInPythonAggregateFunction FIRST_VALUE
public static final BuiltInPythonAggregateFunction FIRST_VALUE_RETRACT
public static final BuiltInPythonAggregateFunction LAST_VALUE
public static final BuiltInPythonAggregateFunction LAST_VALUE_RETRACT
public static final BuiltInPythonAggregateFunction LIST_AGG
public static final BuiltInPythonAggregateFunction LIST_AGG_RETRACT
public static final BuiltInPythonAggregateFunction LIST_AGG_WS_RETRACT
public static final BuiltInPythonAggregateFunction MAX
public static final BuiltInPythonAggregateFunction MAX_RETRACT
public static final BuiltInPythonAggregateFunction MIN
public static final BuiltInPythonAggregateFunction MIN_RETRACT
public static final BuiltInPythonAggregateFunction INT_SUM0
public static final BuiltInPythonAggregateFunction FLOAT_SUM0
public static final BuiltInPythonAggregateFunction DECIMAL_SUM0
public static final BuiltInPythonAggregateFunction SUM
public static final BuiltInPythonAggregateFunction SUM_RETRACT
public static BuiltInPythonAggregateFunction[] values()
for (BuiltInPythonAggregateFunction c : BuiltInPythonAggregateFunction.values()) System.out.println(c);
public static BuiltInPythonAggregateFunction valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic byte[] getSerializedPythonFunction()
PythonFunction
getSerializedPythonFunction
in interface PythonFunction
public PythonEnv getPythonEnv()
PythonFunction
getPythonEnv
in interface PythonFunction
Copyright © 2014–2021 The Apache Software Foundation. All rights reserved.