Interface AsyncTableFunctionProvider<T>
-
- All Superinterfaces:
LookupTableSource.LookupRuntimeProvider
@Deprecated @Internal public interface AsyncTableFunctionProvider<T> extends LookupTableSource.LookupRuntimeProvider
Deprecated.Please useAsyncLookupFunctionProvider
to implement asynchronous lookup table.Provider of anAsyncTableFunction
instance 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
DataType
s of theAsyncTableFunction
are derived similar to otherUserDefinedFunction
s. However, for convenience, in aLookupTableSource
the output type can simply be aRow
orRowData
in 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 AsyncTableFunction<T>
createAsyncTableFunction()
Deprecated.Creates aAsyncTableFunction
instance.static <T> AsyncTableFunctionProvider<T>
of(AsyncTableFunction<T> asyncTableFunction)
Deprecated.Helper method for creating a static provider.
-
-
-
Method Detail
-
of
static <T> AsyncTableFunctionProvider<T> of(AsyncTableFunction<T> asyncTableFunction)
Deprecated.Helper method for creating a static provider.
-
createAsyncTableFunction
AsyncTableFunction<T> createAsyncTableFunction()
Deprecated.Creates aAsyncTableFunction
instance.
-
-