Interface LookupableTableSource<T>
- Type Parameters:
T- type of the result
- All Superinterfaces:
TableSource<T>
Deprecated.
A
TableSource which supports for lookup accessing via key column(s). For example, MySQL
TableSource can implement this interface to support lookup accessing. When temporal join this
MySQL table, the runtime behavior could be in a lookup fashion.-
Method Summary
Modifier and TypeMethodDescriptiongetAsyncLookupFunction(String[] lookupKeys) Deprecated.Gets theAsyncTableFunctionwhich supports async lookup one key at a time.getLookupFunction(String[] lookupKeys) Deprecated.Gets theTableFunctionwhich supports lookup one key at a time.booleanDeprecated.Returns true if async lookup is enabled.Methods inherited from interface org.apache.flink.table.legacy.sources.TableSource
explainSource, getProducedDataType, getReturnType, getTableSchema
-
Method Details
-
getLookupFunction
Deprecated.Gets theTableFunctionwhich supports lookup one key at a time.- Parameters:
lookupKeys- the chosen field names as lookup keys, it is in the defined order
-
getAsyncLookupFunction
Deprecated.Gets theAsyncTableFunctionwhich supports async lookup one key at a time.- Parameters:
lookupKeys- the chosen field names as lookup keys, it is in the defined order
-
isAsyncEnabled
boolean isAsyncEnabled()Deprecated.Returns true if async lookup is enabled.The lookup function returned by
getAsyncLookupFunction(String[])will be used if returns true. Otherwise, the lookup function returned bygetLookupFunction(String[])will be used.
-
DynamicTableSource. UseLookupTableSourceinstead. See FLIP-95 for more information.