io.laserdisc.mysql.binlog.stream.TransactionState
See theTransactionState companion class
object TransactionState
Attributes
- Companion
- class
- Graph
-
- Supertypes
- Self type
-
TransactionState.type
Members list
Type members
Types
Inherited and Abstract types
The names of the product elements
The name of the type
Value members
Concrete methods
def convertToJson(tableMeta: TableMetadata, timestamp: Long, action: String, fileName: String, offset: Long, includedColumns: Array[Int], record: (Option[Row], Option[Row])): EventMessage
def createTransactionState[F[_] : Logger](schemaMetadata: SchemaMetadata, binlogClient: BinaryLogClient): F[Ref[F, TransactionState]]
def extractPk(tableMeta: TableMetadata, columns: Array[Int], row: Array[Option[Serializable]]): Array[(String, Json)]
def handleCommit(transactionState: TransactionState, offset: Long, timestamp: Long, xaId: Option[Long]): (TransactionState, Option[TransactionPackage])
def handleCreate(tableId: Long, offset: Long, timestamp: Long, rows: List[Array[Serializable]], includedColumns: Array[Int])(implicit transactionState: TransactionState): (TransactionState, Option[TransactionPackage])
def handleDdl(table: String, timestamp: Long, offset: Long, sqlAction: String)(implicit transactionState: TransactionState): (TransactionState, Option[TransactionPackage])
def handleDelete(tableId: Long, offset: Long, timestamp: Long, rows: List[Array[Serializable]], includedColumns: Array[Int])(implicit transactionState: TransactionState): (TransactionState, Option[TransactionPackage])
def handleUpdate(tableId: Long, offset: Long, timestamp: Long, beforeAfter: List[(Array[Serializable], Array[Serializable])], includedColumns: Array[Int])(implicit transactionState: TransactionState): (TransactionState, Option[TransactionPackage])
def recordToJson(tableMetadata: TableMetadata, includedColumns: Array[Int], record: Array[Option[Serializable]]): Iterable[(String, Json)]
In this article