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