Enum Class ProjectionResult

java.lang.Object
java.lang.Enum<ProjectionResult>
io.helidon.data.codegen.query.ProjectionResult
All Implemented Interfaces:
Serializable, Comparable<ProjectionResult>, Constable

public enum ProjectionResult extends Enum<ProjectionResult>
Projection return type limitation.
  • Enum Constant Details

    • Exists

      public static final ProjectionResult Exists
      Only boolean values.
    • Count

      public static final ProjectionResult Count
      Only numeric values.
    • Get

      public static final ProjectionResult Get
      Only single entity or entity property instance, cannot return null.
    • Find

      public static final ProjectionResult Find
      Optional of single entity or entity property instance.
    • List

      public static final ProjectionResult List
      List of entity or entity property values.
    • Stream

      public static final ProjectionResult Stream
      Stream of entity or entity property values.
    • Dml

      public static final ProjectionResult Dml
      DML result.
  • Method Details

    • values

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

      public static ProjectionResult valueOf(String name)
      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 name
      NullPointerException - if the argument is null