org.apache.lucene.facet.encoding
Class FourFlagsIntDecoder
java.lang.Object
org.apache.lucene.facet.encoding.IntDecoder
org.apache.lucene.facet.encoding.FourFlagsIntDecoder
- Direct Known Subclasses:
- NOnesIntDecoder
public class FourFlagsIntDecoder
- extends IntDecoder
Decodes values encoded with FourFlagsIntEncoder
.
- WARNING: This API is experimental and might change in incompatible ways in the next release.
FourFlagsIntDecoder
public FourFlagsIntDecoder()
decode
public void decode(BytesRef buf,
IntsRef values)
- Description copied from class:
IntDecoder
- Decodes the values from the buffer into the given
IntsRef
. Note
that values.offset
is set to 0, and values.length
is
updated to denote the number of decoded values.
- Specified by:
decode
in class IntDecoder
toString
public String toString()
- Overrides:
toString
in class Object
Copyright © 2000-2013 Apache Software Foundation. All Rights Reserved.