public class CachedVectorContainer extends Object
| Constructor and Description |
|---|
CachedVectorContainer(BufferAllocator allocator) |
CachedVectorContainer(byte[] data,
BufferAllocator allocator) |
CachedVectorContainer(WritableBatch batch,
BufferAllocator allocator) |
| Modifier and Type | Method and Description |
|---|---|
void |
clear() |
VectorAccessible |
get() |
byte[] |
getData() |
void |
read(DataInput input) |
void |
readExternal(ObjectInput in) |
void |
readFromStream(InputStream input) |
void |
write(DataOutput output) |
void |
writeExternal(ObjectOutput out) |
void |
writeToStream(OutputStream output) |
public CachedVectorContainer(WritableBatch batch, BufferAllocator allocator)
public CachedVectorContainer(BufferAllocator allocator)
public CachedVectorContainer(byte[] data,
BufferAllocator allocator)
public void read(DataInput input) throws IOException
read in interface DrillSerializableIOExceptionpublic void write(DataOutput output) throws IOException
write in interface DrillSerializableIOExceptionpublic VectorAccessible get()
public void clear()
public byte[] getData()
public void writeExternal(ObjectOutput out) throws IOException
writeExternal in interface ExternalizableIOExceptionpublic void readFromStream(InputStream input) throws IOException
readFromStream in interface DrillSerializableIOExceptionpublic void writeToStream(OutputStream output) throws IOException
writeToStream in interface DrillSerializableIOExceptionpublic void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
readExternal in interface ExternalizableIOExceptionClassNotFoundExceptionCopyright © 2021 The Apache Software Foundation. All rights reserved.