Package org.apache.torque.criteria

# Klasse SqlEnum

java.lang.Object
org.apache.torque.criteria.SqlEnum

Alle implementierten Schnittstellen:
  `Serializable`

public final class SqlEnum extends Object implements Serializable
A typesafe enum of SQL string fragments. Used by Criteria and SqlExpression to build queries. Criteria also makes most of the constants available in order to specify a criterion.

Seit:
  3.0
Version:
  $Id: SqlEnum.java 1917245 2024-04-21 14:06:23Z tv $
Autor:
  , Thomas Fischer
Siehe auch:
  - Serialisierte Form

- ## Feldübersicht

  Felder
  Modifizierer und Typ
  Feld
  Beschreibung
  `static final SqlEnum`
  `ALL`
  SQL Expression "ALL ".
  `static final SqlEnum`
  `ALT_NOT_EQUAL`
  SQL Expression "!
  `static final SqlEnum`
  `AS`
  SQL Expression " AS ".
  `static final SqlEnum`
  `ASC`
  SQL Expression "ASC".
  `static final SqlEnum`
  `CURRENT_DATE`
  SQL Expression "CURRENT_DATE".
  `static final SqlEnum`
  `CURRENT_TIME`
  SQL Expression "CURRENT_TIME".
  `static final SqlEnum`
  `CURRENT_TIMESTAMP`
  SQL Expression "CURRENT_TIMESTAMP".
  `static final SqlEnum`
  `DESC`
  SQL Expression "DESC".
  `static final SqlEnum`
  `DISTINCT`
  SQL Expression "DISTINCT ".
  `static final SqlEnum`
  `EQUAL`
  SQL Expression "=".
  `static final SqlEnum`
  `ESCAPE`
  SQL Expression " ESCAPE ".
  `static final SqlEnum`
  `EXCEPT`
  SQL Expression " EXCEPT ".
  `static final SqlEnum`
  `EXCEPT_ALL`
  SQL Expression " EXCEPT ALL ".
  `static final SqlEnum`
  `GREATER_EQUAL`
  SQL Expression ">=".
  `static final SqlEnum`
  `GREATER_THAN`
  SQL Expression ">".
  `static final SqlEnum`
  `ILIKE`
  SQL Expression " ILIKE ".
  `static final SqlEnum`
  `IN`
  SQL Expression " IN ".
  `static final SqlEnum`
  `INTERSECT`
  SQL Expression " INTERSECT ".
  `static final SqlEnum`
  `INTERSECT_ALL`
  SQL Expression " INTERSECT ALL ".
  `static final SqlEnum`
  `ISNOTNULL`
  SQL Expression " IS NOT NULL".
  `static final SqlEnum`
  `ISNULL`
  SQL Expression " IS NULL".
  `static final SqlEnum`
  `JOIN`
  SQL Expression "JOIN".
  `static final SqlEnum`
  `LESS_EQUAL`
  SQL Expression "<=".
  `static final SqlEnum`
  `LESS_THAN`
  SQL Expression "<".
  `static final SqlEnum`
  `LIKE`
  SQL Expression " LIKE ".
  `static final SqlEnum`
  `MINUS`
  SQL Expression " MINUS ".
  `static final SqlEnum`
  `MINUS_ALL`
  SQL Expression " MINUS ALL ".
  `static final SqlEnum`
  `NOT_EQUAL`
  SQL Expression "<>".
  `static final SqlEnum`
  `NOT_ILIKE`
  SQL Expression " NOT ILIKE ".
  `static final SqlEnum`
  `NOT_IN`
  SQL Expression " NOT IN ".
  `static final SqlEnum`
  `NOT_LIKE`
  SQL Expression " NOT LIKE ".
  `static final SqlEnum`
  `ON`
  SQL Expression " ON ".
  `static final SqlEnum`
  `UNION`
  SQL Expression " UNION ".
  `static final SqlEnum`
  `UNION_ALL`
  SQL Expression " UNION ALL ".

- ## Methodenübersicht

  Modifizierer und Typ
  Methode
  Beschreibung
  `boolean`
  `equals(Object o)`
  returns whether o is the same SqlEnum as this object.
  `int`
  `getNumberOfCompareOperands()`
  Returns the number of operands, if the SqlEnum is a comparison operator.
  `int`
  `hashCode()`
  returns a hashcode for this object which is consistent with equals()
  `String`
  `toString()`

  ### Von Klasse geerbte Methoden java.lang.Object

  `clone, finalize, getClass, notify, notifyAll, wait, wait, wait`

