Enum PathType

java.lang.Object
java.lang.Enum<PathType>
com.querydsl.core.types.PathType
All Implemented Interfaces:
Operator, Serializable, Comparable<PathType>, java.lang.constant.Constable

public enum PathType extends Enum<PathType> implements Operator
PathType represents the relation of a Path to its parent
  • Enum Constant Details

    • ARRAYVALUE

      public static final PathType ARRAYVALUE
      Indexed array access (array[i])
    • ARRAYVALUE_CONSTANT

      public static final PathType ARRAYVALUE_CONSTANT
      Indexed array access with constant (array[i])
    • COLLECTION_ANY

      public static final PathType COLLECTION_ANY
      Access of any element in a collection
    • DELEGATE

      public static final PathType DELEGATE
      Delegate to an expression
    • LISTVALUE

      public static final PathType LISTVALUE
      Indexed list access (list.get(index))
    • LISTVALUE_CONSTANT

      public static final PathType LISTVALUE_CONSTANT
      Indexed list access with constant (list.get(index))
    • MAPVALUE

      public static final PathType MAPVALUE
      Map value access (map.get(key))
    • MAPVALUE_CONSTANT

      public static final PathType MAPVALUE_CONSTANT
      Map value access with constant (map.get(key))
    • PROPERTY

      public static final PathType PROPERTY
      Property of the parent
    • VARIABLE

      public static final PathType VARIABLE
      Root path
    • TREATED_PATH

      public static final PathType TREATED_PATH
      Treated path
  • Method Details

    • values

      public static PathType[] 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 PathType 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
    • getType

      public Class<?> getType()
      Description copied from interface: Operator
      Get the result type of the operator
      Specified by:
      getType in interface Operator
      Returns:
      type