public interface OracleChangeTracker
| Modifier and Type | Method and Description |
|---|---|
void |
disable()
Disables the session flash back.
|
boolean |
doesEdgeExistAt(java.lang.String szEdgeID, java.lang.Long longEndSCN)
Validates if the edge identified by the given edge ID exist at SCN denoted by the end SCN
|
boolean |
doesEdgeExistAt(java.lang.String szEdgeID, java.lang.Long longEndSCN, int iQueryDOP)
Validates if the edge identified by the given edge ID exist at SCN denoted by the end SCN
|
boolean |
doesVertexExistAt(java.lang.String szVertexID, java.lang.Long longEndSCN)
Validates if the vertex identified by the given vertex ID exist at SCN denoted by the end SCN
|
boolean |
doesVertexExistAt(java.lang.String szVertexID, java.lang.Long longEndSCN, int iQueryDOP)
Validates if the vertex identified by the given vertex ID exist at SCN denoted by the end SCN
|
void |
enableAtSCN(java.lang.Long longSCN)
Sets the session snapshot to the given SCN value
|
java.lang.Long |
getCurrentSCN()
Returns the current SCN of this OracleChangeTracker
|
java.util.Iterator<EdgeChange> |
getEdgeChanges(java.lang.Long longStartSCN, java.lang.Long longEndSCN)
Returns the edge changes between the given start SCN and end SCN.
|
java.util.Iterator<EdgeChange> |
getEdgeChanges(java.lang.Long longStartSCN, java.lang.Long longEndSCN, int iQueryDOP)
Returns the edge changes between the given start SCN and end SCN.
|
java.util.Iterator<EdgeChange> |
getEdgeChanges(java.lang.Long longStartSCN, java.lang.Long longEndSCN, int iQueryDOP, boolean bFilterOutRemovedInserts)
Returns the edge changes between the given start SCN and end SCN.
|
java.util.Iterator<java.lang.Long> |
getRemovedEdges(java.lang.Long longStartSCN, java.lang.Long longEndSCN, int iQueryDOP, java.lang.String szOptions)
Returns an ordered iterator of IDs of Edges that involved in DELETE operations happened between the two given SCNs.
|
java.util.Iterator<java.lang.Long> |
getRemovedVertices(java.lang.Long longStartSCN, java.lang.Long longEndSCN, int iQueryDOP, java.lang.String szOptions)
Returns an ordered iterator of IDs of Vertices that involved in DELETE operations happened between the two given SCNs.
|
java.util.Iterator<VertexChange> |
getVertexChanges(java.lang.Long longStartSCN, java.lang.Long longEndSCN)
Returns the vertex changes between the given start SCN and end SCN.
|
java.util.Iterator<VertexChange> |
getVertexChanges(java.lang.Long longStartSCN, java.lang.Long longEndSCN, int iQueryDOP)
Returns the vertex changes between the given start SCN and end SCN.
|
java.util.Iterator<VertexChange> |
getVertexChanges(java.lang.Long longStartSCN, java.lang.Long longEndSCN, int iQueryDOP, boolean bFilterOutRemovedInserts)
Returns the vertex changes between the given start SCN and end SCN.
|
void disable()
throws java.sql.SQLException
java.sql.SQLExceptionboolean doesEdgeExistAt(java.lang.String szEdgeID,
java.lang.Long longEndSCN)
throws java.sql.SQLException
szEdgeID - ID of the edgelongEndSCN - end SCN value. A NULL value will be treated as MAXVALUE to the underlying Oracle Database.java.sql.SQLExceptionboolean doesEdgeExistAt(java.lang.String szEdgeID,
java.lang.Long longEndSCN,
int iQueryDOP)
throws java.sql.SQLException
szEdgeID - ID of the edgelongEndSCN - end SCN value. A NULL value will be treated as MAXVALUE to the underlying Oracle Database.iQueryDOP - the degree of parallelism to be used to do the checkjava.sql.SQLExceptionboolean doesVertexExistAt(java.lang.String szVertexID,
java.lang.Long longEndSCN)
throws java.sql.SQLException
szVertexID - ID of the vertexlongEndSCN - end SCN value. A NULL value will be treated as MAXVALUE to the underlying Oracle Database.java.sql.SQLExceptionboolean doesVertexExistAt(java.lang.String szVertexID,
java.lang.Long longEndSCN,
int iQueryDOP)
throws java.sql.SQLException
szVertexID - ID of the vertexlongEndSCN - end SCN value. A NULL value will be treated as MAXVALUE to the underlying Oracle Database.iQueryDOP - the degree of parallelism to be used to do the checkjava.sql.SQLExceptionvoid enableAtSCN(java.lang.Long longSCN)
throws java.sql.SQLException
longSCN - SCN of the snapshotjava.sql.SQLExceptionjava.lang.Long getCurrentSCN()
throws java.sql.SQLException
java.sql.SQLExceptionjava.util.Iterator<EdgeChange> getEdgeChanges(java.lang.Long longStartSCN, java.lang.Long longEndSCN) throws java.sql.SQLException
longStartSCN - start SCN value. A NULL value will be treated as MINVALUE to the underlying Oracle Database.longEndSCN - end SCN value. A NULL value will be treated as MAXVALUE to the underlying Oracle Database.java.sql.SQLExceptionjava.util.Iterator<EdgeChange> getEdgeChanges(java.lang.Long longStartSCN, java.lang.Long longEndSCN, int iQueryDOP) throws java.sql.SQLException
longStartSCN - start SCN value. A NULL value will be treated as MINVALUE to the underlying Oracle Database.longEndSCN - end SCN value. A NULL value will be treated as MAXVALUE to the underlying Oracle Database.iQueryDOP - the degree of parallelism to be used to identify changes.java.sql.SQLExceptionjava.util.Iterator<EdgeChange> getEdgeChanges(java.lang.Long longStartSCN, java.lang.Long longEndSCN, int iQueryDOP, boolean bFilterOutRemovedInserts) throws java.sql.SQLException
longStartSCN - start SCN value. A NULL value will be treated as MINVALUE to the underlying Oracle Database.longEndSCN - end SCN value. A NULL value will be treated as MAXVALUE to the underlying Oracle Database.iQueryDOP - the degree of parallelism to be used to identify changes.bFilterOutRemovedInserts - if an insert has already been removed by the end of time period, then do not include it in the iterator.java.sql.SQLExceptionjava.util.Iterator<java.lang.Long> getRemovedEdges(java.lang.Long longStartSCN,
java.lang.Long longEndSCN,
int iQueryDOP,
java.lang.String szOptions)
throws java.sql.SQLException
longStartSCN - start SCNlongEndSCN - end SCNiQueryDOP - degree of parallelism to be used for the underlying queryszOptions - hints for the underlying query.java.sql.SQLExceptionjava.util.Iterator<java.lang.Long> getRemovedVertices(java.lang.Long longStartSCN,
java.lang.Long longEndSCN,
int iQueryDOP,
java.lang.String szOptions)
throws java.sql.SQLException
longStartSCN - start SCNlongEndSCN - end SCNiQueryDOP - degree of parallelism to be used for the underlying queryszOptions - hints for the underlying query.java.sql.SQLExceptionjava.util.Iterator<VertexChange> getVertexChanges(java.lang.Long longStartSCN, java.lang.Long longEndSCN) throws java.sql.SQLException
longStartSCN - start SCN value. A NULL value will be treated as MINVALUE to the underlying Oracle Database.longEndSCN - end SCN value. A NULL value will be treated as MAXVALUE to the underlying Oracle Database.java.sql.SQLExceptionjava.util.Iterator<VertexChange> getVertexChanges(java.lang.Long longStartSCN, java.lang.Long longEndSCN, int iQueryDOP) throws java.sql.SQLException
longStartSCN - start SCN value. A NULL value will be treated as MINVALUE to the underlying Oracle Database.longEndSCN - end SCN value. A NULL value will be treated as MAXVALUE to the underlying Oracle Database.iQueryDOP - the degree of parallelism to be used to identify changes.java.sql.SQLExceptionjava.util.Iterator<VertexChange> getVertexChanges(java.lang.Long longStartSCN, java.lang.Long longEndSCN, int iQueryDOP, boolean bFilterOutRemovedInserts) throws java.sql.SQLException
longStartSCN - start SCN value. A NULL value will be treated as MINVALUE to the underlying Oracle Database.longEndSCN - end SCN value. A NULL value will be treated as MAXVALUE to the underlying Oracle Database.iQueryDOP - the degree of parallelism to be used to identify changes.bFilterOutRemovedInserts - if an insert has already been removed by the end of time period, then do not include it in the iterator.java.sql.SQLExceptionCopyright © 2010, 2020 Oracle and/or its affiliates. All Rights Reserved.