Interface LookupableTableSource<T>

  • Type Parameters:
    T - type of the result
    All Superinterfaces:
    TableSource<T>

    @Deprecated
    @Internal
    public interface LookupableTableSource<T>
    extends TableSource<T>
    Deprecated.
    This interface will not be supported in the new source design around DynamicTableSource. Use LookupTableSource instead. See FLIP-95 for more information.
    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 Detail

      • getLookupFunction

        TableFunction<T> getLookupFunction​(String[] lookupKeys)
        Deprecated.
        Gets the TableFunction which supports lookup one key at a time.
        Parameters:
        lookupKeys - the chosen field names as lookup keys, it is in the defined order
      • getAsyncLookupFunction

        AsyncTableFunction<T> getAsyncLookupFunction​(String[] lookupKeys)
        Deprecated.
        Gets the AsyncTableFunction which supports async lookup one key at a time.
        Parameters:
        lookupKeys - the chosen field names as lookup keys, it is in the defined order