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 DrillSerializable
IOException
public void write(DataOutput output) throws IOException
write
in interface DrillSerializable
IOException
public VectorAccessible get()
public void clear()
public byte[] getData()
public void writeExternal(ObjectOutput out) throws IOException
writeExternal
in interface Externalizable
IOException
public void readFromStream(InputStream input) throws IOException
readFromStream
in interface DrillSerializable
IOException
public void writeToStream(OutputStream output) throws IOException
writeToStream
in interface DrillSerializable
IOException
public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
readExternal
in interface Externalizable
IOException
ClassNotFoundException
Copyright © 1970 The Apache Software Foundation. All rights reserved.