- ## Felddetails

  - ### EQUAL

    public static final SqlEnum EQUAL
    SQL Expression "=".

  - ### NOT_EQUAL

    public static final SqlEnum NOT_EQUAL
    SQL Expression "<>".

  - ### ALT_NOT_EQUAL

    public static final SqlEnum ALT_NOT_EQUAL
    SQL Expression "!=".

  - ### GREATER_THAN

    public static final SqlEnum GREATER_THAN
    SQL Expression ">".

  - ### LESS_THAN

    public static final SqlEnum LESS_THAN
    SQL Expression "<".

  - ### GREATER_EQUAL

    public static final SqlEnum GREATER_EQUAL
    SQL Expression ">=".

  - ### LESS_EQUAL

    public static final SqlEnum LESS_EQUAL
    SQL Expression "<=".

  - ### LIKE

    public static final SqlEnum LIKE
    SQL Expression " LIKE ".

  - ### NOT_LIKE

    public static final SqlEnum NOT_LIKE
    SQL Expression " NOT LIKE ".

  - ### ILIKE

    public static final SqlEnum ILIKE
    SQL Expression " ILIKE ".

  - ### NOT_ILIKE

    public static final SqlEnum NOT_ILIKE
    SQL Expression " NOT ILIKE ".

  - ### IN

    public static final SqlEnum IN
    SQL Expression " IN ".

  - ### NOT_IN

    public static final SqlEnum NOT_IN
    SQL Expression " NOT IN ".

  - ### JOIN

    public static final SqlEnum JOIN
    SQL Expression "JOIN".

  - ### DISTINCT

    public static final SqlEnum DISTINCT
    SQL Expression "DISTINCT ".

  - ### ALL

    public static final SqlEnum ALL
    SQL Expression "ALL ".

  - ### ASC

    public static final SqlEnum ASC
    SQL Expression "ASC".

  - ### DESC

    public static final SqlEnum DESC
    SQL Expression "DESC".

  - ### ISNULL

    public static final SqlEnum ISNULL
    SQL Expression " IS NULL".

  - ### ISNOTNULL

    public static final SqlEnum ISNOTNULL
    SQL Expression " IS NOT NULL".

  - ### CURRENT_DATE

    public static final SqlEnum CURRENT_DATE
    SQL Expression "CURRENT_DATE".

  - ### CURRENT_TIME

    public static final SqlEnum CURRENT_TIME
    SQL Expression "CURRENT_TIME".

  - ### CURRENT_TIMESTAMP

    public static final SqlEnum CURRENT_TIMESTAMP
    SQL Expression "CURRENT_TIMESTAMP".

  - ### ON

    public static final SqlEnum ON
    SQL Expression " ON ".

  - ### AS

    public static final SqlEnum AS
    SQL Expression " AS ".

  - ### ESCAPE

    public static final SqlEnum ESCAPE
    SQL Expression " ESCAPE ".

  - ### UNION

    public static final SqlEnum UNION
    SQL Expression " UNION ".

  - ### UNION_ALL

    public static final SqlEnum UNION_ALL
    SQL Expression " UNION ALL ".

  - ### INTERSECT

    public static final SqlEnum INTERSECT
    SQL Expression " INTERSECT ".

  - ### INTERSECT_ALL

    public static final SqlEnum INTERSECT_ALL
    SQL Expression " INTERSECT ALL ".

  - ### EXCEPT

    public static final SqlEnum EXCEPT
    SQL Expression " EXCEPT ".

  - ### EXCEPT_ALL

    public static final SqlEnum EXCEPT_ALL
    SQL Expression " EXCEPT ALL ".

  - ### MINUS

    public static final SqlEnum MINUS
    SQL Expression " MINUS ".

  - ### MINUS_ALL

    public static final SqlEnum MINUS_ALL
    SQL Expression " MINUS ALL ".

- ## Methodendetails

  - ### toString

    public String toString()
    Setzt außer Kraft:
      `toString` in Klasse `Object`

  - ### getNumberOfCompareOperands

    public int getNumberOfCompareOperands()
    Returns the number of operands, if the SqlEnum is a comparison operator. A Set operand (e.g. in IN) is counted as one operand.
    Gibt zurück:
      the number of compare operands, or -1 if the SqlEnum is no comparison operator.

  - ### equals

    public boolean equals(Object o)
    returns whether o is the same SqlEnum as this object. Two SqlEnums are considered equal if they contain the same String.
    Setzt außer Kraft:
      `equals` in Klasse `Object`
    Parameter:
      `o` - the object to compare the SqlEnum with.

  - ### hashCode

    public int hashCode()
    returns a hashcode for this object which is consistent with equals()
    Setzt außer Kraft:
      `hashCode` in Klasse `Object`