TransactionState

io.laserdisc.mysql.binlog.stream.TransactionState
See theTransactionState companion class

Attributes

Companion
class
Graph
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type

Members list

Type members

Types

type Row = Array[Option[Serializable]]

Inherited types

type MirroredElemLabels <: Tuple

The names of the product elements

The names of the product elements

Attributes

Inherited from:
Mirror
type MirroredLabel <: String

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 mapRawToMeta(table: TableMetadata): ((ColumnMetadata, Option[Serializable])) => (String, Json)
def nextState(event: Event, schema: String): State[TransactionState, Option[TransactionPackage]]
def nullsToOptions(row: Array[Serializable]): Row
def recordToJson(tableMetadata: TableMetadata, includedColumns: Array[Int], record: Array[Option[Serializable]]): Iterable[(String, Json)]
def toTableName(tableId: Long)(implicit transactionState: TransactionState): Option[String]