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
ConstructorsConstructorDescriptionRetryableLookupFunctionDelegator(org.apache.flink.table.functions.LookupFunction userLookupFunction, ResultRetryStrategy retryStrategy) -
Method Summary
Modifier and TypeMethodDescriptionvoidclose()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.LookupFunction
evalMethods inherited from class org.apache.flink.table.functions.TableFunction
collect, finish, getKind, getParameterTypes, getResultType, getTypeInference, setCollectorMethods inherited from class org.apache.flink.table.functions.UserDefinedFunction
functionIdentifier, toStringMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods 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:
lookupin classorg.apache.flink.table.functions.LookupFunction- Throws:
IOException
-
open
- Overrides:
openin classorg.apache.flink.table.functions.UserDefinedFunction- Throws:
Exception
-
close
- Overrides:
closein classorg.apache.flink.table.functions.UserDefinedFunction- Throws:
Exception
-