public final class InternalRowMergerFunction
extends org.apache.flink.table.functions.ScalarFunction
The function uses a custom TypeInference
and thus disables any of the default
reflection-based logic. It returns internal data structures for both input and output types of
the eval
method.
For code readability, we might use some internal utility methods that should rarely change. Implementers can copy those if they don't want to rely on non-official API.
构造器和说明 |
---|
InternalRowMergerFunction() |
限定符和类型 | 方法和说明 |
---|---|
org.apache.flink.table.data.RowData |
eval(org.apache.flink.table.data.RowData r1,
org.apache.flink.table.data.RowData r2) |
org.apache.flink.table.types.inference.TypeInference |
getTypeInference(org.apache.flink.table.catalog.DataTypeFactory typeFactory) |
close, functionIdentifier, open, toString
public org.apache.flink.table.types.inference.TypeInference getTypeInference(org.apache.flink.table.catalog.DataTypeFactory typeFactory)
getTypeInference
在接口中 org.apache.flink.table.functions.FunctionDefinition
getTypeInference
在类中 org.apache.flink.table.functions.ScalarFunction
public org.apache.flink.table.data.RowData eval(org.apache.flink.table.data.RowData r1, org.apache.flink.table.data.RowData r2)
Copyright © 2014–2022 The Apache Software Foundation. All rights reserved.