Package org.apache.druid.segment.join
Enum JoinType
- All Implemented Interfaces:
Serializable,Comparable<JoinType>,Cacheable
-
Enum Constant Summary
Enum Constants -
Method Summary
Modifier and TypeMethodDescriptionfinal byte[]Get a byte array used as a cache key.abstract booleanisLefty()"Lefty" joins (LEFT or FULL) always include the full left-hand side, and can generate nulls on the right.abstract booleanisRighty()"Righty" joins (RIGHT or FULL) always include the full right-hand side, and can generate nulls on the left.static JoinTypeReturns the enum constant of this type with the specified name.static JoinType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
INNER
-
LEFT
-
RIGHT
-
FULL
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
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
-
isLefty
public abstract boolean isLefty()"Lefty" joins (LEFT or FULL) always include the full left-hand side, and can generate nulls on the right. -
isRighty
public abstract boolean isRighty()"Righty" joins (RIGHT or FULL) always include the full right-hand side, and can generate nulls on the left. -
getCacheKey
public final byte[] getCacheKey()Description copied from interface:CacheableGet a byte array used as a cache key.- Specified by:
getCacheKeyin interfaceCacheable- Returns:
- bytes to be used as cache key - or null if this object should not be cached.
-