Class UniversalAsOfClause

java.lang.Object
org.eclipse.persistence.history.AsOfClause
org.eclipse.persistence.internal.history.UniversalAsOfClause
All Implemented Interfaces:
Serializable

public class UniversalAsOfClause extends AsOfClause
INTERNAL: Purpose: Represents a query level AS OF TIMESTAMP/SCN Oracle SQL clause.

Responsibilities:

  • Will be applied to the entire selection criteria, even if it is only set on the Query's expression builder.
  • Prints the AS OF clause before the alias name in the FROM clause.
Since:
OracleAS TopLink 10g (10.0.3)
See Also:
  • Constructor Details

    • UniversalAsOfClause

      public UniversalAsOfClause(AsOfClause value)
  • Method Details

    • printSQL

      public void printSQL(ExpressionSQLPrinter printer)
      INTERNAL: Prints the as of clause for an expression inside of the FROM clause.
      Overrides:
      printSQL in class AsOfClause
    • getAsOfClause

      public AsOfClause getAsOfClause()
      INTERNAL: Gets the actual as of clause represented by this.
    • getValue

      public Object getValue()
      Description copied from class: AsOfClause
      PUBLIC: The past time represented by the receiver. Either a timestamp, a system change number, or an Expression.
      Overrides:
      getValue in class AsOfClause
    • isUniversal

      public boolean isUniversal()
      Description copied from class: AsOfClause
      PUBLIC: Answers if this is a UniversalAsOfClause, one to be applied to the entire selection criteria.

      Used when a query is made as of a past time.

      Overrides:
      isUniversal in class AsOfClause
    • printString

      public String printString()