Package org.apache.druid.segment.join
Enum Class JoinType
- All Implemented Interfaces:
Serializable,Comparable<JoinType>,Constable,Cacheable
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
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 class with the specified name.static JoinType[]values()Returns an array containing the constants of this enum class, 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 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
-
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.
-