Package org.apache.drill.exec.cache
Class VectorSerializer.Writer
java.lang.Object
org.apache.drill.exec.cache.VectorSerializer.Writer
- All Implemented Interfaces:
Closeable,AutoCloseable
- Enclosing class:
VectorSerializer
Writes multiple VectorAccessible or VectorContainer
objects to an output stream.
-
Method Summary
Modifier and TypeMethodDescriptionvoidclose()intlongintintwrite(VectorAccessible va, SelectionVector2 sv2) intwrite(WritableBatch batch, SelectionVector2 sv2)
-
Method Details
-
write
- Throws:
IOException
-
write
- Throws:
IOException
-
write
- Throws:
IOException
-
close
- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable- Throws:
IOException
-
time
-
getBytesWritten
public int getBytesWritten()
-