Class RetryableLookupFunctionDelegator

java.lang.Object
org.apache.flink.table.functions.UserDefinedFunction
org.apache.flink.table.functions.TableFunction<org.apache.flink.table.data.RowData>
org.apache.flink.table.functions.LookupFunction
org.apache.flink.table.runtime.operators.join.lookup.RetryableLookupFunctionDelegator
All Implemented Interfaces:
Serializable, org.apache.flink.table.functions.FunctionDefinition

public class RetryableLookupFunctionDelegator extends org.apache.flink.table.functions.LookupFunction
A delegator holds user's LookupFunction to handle retries.
See Also:
  • Constructor Summary

    Constructors
    Constructor
    Description
    RetryableLookupFunctionDelegator(org.apache.flink.table.functions.LookupFunction userLookupFunction, ResultRetryStrategy retryStrategy)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
     
    Collection<org.apache.flink.table.data.RowData>
    lookup(org.apache.flink.table.data.RowData keyRow)
     
    void
    open(org.apache.flink.table.functions.FunctionContext context)
     

    Methods inherited from class org.apache.flink.table.functions.LookupFunction

    eval

    Methods inherited from class org.apache.flink.table.functions.TableFunction

    collect, finish, getKind, getParameterTypes, getResultType, getTypeInference, setCollector

    Methods inherited from class org.apache.flink.table.functions.UserDefinedFunction

    functionIdentifier, toString

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait

    Methods inherited from interface org.apache.flink.table.functions.FunctionDefinition

    getRequirements, isDeterministic, supportsConstantFolding
  • Constructor Details

    • RetryableLookupFunctionDelegator

      public RetryableLookupFunctionDelegator(@Nonnull org.apache.flink.table.functions.LookupFunction userLookupFunction, @Nonnull ResultRetryStrategy retryStrategy)
  • Method Details

    • lookup

      public Collection<org.apache.flink.table.data.RowData> lookup(org.apache.flink.table.data.RowData keyRow) throws IOException
      Specified by:
      lookup in class org.apache.flink.table.functions.LookupFunction
      Throws:
      IOException
    • open

      public void open(org.apache.flink.table.functions.FunctionContext context) throws Exception
      Overrides:
      open in class org.apache.flink.table.functions.UserDefinedFunction
      Throws:
      Exception
    • close

      public void close() throws Exception
      Overrides:
      close in class org.apache.flink.table.functions.UserDefinedFunction
      Throws:
      Exception