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.
Constructor and Description |
---|
InternalRowMergerFunction() |
Modifier and Type | Method and Description |
---|---|
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) |
getKind, getParameterTypes, getResultType
close, functionIdentifier, open, toString
public org.apache.flink.table.types.inference.TypeInference getTypeInference(org.apache.flink.table.catalog.DataTypeFactory typeFactory)
getTypeInference
in interface org.apache.flink.table.functions.FunctionDefinition
getTypeInference
in class 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.