Class UniversalAsOfClause
- java.lang.Object
-
- org.eclipse.persistence.history.AsOfClause
-
- org.eclipse.persistence.internal.history.UniversalAsOfClause
-
- All Implemented Interfaces:
java.io.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)
- Author:
- Stephen McRitchie
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class org.eclipse.persistence.history.AsOfClause
NO_CLAUSE
-
-
Constructor Summary
Constructors Constructor Description UniversalAsOfClause(AsOfClause value)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AsOfClause
getAsOfClause()
INTERNAL: Gets the actual as of clause represented bythis
.java.lang.Object
getValue()
PUBLIC: The past time represented by the receiver.boolean
isUniversal()
PUBLIC: Answers if this is a UniversalAsOfClause, one to be applied to the entire selection criteria.void
printSQL(ExpressionSQLPrinter printer)
INTERNAL: Prints the as of clause for an expression inside of the FROM clause.java.lang.String
printString()
-
Methods inherited from class org.eclipse.persistence.history.AsOfClause
equals, isAsOfSCNClause, toString
-
-
-
-
Constructor Detail
-
UniversalAsOfClause
public UniversalAsOfClause(AsOfClause value)
-
-
Method Detail
-
printSQL
public void printSQL(ExpressionSQLPrinter printer)
INTERNAL: Prints the as of clause for an expression inside of the FROM clause.- Overrides:
printSQL
in classAsOfClause
-
getAsOfClause
public AsOfClause getAsOfClause()
INTERNAL: Gets the actual as of clause represented bythis
.
-
getValue
public java.lang.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 classAsOfClause
-
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 classAsOfClause
-
printString
public java.lang.String printString()
-
-