Enum Class ColumnConditionType

java.lang.Object
java.lang.Enum<ColumnConditionType>
de.calamanari.adl.sql.cnv.ColumnConditionType
All Implemented Interfaces:
Serializable, Comparable<ColumnConditionType>, Constable

public enum ColumnConditionType extends Enum<ColumnConditionType>
Defines the type of the parameter set for a column, information for later expression setup
Author:
Karl Eilebrecht
  • Nested Class Summary

    Nested classes/interfaces inherited from class Enum

    Enum.EnumDesc<E>
  • Enum Constant Summary

    Enum Constants
    Enum Constant
    Description
    Exactly one value with the aligned date after the specified one, to query greater than or equals rather than greater than
    List contains two date values, first is the main date (the user-specified date), second is the aligned date after for creating a range query instead of an equals
    A filter condition for the main column resp. the left side of a reference match, also used for table filter conditions
    A filter condition for the reference column resp. the right side of a reference match
    Values for an IN-clause, list contains at least two elements
    Identifies a match of two columns against each other
    A single value comparison, parameter list contains one element
  • Method Summary

    Modifier and Type
    Method
    Description
    Returns the enum constant of this class with the specified name.
    Returns an array containing the constants of this enum class, in the order they are declared.

    Methods inherited from class Object

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

    • REFERENCE

      public static final ColumnConditionType REFERENCE
      Identifies a match of two columns against each other
    • FILTER_LEFT

      public static final ColumnConditionType FILTER_LEFT
      A filter condition for the main column resp. the left side of a reference match, also used for table filter conditions
    • FILTER_RIGHT

      public static final ColumnConditionType FILTER_RIGHT
      A filter condition for the reference column resp. the right side of a reference match
    • SINGLE

      public static final ColumnConditionType SINGLE
      A single value comparison, parameter list contains one element
    • IN_CLAUSE

      public static final ColumnConditionType IN_CLAUSE
      Values for an IN-clause, list contains at least two elements
    • AFTER_TODAY

      public static final ColumnConditionType AFTER_TODAY
      Exactly one value with the aligned date after the specified one, to query greater than or equals rather than greater than
    • DATE_RANGE

      public static final ColumnConditionType DATE_RANGE
      List contains two date values, first is the main date (the user-specified date), second is the aligned date after for creating a range query instead of an equals
  • Method Details

    • values

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