Package org.apache.datafusion
Enum Class JoinType
- All Implemented Interfaces:
Serializable,Comparable<JoinType>,Constable
Join algorithm requested for
DataFrame.join(org.apache.datafusion.DataFrame, org.apache.datafusion.JoinType, java.lang.String[], java.lang.String[]) / DataFrame.joinOn(org.apache.datafusion.DataFrame, org.apache.datafusion.JoinType, java.lang.String...). Mirrors
DataFusion's JoinType enum one-to-one.
INNER— rows where the join condition matches in both sides.LEFT/RIGHT— outer joins; unmatched rows on the named side are kept and padded with nulls on the other side.FULL— full outer join; unmatched rows from either side are kept with nulls.LEFT_SEMI/RIGHT_SEMI— returns rows from the named side that have at least one match on the other; only the named side's columns appear in the output.LEFT_ANTI/RIGHT_ANTI— returns rows from the named side that have no match on the other; only the named side's columns appear in the output.LEFT_MARK/RIGHT_MARK— returns one row per row of the named side, with an additional booleanmarkcolumn indicating whether the join condition matched.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescription -
Method Summary
-
Enum Constant Details
-
INNER
-
LEFT
-
RIGHT
-
FULL
-
LEFT_SEMI
-
RIGHT_SEMI
-
LEFT_ANTI
-
RIGHT_ANTI
-
LEFT_MARK
-
RIGHT_MARK
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException- if the argument is null
-
code
public byte code()Stable byte code for FFI.
-