Interface TableFunctionProvider<T>
-
- All Superinterfaces:
LookupTableSource.LookupRuntimeProvider
@Deprecated @Internal public interface TableFunctionProvider<T> extends LookupTableSource.LookupRuntimeProvider
Deprecated.Please useLookupFunctionProviderto implement synchronous lookup table.Provider of aTableFunctioninstance as a runtime implementation forLookupTableSource.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 theTableFunctionare derived similar to otherUserDefinedFunctions. However, for convenience, in aLookupTableSourcethe output type can simply be aRoworRowDatain which case the input and output types are derived from the table's schema with default conversion.
-
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description TableFunction<T>createTableFunction()Deprecated.Creates aTableFunctioninstance.static <T> TableFunctionProvider<T>of(TableFunction<T> tableFunction)Deprecated.Helper method for creating a static provider.
-
-
-
Method Detail
-
of
static <T> TableFunctionProvider<T> of(TableFunction<T> tableFunction)
Deprecated.Helper method for creating a static provider.
-
createTableFunction
TableFunction<T> createTableFunction()
Deprecated.Creates aTableFunctioninstance.
-
-