@PublicEvolving public interface AsyncTableFunctionProvider<T> extends LookupTableSource.LookupRuntimeProvider
AsyncTableFunction
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.Context#getKeys()
).
Modifier and Type | Method and Description |
---|---|
AsyncTableFunction<T> |
createAsyncTableFunction()
Creates a
AsyncTableFunction instance. |
static <T> AsyncTableFunctionProvider<T> |
of(AsyncTableFunction<T> asyncTableFunction)
Helper method for creating a static provider.
|
static <T> AsyncTableFunctionProvider<T> of(AsyncTableFunction<T> asyncTableFunction)
AsyncTableFunction<T> createAsyncTableFunction()
AsyncTableFunction
instance.Copyright © 2014–2021 The Apache Software Foundation. All rights reserved.