Package org.apache.drill.exec.cache
Class CachedVectorContainer
java.lang.Object
org.apache.drill.exec.cache.CachedVectorContainer
- All Implemented Interfaces:
Externalizable,Serializable,DrillSerializable
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionCachedVectorContainer(byte[] data, BufferAllocator allocator) CachedVectorContainer(BufferAllocator allocator) CachedVectorContainer(WritableBatch batch, BufferAllocator allocator) -
Method Summary
Modifier and TypeMethodDescriptionvoidclear()get()byte[]getData()voidvoidvoidreadFromStream(InputStream input) voidwrite(DataOutput output) voidvoidwriteToStream(OutputStream output)
-
Constructor Details
-
CachedVectorContainer
-
CachedVectorContainer
-
CachedVectorContainer
-
-
Method Details
-
read
- Specified by:
readin interfaceDrillSerializable- Throws:
IOException
-
write
- Specified by:
writein interfaceDrillSerializable- Throws:
IOException
-
get
-
clear
public void clear() -
getData
public byte[] getData() -
writeExternal
- Specified by:
writeExternalin interfaceExternalizable- Throws:
IOException
-
readFromStream
- Specified by:
readFromStreamin interfaceDrillSerializable- Throws:
IOException
-
writeToStream
- Specified by:
writeToStreamin interfaceDrillSerializable- Throws:
IOException
-
readExternal
- Specified by:
readExternalin interfaceExternalizable- Throws:
IOExceptionClassNotFoundException
-