Package io.camunda.zeebe.streamprocessor
Class TypedRecordImpl
java.lang.Object
io.camunda.zeebe.streamprocessor.TypedRecordImpl
- All Implemented Interfaces:
TypedRecord,JsonSerializable,Record
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncopyOf()longgetKey()intintlonglongintlonglonggetValue()toJson()toString()voidwrap(LoggedEvent rawEvent, RecordMetadata metadata, UnifiedRecordValue value) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface io.camunda.zeebe.engine.api.TypedRecord
hasRequestMetadata
-
Constructor Details
-
TypedRecordImpl
public TypedRecordImpl(int partitionId)
-
-
Method Details
-
wrap
-
getPosition
public long getPosition()- Specified by:
getPositionin interfaceRecord
-
getSourceRecordPosition
public long getSourceRecordPosition()- Specified by:
getSourceRecordPositionin interfaceRecord
-
getTimestamp
public long getTimestamp()- Specified by:
getTimestampin interfaceRecord
-
getIntent
-
getPartitionId
public int getPartitionId()- Specified by:
getPartitionIdin interfaceRecord
-
getRecordType
- Specified by:
getRecordTypein interfaceRecord
-
getRejectionType
- Specified by:
getRejectionTypein interfaceRecord
-
getRejectionReason
- Specified by:
getRejectionReasonin interfaceRecord
-
getBrokerVersion
- Specified by:
getBrokerVersionin interfaceRecord
-
getValueType
- Specified by:
getValueTypein interfaceRecord
-
copyOf
-
getKey
public long getKey()- Specified by:
getKeyin interfaceRecord- Specified by:
getKeyin interfaceTypedRecord
-
getValue
- Specified by:
getValuein interfaceRecord- Specified by:
getValuein interfaceTypedRecord
-
getRequestStreamId
public int getRequestStreamId()- Specified by:
getRequestStreamIdin interfaceTypedRecord
-
getRequestId
public long getRequestId()- Specified by:
getRequestIdin interfaceTypedRecord
-
getLength
public int getLength()- Specified by:
getLengthin interfaceTypedRecord
-
toJson
- Specified by:
toJsonin interfaceJsonSerializable
-
toString
-