public final class DGapVInt8IntEncoder extends IntEncoder
IntEncoder
which implements variable length encoding for the gap
between values. It's a specialized form of the combination of
DGapIntEncoder
and VInt8IntEncoder
.VInt8IntEncoder
,
DGapIntEncoder
Constructor and Description |
---|
DGapVInt8IntEncoder() |
Modifier and Type | Method and Description |
---|---|
IntDecoder |
createMatchingDecoder()
Returns an
IntDecoder which can decode the values that were encoded
with this encoder. |
void |
encode(IntsRef values,
BytesRef buf)
Encodes the values to the given buffer.
|
String |
toString() |
public void encode(IntsRef values, BytesRef buf)
IntEncoder
encode
in class IntEncoder
public IntDecoder createMatchingDecoder()
IntEncoder
IntDecoder
which can decode the values that were encoded
with this encoder.createMatchingDecoder
in class IntEncoder
Copyright © 2000-2013 Apache Software Foundation. All Rights Reserved.