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 AsOfClausegetAsOfClause()INTERNAL: Gets the actual as of clause represented bythis.java.lang.ObjectgetValue()PUBLIC: The past time represented by the receiver.booleanisUniversal()PUBLIC: Answers if this is a UniversalAsOfClause, one to be applied to the entire selection criteria.voidprintSQL(ExpressionSQLPrinter printer)INTERNAL: Prints the as of clause for an expression inside of the FROM clause.java.lang.StringprintString()-
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:
printSQLin classAsOfClause
-
getAsOfClause
public AsOfClause getAsOfClause()
INTERNAL: Gets the actual as of clause represented bythis.
-
getValue
public java.lang.Object getValue()
Description copied from class:AsOfClausePUBLIC: The past time represented by the receiver. Either a timestamp, a system change number, or an Expression.- Overrides:
getValuein classAsOfClause
-
isUniversal
public boolean isUniversal()
Description copied from class:AsOfClausePUBLIC: 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:
isUniversalin classAsOfClause
-
printString
public java.lang.String printString()
-
-