Class UnwrittenRecord
java.lang.Object
io.camunda.zeebe.stream.impl.records.UnwrittenRecord
- All Implemented Interfaces:
JsonSerializable,Record,TypedRecord
-
Constructor Summary
ConstructorsConstructorDescriptionUnwrittenRecord(long key, int partitionId, UnifiedRecordValue value, RecordMetadata metadata) -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface io.camunda.zeebe.protocol.record.JsonSerializable
toJsonMethods inherited from interface io.camunda.zeebe.stream.api.records.TypedRecord
hasRequestMetadata, isCommandDistributed
-
Constructor Details
-
UnwrittenRecord
public UnwrittenRecord(long key, int partitionId, UnifiedRecordValue value, RecordMetadata metadata)
-
-
Method Details
-
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
-
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
-