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.LookupFunctionA delegator holds user'sLookupFunctionto handle retries.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description RetryableLookupFunctionDelegator(org.apache.flink.table.functions.LookupFunction userLookupFunction, ResultRetryStrategy retryStrategy)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclose()Collection<org.apache.flink.table.data.RowData>lookup(org.apache.flink.table.data.RowData keyRow)voidopen(org.apache.flink.table.functions.FunctionContext context)-
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
-
-
-
-
Constructor Detail
-
RetryableLookupFunctionDelegator
public RetryableLookupFunctionDelegator(@Nonnull org.apache.flink.table.functions.LookupFunction userLookupFunction, @Nonnull ResultRetryStrategy retryStrategy)
-
-
Method Detail
-
lookup
public Collection<org.apache.flink.table.data.RowData> lookup(org.apache.flink.table.data.RowData keyRow) throws IOException
- Specified by:
lookupin classorg.apache.flink.table.functions.LookupFunction- Throws:
IOException
-
open
public void open(org.apache.flink.table.functions.FunctionContext context) throws Exception- Overrides:
openin classorg.apache.flink.table.functions.UserDefinedFunction- Throws:
Exception
-
-