public class LookupJoinHintSpec extends Object
This class corresponds to CommonExecLookupJoin
rel node.
Modifier and Type | Field and Description |
---|---|
static String |
FIELD_NAME_ASYNC |
static String |
FIELD_NAME_ASYNC_CAPACITY |
static String |
FIELD_NAME_ASYNC_OUTPUT_MODE |
static String |
FIELD_NAME_ASYNC_TIMEOUT |
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 |
---|
LookupJoinHintSpec(Boolean async,
ExecutionConfigOptions.AsyncOutputMode asyncOutputMode,
Integer asyncCapacity,
Long asyncTimeout,
String retryPredicate,
LookupJoinHintOptions.RetryStrategy retryStrategy,
Long retryFixedDelay,
Integer retryMaxAttempts) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
static LookupJoinHintSpec |
fromJoinHint(org.apache.calcite.rel.hint.RelHint lookupJoinHint)
Convert given joinHint to
LookupJoinHintSpec . |
Boolean |
getAsync() |
Integer |
getAsyncCapacity() |
ExecutionConfigOptions.AsyncOutputMode |
getAsyncOutputMode() |
Long |
getAsyncTimeout() |
Long |
getRetryFixedDelay() |
Integer |
getRetryMaxAttempts() |
String |
getRetryPredicate() |
LookupJoinHintOptions.RetryStrategy |
getRetryStrategy() |
int |
hashCode() |
Boolean |
isAsync() |
ResultRetryStrategy |
toRetryStrategy()
Convert this
LookupJoinHintSpec to ResultRetryStrategy in a best effort
manner. |
public static final String FIELD_NAME_ASYNC
public static final String FIELD_NAME_ASYNC_OUTPUT_MODE
public static final String FIELD_NAME_ASYNC_CAPACITY
public static final String FIELD_NAME_ASYNC_TIMEOUT
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 LookupJoinHintSpec(@Nullable Boolean async, @Nullable ExecutionConfigOptions.AsyncOutputMode asyncOutputMode, Integer asyncCapacity, Long asyncTimeout, String retryPredicate, @Nullable LookupJoinHintOptions.RetryStrategy retryStrategy, @Nullable Long retryFixedDelay, @Nullable Integer retryMaxAttempts)
public Boolean isAsync()
public ExecutionConfigOptions.AsyncOutputMode getAsyncOutputMode()
public Integer getAsyncCapacity()
public Long getAsyncTimeout()
public String getRetryPredicate()
@Nullable public LookupJoinHintOptions.RetryStrategy getRetryStrategy()
public static LookupJoinHintSpec fromJoinHint(org.apache.calcite.rel.hint.RelHint lookupJoinHint)
LookupJoinHintSpec
.lookupJoinHint
- public ResultRetryStrategy toRetryStrategy()
LookupJoinHintSpec
to ResultRetryStrategy
in a best effort
manner. If invalid LookupJoinHintOptions.RETRY_PREDICATE
or LookupJoinHintOptions.RETRY_STRATEGY
is given, then ResultRetryStrategy.NO_RETRY_STRATEGY
will return.Copyright © 2014–2022 The Apache Software Foundation. All rights reserved.