io.laserdisc.mysql.binlog.stream.TransactionState
See theTransactionState companion class
object TransactionState
Attributes
- Companion
- class
- Graph
-
- Supertypes
-
trait Producttrait Mirrorclass Objecttrait Matchableclass Any
- Self type
-
TransactionState.type
Members list
Type members
Types
Inherited types
The names of the product elements
The names of the product elements
Attributes
- Inherited from:
- Mirror
The name of the type
The name of the type
Attributes
- Inherited from:
- Mirror
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[_]](schemaMetadata: SchemaMetadata, binlogClient: BinaryLogClient)(using evidence$1: Sync[F], evidence$2: Logger[F]): 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