Package io.debezium.connector.informix
Class SourceInfo
java.lang.Object
io.debezium.connector.AbstractSourceInfo
io.debezium.connector.common.BaseSourceInfo
io.debezium.connector.informix.SourceInfo
@NotThreadSafe
public class SourceInfo
extends io.debezium.connector.common.BaseSourceInfo
Coordinates from the database log to establish the relation between the change streamed and the source log position.
Maps to
source field in Envelope.- Author:
- Laoflch Luo, Xiaolin Zhang, Lars M Johansson
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Stringprivate Lsnstatic final Stringprivate Lsnstatic final Stringstatic final Stringprivate Lsnstatic final Stringprivate final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringprivate Instantprivate List<com.informix.jdbc.IfxColumnInfo>static final Stringprivate io.debezium.relational.TableIdstatic final Stringstatic final Stringprivate IntegerFields inherited from class io.debezium.connector.common.BaseSourceInfo
snapshotRecordFields inherited from class io.debezium.connector.AbstractSourceInfo
SEQUENCE_KEY -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected Stringdatabase()io.debezium.relational.TableIdgetTxId()voidsetBeginLsn(Lsn beginLsn) voidsetChangeLsn(Lsn changeLsn) voidsetCommitLsn(Lsn commitLsn) voidsetSourceTime(Instant instant) voidsetTableId(io.debezium.relational.TableId tableId) voidprotected InstanttoString()Methods inherited from class io.debezium.connector.common.BaseSourceInfo
isSnapshot, setSnapshot, snapshotMethods inherited from class io.debezium.connector.AbstractSourceInfo
schema, sequence, serverName, struct, structMaker
-
Field Details
-
CHANGE_LSN_KEY
- See Also:
-
COMMIT_LSN_KEY
- See Also:
-
BEGIN_LSN_KEY
- See Also:
-
TX_ID
- See Also:
-
DEBEZIUM_VERSION_KEY
- See Also:
-
DEBEZIUM_CONNECTOR_KEY
- See Also:
-
SERVER_NAME_KEY
- See Also:
-
TIMESTAMP_KEY
- See Also:
-
SNAPSHOT_KEY
- See Also:
-
DATABASE_NAME_KEY
- See Also:
-
SCHEMA_NAME_KEY
- See Also:
-
TABLE_NAME_KEY
- See Also:
-
COLLECTION_NAME_KEY
- See Also:
-
commitLsn
-
changeLsn
-
txId
-
beginLsn
-
sourceTime
-
tableId
private io.debezium.relational.TableId tableId -
databaseName
-
streamMetadata
-
-
Constructor Details
-
SourceInfo
-
-
Method Details
-
getCommitLsn
-
setCommitLsn
- Parameters:
commitLsn- - LSN of the { @code COMMIT} of the transaction whose part the change is
-
getChangeLsn
-
setChangeLsn
- Parameters:
changeLsn- - LSN of the change in the database log
-
getTxId
-
setTxId
- Parameters:
txId- - Id of the transaction whose part the change is
-
getBeginLsn
-
setBeginLsn
- Parameters:
beginLsn- - LSN of the { @code BEGIN} of the transaction whose part the change is
-
setSourceTime
- Parameters:
instant- a time at which the transaction commit was executed
-
getTableId
public io.debezium.relational.TableId getTableId() -
setTableId
public void setTableId(io.debezium.relational.TableId tableId) - Parameters:
tableId- - source table of the event
-
toString
-
timestamp
- Specified by:
timestampin classio.debezium.connector.AbstractSourceInfo- Returns:
- timestamp of the event
-
database
- Specified by:
databasein classio.debezium.connector.AbstractSourceInfo- Returns:
- name of the database
-