final case class CDCSequence(state: Seq[CDCState] = _root_.scala.Seq.empty, commitId: ByteString = _root_.com.google.protobuf.ByteString.EMPTY, commitTimestamp: Long = 0L, unknownFields: UnknownFieldSet = _root_.scalapb.UnknownFieldSet.empty) extends GeneratedMessage with Updatable[CDCSequence] with Product with Serializable
A grouped set of all operations that affect a cluster of related vector_ids in a single processing run.
Operations within state are ordered by type: DELETE → SPLIT → UNION → APPEND → ALIVE.
All entries share connected vector_ids — if operation A references vector_id X
and operation B references vector_id X (as either vector_id or prev_vector_id),
they belong to the same CDCSequence.
Example — Ultimate scenario (one Kafka message): state = [ { operation: DELETE, prev_vector_id: a, user_id: [ifv_dead] }, { operation: SPLIT, vector_id: d, prev_vector_id: a, user_id: [ifv1] }, { operation: SPLIT, vector_id: e, prev_vector_id: b, user_id: [ifv3] }, { operation: UNION, vector_id: c, prev_vector_id: a, user_id: [ifv2] }, { operation: UNION, vector_id: c, prev_vector_id: b, user_id: [ifv4] }, { operation: APPEND, vector_id: c, user_id: [ifv_new] }, ]
Example — ALIVE heartbeat (separate message, no structural changes): state = [ { operation: ALIVE, vector_id: a }, ]
- state
Chronologically ordered state changes (DELETE → SPLIT → UNION → APPEND → ALIVE)
- commitId
Meta information for debugging and metrics, shows which run the changes were pulled from
- commitTimestamp
Run batch processing completion time
- Annotations
- @SerialVersionUID()
- Alphabetic
- By Inheritance
- CDCSequence
- Updatable
- GeneratedMessage
- Serializable
- Product
- Equals
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Instance Constructors
- new CDCSequence(state: Seq[CDCState] = _root_.scala.Seq.empty, commitId: ByteString = _root_.com.google.protobuf.ByteString.EMPTY, commitTimestamp: Long = 0L, unknownFields: UnknownFieldSet = _root_.scalapb.UnknownFieldSet.empty)
- state
Chronologically ordered state changes (DELETE → SPLIT → UNION → APPEND → ALIVE)
- commitId
Meta information for debugging and metrics, shows which run the changes were pulled from
- commitTimestamp
Run batch processing completion time
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- def addAllState(__vs: Iterable[CDCState]): CDCSequence
- def addState(__vs: CDCState*): CDCSequence
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clearState: CDCSequence
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @IntrinsicCandidate() @native()
- val commitId: ByteString
- val commitTimestamp: Long
- def companion: CDCSequence.type
- Definition Classes
- CDCSequence → GeneratedMessage
- def discardUnknownFields: CDCSequence
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @IntrinsicCandidate() @native()
- def getField(__field: FieldDescriptor): PValue
- Definition Classes
- CDCSequence → GeneratedMessage
- def getFieldByNumber(__fieldNumber: Int): Any
- Definition Classes
- CDCSequence → GeneratedMessage
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @IntrinsicCandidate() @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @IntrinsicCandidate() @native()
- def productElementNames: Iterator[String]
- Definition Classes
- Product
- def serializedSize: Int
- Definition Classes
- CDCSequence → GeneratedMessage
- val state: Seq[CDCState]
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- final def toByteArray: Array[Byte]
- Definition Classes
- GeneratedMessage
- final def toByteString: ByteString
- Definition Classes
- GeneratedMessage
- final def toPMessage: PMessage
- Definition Classes
- GeneratedMessage
- def toProtoString: String
- Definition Classes
- CDCSequence → GeneratedMessage
- val unknownFields: UnknownFieldSet
- def update(ms: (Lens[CDCSequence, CDCSequence]) => Mutation[CDCSequence]*): CDCSequence
- Definition Classes
- Updatable
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- def withCommitId(__v: ByteString): CDCSequence
- def withCommitTimestamp(__v: Long): CDCSequence
- def withState(__v: Seq[CDCState]): CDCSequence
- def withUnknownFields(__v: UnknownFieldSet): CDCSequence
- final def writeDelimitedTo(output: OutputStream): Unit
- Definition Classes
- GeneratedMessage
- def writeTo(_output__: CodedOutputStream): Unit
- Definition Classes
- CDCSequence → GeneratedMessage
- final def writeTo(output: OutputStream): Unit
- Definition Classes
- GeneratedMessage
Deprecated Value Members
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable]) @Deprecated
- Deprecated
(Since version 9)