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 TypeMethodDescriptionvoid
close()
int
long
int
int
write
(VectorAccessible va, SelectionVector2 sv2) int
write
(WritableBatch batch, SelectionVector2 sv2)
-
Method Details
-
write
- Throws:
IOException
-
write
- Throws:
IOException
-
write
- Throws:
IOException
-
close
- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in interfaceCloseable
- Throws:
IOException
-
time
-
getBytesWritten
public int getBytesWritten()
-