Package herddb.proto
Class PduCodec.TablespaceDumpData
- java.lang.Object
-
- herddb.proto.PduCodec.TablespaceDumpData
-
-
Constructor Summary
Constructors Constructor Description TablespaceDumpData()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static StringreadCommand(Pdu pdu)static StringreadDumpId(Pdu pdu)static longreadEstimatedSize(Pdu pdu)static List<byte[]>readIndexesDefinition(Pdu pdu)static longreadLedgerId(Pdu pdu)static longreadOffset(Pdu pdu)static voidreadRecords(Pdu pdu, BiConsumer<byte[],byte[]> consumer)static byte[]readTableDefinition(Pdu pdu)static StringreadTablespace(Pdu pdu)static io.netty.buffer.ByteBufwrite(long messageId, String tableSpace, String dumpId, String command, byte[] tableDefinition, long estimatedSize, long dumpLedgerid, long dumpOffset, List<byte[]> indexesDefinition, List<KeyValue> records)
-
-
-
Method Detail
-
write
public static io.netty.buffer.ByteBuf write(long messageId, String tableSpace, String dumpId, String command, byte[] tableDefinition, long estimatedSize, long dumpLedgerid, long dumpOffset, List<byte[]> indexesDefinition, List<KeyValue> records)
-
readLedgerId
public static long readLedgerId(Pdu pdu)
-
readOffset
public static long readOffset(Pdu pdu)
-
readEstimatedSize
public static long readEstimatedSize(Pdu pdu)
-
readTableDefinition
public static byte[] readTableDefinition(Pdu pdu)
-
readRecords
public static void readRecords(Pdu pdu, BiConsumer<byte[],byte[]> consumer)
-
-