public interface OracleChangeTracker
| Modifier and Type | Method and Description |
|---|---|
void |
disable()
Disables the session flash back.
|
boolean |
doesEdgeExistAt(String szEdgeID,
Long longEndSCN)
Validates if the edge identified by the given edge ID
exist at SCN denoted by the end SCN
|
boolean |
doesEdgeExistAt(String szEdgeID,
Long longEndSCN,
int iQueryDOP)
Validates if the edge identified by the given edge ID
exist at SCN denoted by the end SCN
|
boolean |
doesVertexExistAt(String szVertexID,
Long longEndSCN)
Validates if the vertex identified by the given vertex ID
exist at SCN denoted by the end SCN
|
boolean |
doesVertexExistAt(String szVertexID,
Long longEndSCN,
int iQueryDOP)
Validates if the vertex identified by the given vertex ID
exist at SCN denoted by the end SCN
|
void |
enableAtSCN(Long longSCN)
Sets the session snapshot to the given SCN value
|
Long |
getCurrentSCN()
Returns the current SCN of this OracleChangeTracker
|
Iterator<EdgeChange> |
getEdgeChanges(Long longStartSCN,
Long longEndSCN)
Returns the edge changes between the given start SCN and end SCN.
|
Iterator<EdgeChange> |
getEdgeChanges(Long longStartSCN,
Long longEndSCN,
int iQueryDOP)
Returns the edge changes between the given start SCN and end SCN.
|
Iterator<EdgeChange> |
getEdgeChanges(Long longStartSCN,
Long longEndSCN,
int iQueryDOP,
boolean bFilterOutRemovedInserts)
Returns the edge changes between the given start SCN and end SCN.
|
Iterator<Long> |
getRemovedEdges(Long longStartSCN,
Long longEndSCN,
int iQueryDOP,
String szOptions)
Returns an ordered iterator of IDs of Edges
that involved in DELETE operations happened between
the two given SCNs.
|
Iterator<Long> |
getRemovedVertices(Long longStartSCN,
Long longEndSCN,
int iQueryDOP,
String szOptions)
Returns an ordered iterator of IDs of Vertices
that involved in DELETE operations happened between
the two given SCNs.
|
Iterator<VertexChange> |
getVertexChanges(Long longStartSCN,
Long longEndSCN)
Returns the vertex changes between the given start SCN and end SCN.
|
Iterator<VertexChange> |
getVertexChanges(Long longStartSCN,
Long longEndSCN,
int iQueryDOP)
Returns the vertex changes between the given start SCN and end SCN.
|
Iterator<VertexChange> |
getVertexChanges(Long longStartSCN,
Long longEndSCN,
int iQueryDOP,
boolean bFilterOutRemovedInserts)
Returns the vertex changes between the given start SCN and end SCN.
|
void disable()
throws SQLException
SQLExceptionboolean doesEdgeExistAt(String szEdgeID, Long longEndSCN) throws SQLException
szEdgeID - ID of the edgelongEndSCN - end SCN value. A NULL value will be treated as MAXVALUE to the
underlying Oracle Database.SQLExceptionboolean doesEdgeExistAt(String szEdgeID, Long longEndSCN, int iQueryDOP) throws 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 checkSQLExceptionboolean doesVertexExistAt(String szVertexID, Long longEndSCN) throws SQLException
szVertexID - ID of the vertexlongEndSCN - end SCN value. A NULL value will be treated as MAXVALUE to the
underlying Oracle Database.SQLExceptionboolean doesVertexExistAt(String szVertexID, Long longEndSCN, int iQueryDOP) throws 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 checkSQLExceptionvoid enableAtSCN(Long longSCN) throws SQLException
longSCN - SCN of the snapshotSQLExceptionLong getCurrentSCN() throws SQLException
SQLExceptionIterator<EdgeChange> getEdgeChanges(Long longStartSCN, Long longEndSCN) throws 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.SQLExceptionIterator<EdgeChange> getEdgeChanges(Long longStartSCN, Long longEndSCN, int iQueryDOP) throws 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.SQLExceptionIterator<EdgeChange> getEdgeChanges(Long longStartSCN, Long longEndSCN, int iQueryDOP, boolean bFilterOutRemovedInserts) throws 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.SQLExceptionIterator<Long> getRemovedEdges(Long longStartSCN, Long longEndSCN, int iQueryDOP, String szOptions) throws SQLException
longStartSCN - start SCNlongEndSCN - end SCNiQueryDOP - degree of parallelism to be used for the underlying queryszOptions - hints for the underlying query.SQLExceptionIterator<Long> getRemovedVertices(Long longStartSCN, Long longEndSCN, int iQueryDOP, String szOptions) throws SQLException
longStartSCN - start SCNlongEndSCN - end SCNiQueryDOP - degree of parallelism to be used for the underlying queryszOptions - hints for the underlying query.SQLExceptionIterator<VertexChange> getVertexChanges(Long longStartSCN, Long longEndSCN) throws 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.SQLExceptionIterator<VertexChange> getVertexChanges(Long longStartSCN, Long longEndSCN, int iQueryDOP) throws 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.SQLExceptionIterator<VertexChange> getVertexChanges(Long longStartSCN, Long longEndSCN, int iQueryDOP, boolean bFilterOutRemovedInserts) throws 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.SQLExceptionCopyright © 2017 Oracle and/or its affiliates. All Rights Reserved.