Package io.debezium.engine
Record Class DebeziumEngine.Signal
java.lang.Object
java.lang.Record
io.debezium.engine.DebeziumEngine.Signal
- Record Components:
id- the unique identifier of the signal sent, usually UUID, can be used for deduplicationtype- the unique logical name of the code executing the signaldata- the data in JSON format that are passed to the signal codeadditionalData- additional data which might be required by specific signal types
- Enclosing interface:
DebeziumEngine<R>
@Incubating
public static record DebeziumEngine.Signal(String id, String type, String data, Map<String,Object> additionalData)
extends Record
A record representing signal sent to the engine via
DebeziumEngine.Signaler.-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of theadditionalDatarecord component.data()Returns the value of thedatarecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.id()Returns the value of theidrecord component.final StringtoString()Returns a string representation of this record class.type()Returns the value of thetyperecord component.
-
Field Details
-
id
The field for theidrecord component. -
type
The field for thetyperecord component. -
data
The field for thedatarecord component. -
additionalData
The field for theadditionalDatarecord component.
-
-
Constructor Details
-
Signal
Creates an instance of aSignalrecord class.- Parameters:
id- the value for theidrecord componenttype- the value for thetyperecord componentdata- the value for thedatarecord componentadditionalData- the value for theadditionalDatarecord component
-
-
Method Details
-
toString
Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components. -
hashCode
public final int hashCode()Returns a hash code value for this object. The value is derived from the hash code of each of the record components. -
equals
Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. All components in this record class are compared withObjects::equals(Object,Object). -
id
Returns the value of theidrecord component.- Returns:
- the value of the
idrecord component
-
type
Returns the value of thetyperecord component.- Returns:
- the value of the
typerecord component
-
data
Returns the value of thedatarecord component.- Returns:
- the value of the
datarecord component
-
additionalData
Returns the value of theadditionalDatarecord component.- Returns:
- the value of the
additionalDatarecord component
-