For Oracle 9R2 Flasback corresponds to the sub clause which appears between
the table and alias name in the FROM clause:
SELECT ... FROM EMPLOYEE AS OF TIMESTAMP (value) t0, ...
For generic historical schema support, a special criteria can be added to
the where clause for each table in a select:
((t0.ROW_START <= value) AND ((t0.END IS NULL) OR (t1.END > value)))
Responsibilities:
org.eclipse.persistence.expressions.Expression#asOf(AsOfClause) , org.eclipse.persistence.queries.ObjectLevelReadQuery#setAsOfClause(AsOfClause) , org.eclipse.persistence.sessions.Session#acquireHistoricalSession(AsOfClause) , HistoryPolicy
| Modifier and Type | Field and Description |
|---|---|
| public static final AsOfClause | |
| private Object |
| Access | Constructor and Description |
|---|---|
| protected | |
| public | |
| public | |
| public | |
| public | |
| public | |
| protected | |
| public | |
| protected |
| Modifier and Type | Method and Description |
|---|---|
| public boolean | equals(Object
the reference object with which to compare. object)Overrides java. |
| public Object | |
| public boolean | isAsOfSCNClause()
PUBLIC:
Indicates that |
| public boolean | isUniversal()
PUBLIC: Answers if this is a UniversalAsOfClause, one to be applied to the entire selection criteria. |
| public void | printSQL(ExpressionSQLPrinter printer)
INTERNAL: Prints the as of clause for an expression inside of the FROM clause. |
| public String |
| NO_CLAUSE | back to summary |
|---|---|
| public static final AsOfClause NO_CLAUSE | |
| value | back to summary |
|---|---|
| private Object value | |
| AsOfClause | back to summary |
|---|---|
| protected AsOfClause() | |
| AsOfClause | back to summary |
|---|---|
| public AsOfClause(Date date) | |
| AsOfClause | back to summary |
|---|---|
| public AsOfClause(Timestamp timestamp) | |
| AsOfClause | back to summary |
|---|---|
| public AsOfClause(Calendar calendar) | |
| AsOfClause | back to summary |
|---|---|
| public AsOfClause(long time) | |
| AsOfClause | back to summary |
|---|---|
| public AsOfClause(Long time) | |
| AsOfClause | back to summary |
|---|---|
| protected AsOfClause(Number number) | |
| AsOfClause | back to summary |
|---|---|
| public AsOfClause(Expression expression) | |
| AsOfClause | back to summary |
|---|---|
| protected AsOfClause(AsOfClause wrappedValue) | |
| equals | back to summary |
|---|---|
| public boolean equals(Object object) Overrides java. INTERNAL: Return if the as of is equal to the other. Equality of asOf clauses is complex (with subclasses), so only use identity.
| |
| getValue | back to summary |
|---|---|
| public Object getValue() PUBLIC: The past time represented by the receiver. Either a timestamp, a system change number, or an Expression. | |
| isAsOfSCNClause | back to summary |
|---|---|
| public boolean isAsOfSCNClause() PUBLIC:
Indicates that In Oracle the value will have to be printed using the syntax
| |
| isUniversal | back to summary |
|---|---|
| public boolean isUniversal() 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. | |
| printSQL | back to summary |
|---|---|
| public void printSQL(ExpressionSQLPrinter printer) INTERNAL: Prints the as of clause for an expression inside of the FROM clause. | |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Doc from java. Returns a string representation of the object. | |