Class LogFile
java.lang.Object
io.debezium.connector.oracle.logminer.LogFile
Represents a redo or archive log in Oracle.
- Author:
- Chris Cranford
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionLogFile(String fileName, Scn firstScn, Scn nextScn, BigInteger sequence, LogFile.Type type) Create a log file that represents an archived log record.LogFile(String fileName, Scn firstScn, Scn nextScn, BigInteger sequence, LogFile.Type type, boolean current) Creates a log file that represents an online redo log record. -
Method Summary
Modifier and TypeMethodDescriptionbooleangetType()inthashCode()booleanReturns whether this log file instance is considered the current online redo log record.booleanisScnInLogFileRange(Scn scn)
-
Field Details
-
fileName
-
firstScn
-
nextScn
-
sequence
-
current
private final boolean current -
type
-
-
Constructor Details
-
LogFile
Create a log file that represents an archived log record.- Parameters:
fileName- the file namefirstScn- the first system change number in the lognextScn- the first system change number in the following logsequence- the unique log sequence numbertype- the log type
-
LogFile
public LogFile(String fileName, Scn firstScn, Scn nextScn, BigInteger sequence, LogFile.Type type, boolean current) Creates a log file that represents an online redo log record.- Parameters:
fileName- the file namefirstScn- the first system change number in the lognextScn- the first system change number in the following logsequence- the unique log sequence numbertype- the type of archive logcurrent- whether the log file is the current one
-
-
Method Details
-
getFileName
-
getFirstScn
-
getNextScn
-
getSequence
-
isCurrent
public boolean isCurrent()Returns whether this log file instance is considered the current online redo log record. -
getType
-
isScnInLogFileRange
-
hashCode
public int hashCode() -
equals
-