Package org.apache.druid.query
Enum JoinAlgorithm
- java.lang.Object
-
- java.lang.Enum<JoinAlgorithm>
-
- org.apache.druid.query.JoinAlgorithm
-
- All Implemented Interfaces:
Serializable,Comparable<JoinAlgorithm>
public enum JoinAlgorithm extends Enum<JoinAlgorithm>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description BROADCASTSORT_MERGE
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description static JoinAlgorithmfromString(String id)StringgetId()abstract booleanrequiresSubquery()Whether this join algorithm requires subqueries for all inputs.StringtoString()static JoinAlgorithmvalueOf(String name)Returns the enum constant of this type with the specified name.static JoinAlgorithm[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
BROADCAST
public static final JoinAlgorithm BROADCAST
-
SORT_MERGE
public static final JoinAlgorithm SORT_MERGE
-
-
Method Detail
-
values
public static JoinAlgorithm[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (JoinAlgorithm c : JoinAlgorithm.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static JoinAlgorithm valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
fromString
public static JoinAlgorithm fromString(String id)
-
getId
public String getId()
-
requiresSubquery
public abstract boolean requiresSubquery()
Whether this join algorithm requires subqueries for all inputs.
-
toString
public String toString()
- Overrides:
toStringin classEnum<JoinAlgorithm>
-
-