org.apache.lucene.util.encoding
Class IntDecoder

java.lang.Object
  extended by org.apache.lucene.util.encoding.IntDecoder
Direct Known Subclasses:
DGapIntDecoder, EightFlagsIntDecoder, FourFlagsIntDecoder, SimpleIntDecoder, VInt8IntDecoder

public abstract class IntDecoder
extends Object

Decodes integers from a set BytesRef.

WARNING: This API is experimental and might change in incompatible ways in the next release.

Constructor Summary
IntDecoder()
           
 
Method Summary
abstract  void decode(BytesRef buf, IntsRef values)
          Decodes the values from the buffer into the given IntsRef.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IntDecoder

public IntDecoder()
Method Detail

decode

public abstract void decode(BytesRef buf,
                            IntsRef values)
Decodes the values from the buffer into the given IntsRef. Note that values.offset and values.length are set to 0.



Copyright © 2000-2013 Apache Software Foundation. All Rights Reserved.