Class TypedEventImpl
java.lang.Object
io.camunda.zeebe.engine.processing.streamprocessor.TypedEventImpl
- All Implemented Interfaces:
TypedRecord
,JsonSerializable
,Record
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncopyOf()
long
getKey()
int
int
long
long
int
long
long
getValue()
toJson()
toString()
void
wrap
(LoggedEvent rawEvent, RecordMetadata metadata, UnifiedRecordValue value) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface io.camunda.zeebe.engine.processing.streamprocessor.TypedRecord
hasRequestMetadata
-
Constructor Details
-
TypedEventImpl
public TypedEventImpl(int partitionId)
-
-
Method Details
-
wrap
-
getPosition
public long getPosition()- Specified by:
getPosition
in interfaceRecord
-
getSourceRecordPosition
public long getSourceRecordPosition()- Specified by:
getSourceRecordPosition
in interfaceRecord
-
getTimestamp
public long getTimestamp()- Specified by:
getTimestamp
in interfaceRecord
-
getIntent
-
getPartitionId
public int getPartitionId()- Specified by:
getPartitionId
in interfaceRecord
-
getRecordType
- Specified by:
getRecordType
in interfaceRecord
-
getRejectionType
- Specified by:
getRejectionType
in interfaceRecord
-
getRejectionReason
- Specified by:
getRejectionReason
in interfaceRecord
-
getBrokerVersion
- Specified by:
getBrokerVersion
in interfaceRecord
-
getValueType
- Specified by:
getValueType
in interfaceRecord
-
copyOf
-
getKey
public long getKey()- Specified by:
getKey
in interfaceRecord
- Specified by:
getKey
in interfaceTypedRecord
-
getValue
- Specified by:
getValue
in interfaceRecord
- Specified by:
getValue
in interfaceTypedRecord
-
getRequestStreamId
public int getRequestStreamId()- Specified by:
getRequestStreamId
in interfaceTypedRecord
-
getRequestId
public long getRequestId()- Specified by:
getRequestId
in interfaceTypedRecord
-
getLength
public int getLength()- Specified by:
getLength
in interfaceTypedRecord
-
toJson
- Specified by:
toJson
in interfaceJsonSerializable
-
toString
-