Class TypedRecordImpl
java.lang.Object
io.camunda.zeebe.stream.impl.records.TypedRecordImpl
- All Implemented Interfaces:
JsonSerializable,Record,TypedRecord
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncopyOf()longgetKey()intlongintlongintlongintlonglonggetValue()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.stream.api.records.TypedRecord
hasRequestMetadata, isCommandDistributed
-
Constructor Details
-
TypedRecordImpl
public TypedRecordImpl(int partitionId)
-
-
Method Details
-
wrap
-
getMetadata
-
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
-
getAuthorizations
- Specified by:
getAuthorizationsin interfaceRecord
-
getRecordVersion
public int getRecordVersion()- Specified by:
getRecordVersionin interfaceRecord
-
getValueType
- Specified by:
getValueTypein interfaceRecord
-
getOperationReference
public long getOperationReference()- Specified by:
getOperationReferencein 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
-