public enum SemiJoinType extends Enum<SemiJoinType> implements SqlLiteral.SqlSymbol
| Enum Constant and Description |
|---|
ANTI
Anti-join
|
INNER
Inner join
|
LEFT
Left-outer join
|
SEMI
Semi-join
|
| Modifier and Type | Method and Description |
|---|---|
static SemiJoinType |
of(JoinRelType joinType) |
boolean |
returnsJustFirstInput() |
SqlLiteral |
symbol(SqlParserPos pos)
Creates a parse-tree node representing an occurrence of this
condition type keyword at a particular position in the parsed
text.
|
JoinRelType |
toJoinType() |
CorrelateJoinType |
toLinq4j() |
static SemiJoinType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SemiJoinType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOfname, ordinalpublic static final SemiJoinType INNER
public static final SemiJoinType LEFT
public static final SemiJoinType SEMI
Similar to from A ... where a in (select b from B ...)
public static final SemiJoinType ANTI
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
public static SemiJoinType[] values()
for (SemiJoinType c : SemiJoinType.values()) System.out.println(c);
public static SemiJoinType 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 SqlLiteral symbol(SqlParserPos pos)
public static SemiJoinType of(JoinRelType joinType)
public JoinRelType toJoinType()
public CorrelateJoinType toLinq4j()
public boolean returnsJustFirstInput()
Copyright © 2012–2015 The Apache Software Foundation. All rights reserved.