Enum JoinType

java.lang.Object
java.lang.Enum<JoinType>
org.apache.druid.segment.join.JoinType
All Implemented Interfaces:
Serializable, Comparable<JoinType>, Cacheable

public enum JoinType extends Enum<JoinType> implements Cacheable
  • Enum Constant Summary

    Enum Constants
    Enum Constant
    Description
     
     
     
     
  • Method Summary

    Modifier and Type
    Method
    Description
    final byte[]
    Get a byte array used as a cache key.
    abstract boolean
    "Lefty" joins (LEFT or FULL) always include the full left-hand side, and can generate nulls on the right.
    abstract boolean
    "Righty" joins (RIGHT or FULL) always include the full right-hand side, and can generate nulls on the left.
    static JoinType
    Returns the enum constant of this type with the specified name.
    static JoinType[]
    Returns an array containing the constants of this enum type, in the order they are declared.

    Methods inherited from class java.lang.Enum

    clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf

    Methods inherited from class java.lang.Object

    getClass, notify, notifyAll, wait, wait, wait
  • Enum Constant Details

    • INNER

      public static final JoinType INNER
    • LEFT

      public static final JoinType LEFT
    • FULL

      public static final JoinType FULL
  • Method Details

    • values

      public static JoinType[] 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

      public static JoinType valueOf(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:
      IllegalArgumentException - if this enum type has no constant with the specified name
      NullPointerException - 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: Cacheable
      Get a byte array used as a cache key.
      Specified by:
      getCacheKey in interface Cacheable
      Returns:
      bytes to be used as cache key - or null if this object should not be cached.