Package org.apache.calcite.linq4j
Enum CorrelateJoinType
- java.lang.Object
-
- java.lang.Enum<CorrelateJoinType>
-
- org.apache.calcite.linq4j.CorrelateJoinType
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<CorrelateJoinType>
public enum CorrelateJoinType extends java.lang.Enum<CorrelateJoinType>
Specifies the type of correlation operation: inner, left, semi, or anti.
-
-
Constructor Summary
Constructors Modifier Constructor Description private
CorrelateJoinType()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static CorrelateJoinType
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static CorrelateJoinType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
INNER
public static final CorrelateJoinType INNER
Inner join
-
LEFT
public static final CorrelateJoinType LEFT
Left-outer join
-
SEMI
public static final CorrelateJoinType SEMI
Semi-join.Similar to
from A ... where a in (select b from B ...)
-
ANTI
public static final CorrelateJoinType ANTI
Anti-join.Similar to
from A ... where a NOT in (select b from B ...)
Note: if B.b is nullable and B has nulls, no rows must be returned.
-
-
Method Detail
-
values
public static CorrelateJoinType[] 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 (CorrelateJoinType c : CorrelateJoinType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static CorrelateJoinType valueOf(java.lang.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:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
-