Class IndexedRecord
- java.lang.Object
-
- io.camunda.zeebe.msgpack.value.BaseValue
-
- io.camunda.zeebe.msgpack.value.ObjectValue
-
- io.camunda.zeebe.msgpack.UnpackedObject
-
- io.camunda.zeebe.engine.state.instance.IndexedRecord
-
- All Implemented Interfaces:
DbValue
,Recyclable
,BufferReader
,BufferWriter
public final class IndexedRecord extends UnpackedObject implements DbValue
-
-
Field Summary
-
Fields inherited from class io.camunda.zeebe.msgpack.UnpackedObject
reader, writer
-
-
Constructor Summary
Constructors Constructor Description IndexedRecord(long key, ProcessInstanceIntent instanceState, ProcessInstanceRecord record)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description long
getKey()
ProcessInstanceIntent
getState()
ProcessInstanceRecord
getValue()
boolean
hasState(ProcessInstanceIntent state)
IndexedRecord
setKey(long key)
IndexedRecord
setState(ProcessInstanceIntent state)
IndexedRecord
setValue(ProcessInstanceRecord value)
void
wrap(org.agrona.DirectBuffer buffer, int offset, int length)
-
Methods inherited from class io.camunda.zeebe.msgpack.UnpackedObject
getLength, wrap, write
-
Methods inherited from class io.camunda.zeebe.msgpack.value.ObjectValue
declareProperty, equals, getEncodedLength, hashCode, read, reset, write, writeJSON
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface io.camunda.zeebe.util.buffer.BufferWriter
getLength, write
-
Methods inherited from interface io.camunda.zeebe.msgpack.Recyclable
reset
-
-
-
-
Constructor Detail
-
IndexedRecord
public IndexedRecord(long key, ProcessInstanceIntent instanceState, ProcessInstanceRecord record)
-
-
Method Detail
-
getKey
public long getKey()
-
setKey
public IndexedRecord setKey(long key)
-
getState
public ProcessInstanceIntent getState()
-
setState
public IndexedRecord setState(ProcessInstanceIntent state)
-
hasState
public boolean hasState(ProcessInstanceIntent state)
-
getValue
public ProcessInstanceRecord getValue()
-
setValue
public IndexedRecord setValue(ProcessInstanceRecord value)
-
wrap
public void wrap(org.agrona.DirectBuffer buffer, int offset, int length)
- Specified by:
wrap
in interfaceBufferReader
- Overrides:
wrap
in classUnpackedObject
-
-