Interface TableFunctionProvider<T>
- All Superinterfaces:
LookupTableSource.LookupRuntimeProvider
@Deprecated
@Internal
public interface TableFunctionProvider<T>
extends LookupTableSource.LookupRuntimeProvider
Deprecated.
Provider of a
TableFunction instance as a runtime implementation for LookupTableSource.
The runtime will call the function with values describing the table's lookup keys (in the
order of declaration in LookupTableSource.LookupContext.getKeys()).
By default, input and output DataTypes of the TableFunction are derived
similar to other UserDefinedFunctions. However, for convenience, in a LookupTableSource the output type can simply be a Row or RowData in which case
the input and output types are derived from the table's schema with default conversion.
-
Method Summary
Modifier and TypeMethodDescriptionDeprecated.Creates aTableFunctioninstance.static <T> TableFunctionProvider<T>of(TableFunction<T> tableFunction) Deprecated.Helper method for creating a static provider.
-
Method Details
-
of
Deprecated.Helper method for creating a static provider. -
createTableFunction
TableFunction<T> createTableFunction()Deprecated.Creates aTableFunctioninstance.
-
LookupFunctionProviderto implement synchronous lookup table.