krati.core.array.entry
Class EntryValueBatch
java.lang.Object
krati.core.array.entry.EntryValueBatch
- Direct Known Subclasses:
- EntryValueBatchInt, EntryValueBatchLong, EntryValueBatchShort
public abstract class EntryValueBatch
- extends Object
Constructor Summary |
protected |
EntryValueBatch(int valueSize,
int valueCapacity)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
_valueSize
protected final int _valueSize
_valueCapacity
protected final int _valueCapacity
_buffer
protected final ByteBuffer _buffer
EntryValueBatch
protected EntryValueBatch(int valueSize,
int valueCapacity)
getCapacity
public int getCapacity()
getByteCapacity
public int getByteCapacity()
getInternalBuffer
public ByteBuffer getInternalBuffer()
write
public void write(FileChannel channel)
throws IOException
- Throws:
IOException
clear
public void clear()
Copyright © 2011. All Rights Reserved.