| Constructor and Description |
|---|
TxRecordSerializer() |
| Modifier and Type | Method and Description |
|---|---|
void |
putMvccVersion(ByteBuffer buf,
MvccVersion mvccVer)
Writes
MvccVersion to given buffer. |
MvccTxRecord |
readMvccTx(ByteBufferBackedDataInput in)
Reads
MvccTxRecord from given input. |
MvccVersion |
readMvccVersion(ByteBufferBackedDataInput in)
Reads
MvccVersion from given input. |
TxRecord |
readTx(ByteBufferBackedDataInput in)
Reads
TxRecord from given input. |
int |
size(MvccTxRecord rec)
Returns size of marshalled
TxRecord in bytes. |
int |
size(TxRecord rec)
Returns size of marshalled
TxRecord in bytes. |
void |
write(MvccTxRecord rec,
ByteBuffer buf)
Writes
MvccTxRecord to given buffer. |
void |
write(TxRecord rec,
ByteBuffer buf)
Writes
TxRecord to given buffer. |
public MvccVersion readMvccVersion(ByteBufferBackedDataInput in) throws IOException
MvccVersion from given input.in - Data input to read from.IOExceptionpublic void putMvccVersion(ByteBuffer buf, MvccVersion mvccVer)
MvccVersion to given buffer.buf - Buffer to write.mvccVer - Mvcc version.public void write(TxRecord rec, ByteBuffer buf)
TxRecord to given buffer.rec - TxRecord.buf - Byte buffer.public TxRecord readTx(ByteBufferBackedDataInput in) throws IOException
TxRecord from given input.in - InputIOException - In case of fail.public int size(TxRecord rec)
TxRecord in bytes.rec - TxRecord.public MvccTxRecord readMvccTx(ByteBufferBackedDataInput in) throws IOException
MvccTxRecord from given input.in - InputIOException - In case of fail.public void write(MvccTxRecord rec, ByteBuffer buf) throws IgniteCheckedException
MvccTxRecord to given buffer.rec - MvccTxRecord.buf - Byte buffer.IgniteCheckedException - In case of fail.public int size(MvccTxRecord rec) throws IgniteCheckedException
TxRecord in bytes.rec - TxRecord.IgniteCheckedException - In case of fail.
Follow @ApacheIgnite
Ignite Database and Caching Platform : ver. 2.10.0 Release Date : March 10 2021