Modifier and Type | Method and Description |
---|---|
void |
TableEnvironment.registerFunction(String name,
ScalarFunction function)
Deprecated.
Use
TableEnvironment.createTemporarySystemFunction(String, UserDefinedFunction) instead.
Please note that the new method also uses the new type system and reflective extraction
logic. It might be necessary to update the function implementation as well. See the
documentation of ScalarFunction for more information on the new function design. |
Modifier and Type | Method and Description |
---|---|
void |
TableEnvironmentImpl.registerFunction(String name,
ScalarFunction function) |
Modifier and Type | Method and Description |
---|---|
void |
FunctionCatalog.registerTempCatalogScalarFunction(ObjectIdentifier oi,
ScalarFunction function) |
void |
FunctionCatalog.registerTempSystemScalarFunction(String name,
ScalarFunction function)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
ScalarFunction |
ScalarFunctionDefinition.getScalarFunction() |
Constructor and Description |
---|
ScalarFunctionDefinition(String name,
ScalarFunction scalarFunction) |
Modifier and Type | Class and Description |
---|---|
class |
HiveGenericUDF
A ScalarFunction implementation that calls Hive's
GenericUDF . |
class |
HiveScalarFunction<UDFType>
Abstract class to provide more information for Hive
UDF and GenericUDF functions. |
class |
HiveSimpleUDF
A ScalarFunction implementation that calls Hive's
UDF . |
Modifier and Type | Class and Description |
---|---|
class |
PythonScalarFunction
The wrapper of user defined python scalar function.
|
Modifier and Type | Method and Description |
---|---|
ScalarFunction |
HiveScalarSqlFunction.makeFunction(Object[] constantArguments,
LogicalType[] argTypes)
Deprecated.
|
Constructor and Description |
---|
HiveScalarSqlFunction(FunctionIdentifier identifier,
ScalarFunction function,
org.apache.flink.table.planner.calcite.FlinkTypeFactory typeFactory)
Deprecated.
|
Modifier and Type | Class and Description |
---|---|
class |
StringRegexReplaceFunction
Scalar function for replacing all occurrences of a regular expression with a replacement string.
|
Modifier and Type | Method and Description |
---|---|
static TypeInference |
TypeInferenceExtractor.forScalarFunction(DataTypeFactory typeFactory,
Class<? extends ScalarFunction> function)
Extracts a type inference from a
ScalarFunction . |
Copyright © 2014–2021 The Apache Software Foundation. All rights reserved.