replication-impl / io.floodplain.replication.impl / ReplicationImmutableMessageImpl

ReplicationImmutableMessageImpl

open class ReplicationImmutableMessageImpl : ReplicationMessage

Constructors

<init>

ReplicationImmutableMessageImpl(source: Optional<String!>!, partition: Optional<Int!>!, offset: Optional<Long!>!, transactionId: String!, operation: Operation!, timestamp: Long, values: MutableMap<String!, Any!>!, types: MutableMap<String!, ValueType!>!, submessage: MutableMap<String!, ImmutableMessage!>!, submessages: MutableMap<String!, MutableList<ImmutableMessage!>!>!, primaryKeys: MutableList<String!>!, commitAction: Optional<Runnable!>!, paramMessage: Optional<ImmutableMessage!>!)
ReplicationImmutableMessageImpl(source: Optional<String!>!, partition: Optional<Int!>!, offset: Optional<Long!>!, transactionId: String!, operation: Operation!, timestamp: Long, parentMessage: ImmutableMessage!, primaryKeys: MutableList<String!>!, commitAction: Optional<Runnable!>!, paramMessage: Optional<ImmutableMessage!>!)
ReplicationImmutableMessageImpl(t: Throwable!)
ReplicationImmutableMessageImpl(initial: MutableMap<String!, Any!>!)

Functions

atTime

open fun atTime(timestamp: Long): ReplicationMessage!

columnNames

open fun columnNames(): MutableSet<String!>!

columnType

open fun columnType(name: String!): ValueType!

equals

open fun equals(other: Any?): Boolean

equalsByKey

open fun equalsByKey(other: ReplicationMessage!): Boolean

equalsToMessage

open fun equalsToMessage(c: ReplicationMessage!): Boolean

flatValueMap

open fun flatValueMap(ignoreNull: Boolean, ignore: MutableSet<String!>!, prefix: String!): MutableMap<String!, Any!>!

hashCode

open fun hashCode(): Int

isErrorMessage

open fun isErrorMessage(): Boolean

message

open fun message(): ImmutableMessage!

now

open fun now(): ReplicationMessage!

operation

open fun operation(): Operation!

paramMessage

open fun paramMessage(): Optional<ImmutableMessage!>!

primaryKeys

open fun primaryKeys(): MutableList<String!>!

queueKey

open fun queueKey(): String!

rename

open fun rename(columnName: String!, newName: String!): ReplicationMessage!

source

open fun source(): Optional<String!>!

subMessage

open fun subMessage(field: String!): Optional<ImmutableMessage!>!

subMessageListNames

open fun subMessageListNames(): MutableSet<String!>!

subMessages

open fun subMessages(field: String!): Optional<MutableList<ImmutableMessage!>!>!

timestamp

open fun timestamp(): Long

toBytes

open fun toBytes(c: ReplicationMessageParser!): ByteArray!

toFlatString

open fun toFlatString(parser: ReplicationMessageParser!): String!

toString

open fun toString(): String

transactionId

open fun transactionId(): String!

value

open fun value(columnName: String!): Optional<Any!>!

valueMap

open fun valueMap(ignoreNull: Boolean, ignore: MutableSet<String!>!): MutableMap<String!, Any!>!
open fun valueMap(ignoreNull: Boolean, ignore: MutableSet<String!>!, currentPath: MutableList<String!>!): MutableMap<String!, Any!>!

values

open fun values(): MutableMap<String!, Any!>!

with

open fun with(key: String!, value: Any!, type: ValueType!): ReplicationMessage!

withAddedSubMessage

open fun withAddedSubMessage(field: String!, message: ImmutableMessage!): ReplicationMessage!

withImmutableMessage

open fun withImmutableMessage(msg: ImmutableMessage!): ReplicationMessage!

withOperation

open fun withOperation(operation: Operation!): ReplicationMessage!

without

open fun without(columnName: String!): ReplicationMessage!
open fun without(columns: MutableList<String!>!): ReplicationMessage!

withoutParamMessage

open fun withoutParamMessage(): ReplicationMessage!

withoutSubMessage

open fun withoutSubMessage(field: String!): ReplicationMessage!

withoutSubMessageInList

open fun withoutSubMessageInList(field: String!, selector: Predicate<ImmutableMessage!>!): ReplicationMessage!

withoutSubMessages

open fun withoutSubMessages(field: String!): ReplicationMessage!

withParamMessage

open fun withParamMessage(msg: ImmutableMessage!): ReplicationMessage!

withPrimaryKeys

open fun withPrimaryKeys(primary: MutableList<String!>!): ReplicationMessage!

withSubMessage

open fun withSubMessage(field: String!, message: ImmutableMessage!): ReplicationMessage!

withSubMessages

open fun withSubMessages(field: String!, message: MutableList<ImmutableMessage!>!): ReplicationMessage!