Package org.apache.lucene.util.packed
Interface PackedInts.ReaderIterator
-
- Enclosing class:
- PackedInts
public static interface PackedInts.ReaderIteratorRun-once iterator interface, to decode previously saved PackedInts.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description intgetBitsPerValue()Returns number of bits per valuelongnext()Returns next valueLongsRefnext(int count)Returns at least 1 and at mostcountnext values, the returned ref MUST NOT be modifiedintord()Returns the current positionintsize()Returns number of values
-
-
-
Method Detail
-
next
long next() throws IOException
Returns next value- Throws:
IOException
-
next
LongsRef next(int count) throws IOException
Returns at least 1 and at mostcountnext values, the returned ref MUST NOT be modified- Throws:
IOException
-
getBitsPerValue
int getBitsPerValue()
Returns number of bits per value
-
size
int size()
Returns number of values
-
ord
int ord()
Returns the current position
-
-