public class ByteBitPackingValuesWriter extends ValuesWriter
Constructor and Description |
---|
ByteBitPackingValuesWriter(int bound,
Packer packer) |
Modifier and Type | Method and Description |
---|---|
long |
getAllocatedSize() |
long |
getBufferedSize()
used to decide if we want to work to the next page
|
BytesInput |
getBytes() |
Encoding |
getEncoding()
called after getBytes() and before reset()
|
String |
memUsageString(String prefix) |
void |
reset()
called after getBytes() to reset the current buffer and start writing the next page
|
void |
writeInteger(int v) |
createDictionaryPage, resetDictionary, writeBoolean, writeByte, writeBytes, writeDouble, writeFloat, writeLong
public ByteBitPackingValuesWriter(int bound, Packer packer)
public void writeInteger(int v)
writeInteger
in class ValuesWriter
public Encoding getEncoding()
ValuesWriter
getEncoding
in class ValuesWriter
public BytesInput getBytes()
getBytes
in class ValuesWriter
public void reset()
ValuesWriter
reset
in class ValuesWriter
public long getBufferedSize()
ValuesWriter
getBufferedSize
in class ValuesWriter
public long getAllocatedSize()
getAllocatedSize
in class ValuesWriter
public String memUsageString(String prefix)
memUsageString
in class ValuesWriter
Copyright © 2015. All rights reserved.