Package org.apache.drill.exec.cache
Class VectorSerializer
java.lang.Object
org.apache.drill.exec.cache.VectorSerializer
Serializes vector containers to an output stream or from
an input stream.
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
Read one or more vector containers from an input stream.static class
Writes multiple VectorAccessible or VectorContainer objects to an output stream. -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic VectorSerializer.Reader
reader
(BufferAllocator allocator, InputStream stream) static VectorSerializer.Writer
writer
(WritableByteChannel channel)
-
Constructor Details
-
VectorSerializer
public VectorSerializer()
-
-
Method Details
-
writer
- Throws:
IOException
-
reader
-