Class WireTransferable.ConcreteDeserializer
java.lang.Object
org.apache.druid.query.rowsandcols.semantic.WireTransferable.ConcreteDeserializer
- Enclosing interface:
- WireTransferable
-
Constructor Summary
ConstructorsConstructorDescriptionConcreteDeserializer(com.fasterxml.jackson.databind.ObjectMapper mapper, Map<ByteBuffer, WireTransferable.Deserializer> delegates) -
Method Summary
Modifier and TypeMethodDescriptiondeserialize(ByteBuffer theBytes) Deserializes a ByteBuffer into a RowsAndColumns.
-
Constructor Details
-
ConcreteDeserializer
public ConcreteDeserializer(com.fasterxml.jackson.databind.ObjectMapper mapper, Map<ByteBuffer, WireTransferable.Deserializer> delegates)
-
-
Method Details
-
deserialize
Deserializes a ByteBuffer into a RowsAndColumns. The deserialized object owns the passed-in buffer as well as the data it points to. It is safe for the deserializer to mutate the buffer, retain a reference to it, etc.- Parameters:
theBytes- ByteBuffer to be deserialized, in little-endian order- Returns:
- RowsAndColumns object deserialized from the ByteBuffer
-