public enum JoinStrategy extends Enum<JoinStrategy>
Enum Constant and Description |
---|
BROADCAST
Instructs the optimizer to use broadcast hash join strategy.
|
LOOKUP
Instructs the optimizer to use lookup join strategy.
|
NEST_LOOP
Instructs the optimizer to use nest loop join strategy.
|
SHUFFLE_HASH
Instructs the optimizer to use shuffle hash join strategy.
|
SHUFFLE_MERGE
Instructs the optimizer to use shuffle sort merge join strategy.
|
Modifier and Type | Method and Description |
---|---|
String |
getJoinHintName() |
static boolean |
isJoinStrategy(String hintName) |
static boolean |
isLookupHint(String hintName) |
static boolean |
validOptions(String hintName,
List<String> options) |
static JoinStrategy |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static JoinStrategy[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final JoinStrategy BROADCAST
public static final JoinStrategy SHUFFLE_HASH
public static final JoinStrategy SHUFFLE_MERGE
public static final JoinStrategy NEST_LOOP
public static final JoinStrategy LOOKUP
public static JoinStrategy[] values()
for (JoinStrategy c : JoinStrategy.values()) System.out.println(c);
public static JoinStrategy valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic static boolean isJoinStrategy(String hintName)
public String getJoinHintName()
public static boolean isLookupHint(String hintName)
Copyright © 2014–2024 The Apache Software Foundation. All rights reserved.