Class LookupJoinUtil.RetryLookupOptions
- java.lang.Object
-
- org.apache.flink.table.planner.plan.utils.LookupJoinUtil.RetryLookupOptions
-
- Enclosing class:
- LookupJoinUtil
public static class LookupJoinUtil.RetryLookupOptions extends Object
RetryOptions includes retry lookup related options.
-
-
Field Summary
Fields Modifier and Type Field Description static String
FIELD_NAME_RETRY_FIXED_DELAY
static String
FIELD_NAME_RETRY_MAX_ATTEMPTS
static String
FIELD_NAME_RETRY_PREDICATE
static String
FIELD_NAME_RETRY_STRATEGY
-
Constructor Summary
Constructors Constructor Description RetryLookupOptions(String retryPredicate, LookupJoinHintOptions.RetryStrategy retryStrategy, Long retryFixedDelay, Integer retryMaxAttempts)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object o)
static LookupJoinUtil.RetryLookupOptions
fromJoinHint(org.apache.calcite.rel.hint.RelHint lookupJoinHint)
int
hashCode()
ResultRetryStrategy
toRetryStrategy()
Convert thisLookupJoinUtil.RetryLookupOptions
toResultRetryStrategy
in the best effort manner.String
toString()
-
-
-
Field Detail
-
FIELD_NAME_RETRY_PREDICATE
public static final String FIELD_NAME_RETRY_PREDICATE
- See Also:
- Constant Field Values
-
FIELD_NAME_RETRY_STRATEGY
public static final String FIELD_NAME_RETRY_STRATEGY
- See Also:
- Constant Field Values
-
FIELD_NAME_RETRY_FIXED_DELAY
public static final String FIELD_NAME_RETRY_FIXED_DELAY
- See Also:
- Constant Field Values
-
FIELD_NAME_RETRY_MAX_ATTEMPTS
public static final String FIELD_NAME_RETRY_MAX_ATTEMPTS
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
RetryLookupOptions
public RetryLookupOptions(String retryPredicate, LookupJoinHintOptions.RetryStrategy retryStrategy, Long retryFixedDelay, Integer retryMaxAttempts)
-
-
Method Detail
-
fromJoinHint
@Nullable public static LookupJoinUtil.RetryLookupOptions fromJoinHint(@Nullable org.apache.calcite.rel.hint.RelHint lookupJoinHint)
-
toRetryStrategy
public ResultRetryStrategy toRetryStrategy()
Convert thisLookupJoinUtil.RetryLookupOptions
toResultRetryStrategy
in the best effort manner. If invalidLookupJoinHintOptions.RETRY_PREDICATE
orLookupJoinHintOptions.RETRY_STRATEGY
is given, thenResultRetryStrategy.NO_RETRY_STRATEGY
will return.
-
-