public static class LookupJoinUtil.RetryLookupOptions extends Object
Modifier and Type | Field and 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 and Description |
---|
RetryLookupOptions(String retryPredicate,
LookupJoinHintOptions.RetryStrategy retryStrategy,
Long retryFixedDelay,
Integer retryMaxAttempts) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
static LookupJoinUtil.RetryLookupOptions |
fromJoinHint(org.apache.calcite.rel.hint.RelHint lookupJoinHint) |
int |
hashCode() |
ResultRetryStrategy |
toRetryStrategy()
Convert this
LookupJoinUtil.RetryLookupOptions to ResultRetryStrategy in the best effort
manner. |
String |
toString() |
public static final String FIELD_NAME_RETRY_PREDICATE
public static final String FIELD_NAME_RETRY_STRATEGY
public static final String FIELD_NAME_RETRY_FIXED_DELAY
public static final String FIELD_NAME_RETRY_MAX_ATTEMPTS
public RetryLookupOptions(String retryPredicate, LookupJoinHintOptions.RetryStrategy retryStrategy, Long retryFixedDelay, Integer retryMaxAttempts)
@Nullable public static LookupJoinUtil.RetryLookupOptions fromJoinHint(@Nullable org.apache.calcite.rel.hint.RelHint lookupJoinHint)
public ResultRetryStrategy toRetryStrategy()
LookupJoinUtil.RetryLookupOptions
to ResultRetryStrategy
in the best effort
manner. If invalid LookupJoinHintOptions.RETRY_PREDICATE
or LookupJoinHintOptions.RETRY_STRATEGY
is given, then ResultRetryStrategy.NO_RETRY_STRATEGY
will return.Copyright © 2014–2024 The Apache Software Foundation. All rights reserved.