Class TypedEventImpl
- java.lang.Object
-
- io.zeebe.engine.processing.streamprocessor.TypedEventImpl
-
- All Implemented Interfaces:
TypedRecord,JsonSerializable,Record,Cloneable
public final class TypedEventImpl extends Object implements TypedRecord
-
-
Constructor Summary
Constructors Constructor Description TypedEventImpl(int partitionId)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Recordclone()StringgetBrokerVersion()IntentgetIntent()longgetKey()longgetLength()intgetPartitionId()longgetPosition()RecordTypegetRecordType()StringgetRejectionReason()RejectionTypegetRejectionType()longgetRequestId()intgetRequestStreamId()longgetSourceRecordPosition()longgetTimestamp()UnifiedRecordValuegetValue()ValueTypegetValueType()StringtoJson()StringtoString()voidwrap(LoggedEvent rawEvent, RecordMetadata metadata, UnifiedRecordValue value)-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface io.zeebe.engine.processing.streamprocessor.TypedRecord
hasRequestMetadata
-
-
-
-
Method Detail
-
wrap
public void wrap(LoggedEvent rawEvent, RecordMetadata metadata, UnifiedRecordValue value)
-
getPosition
public long getPosition()
- Specified by:
getPositionin interfaceRecord
-
getSourceRecordPosition
public long getSourceRecordPosition()
- Specified by:
getSourceRecordPositionin interfaceRecord
-
getTimestamp
public long getTimestamp()
- Specified by:
getTimestampin interfaceRecord
-
getPartitionId
public int getPartitionId()
- Specified by:
getPartitionIdin interfaceRecord
-
getRecordType
public RecordType getRecordType()
- Specified by:
getRecordTypein interfaceRecord
-
getRejectionType
public RejectionType getRejectionType()
- Specified by:
getRejectionTypein interfaceRecord
-
getRejectionReason
public String getRejectionReason()
- Specified by:
getRejectionReasonin interfaceRecord
-
getBrokerVersion
public String getBrokerVersion()
- Specified by:
getBrokerVersionin interfaceRecord
-
getValueType
public ValueType getValueType()
- Specified by:
getValueTypein interfaceRecord
-
getKey
public long getKey()
- Specified by:
getKeyin interfaceRecord- Specified by:
getKeyin interfaceTypedRecord
-
getValue
public UnifiedRecordValue 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 long getLength()
- Specified by:
getLengthin interfaceTypedRecord
-
toJson
public String toJson()
- Specified by:
toJsonin interfaceJsonSerializable
-
clone
public Record clone()
-
-