jruby/docs BETA
org.apache.lucene.util 142
I Accountable
C Accountables
C Allocator
C Allocator
C AlreadySetException
C ArrayUtil
I Attribute
C AttributeFactory
C AttributeImpl
I AttributeReflector
C AttributeSource
C BitDocIdSet
C BitSet
C BitSetIterator
C BitUtil
I Bits
C BufferSize
C Builder
C Builder
C Builder
I BulkAdder
I ByteArrayComparator
C ByteBlockPool
C ByteSequencesReader
C ByteSequencesWriter
C BytesRef
C BytesRefArray
C BytesRefBlockPool
C BytesRefBuilder
C BytesRefComparator
C BytesRefHash
I BytesRefIterator
C BytesStartArray
C CharsRef
C CharsRefBuilder
I ClassLoaderUtils
C ClasspathResourceLoader
C CloseableThreadLocal
C CollectionUtil
C CommandLineUtil
C Constants
C Counter
C DenseLiveDocs
C DirectAllocator
C DirectAllocator
C DirectBytesStartArray
C DirectTrackingAllocator
C DocBaseBitSetIterator
C DocIdSetBuilder
C FileDeleter
C FilterIterator
C FixedBitSet
C FixedLengthBytesRefArray
I FloatToFloatFunction
C FrequencyTrackingRingBuffer
C GroupVIntUtil
I IOBooleanSupplier
I IOConsumer
I IOFunction
I IORunnable
I IOSupplier
C IOUtils
A IgnoreRandomChains
C InPlaceMergeSorter
I IndexedBytesRefIterator
C InfoStream
C IntBlockPool
I IntReader
C IntroSelector
C IntroSorter
C IntsRef
C IntsRefBuilder
C JavaLoggingInfoStream
C LSBRadixSorter
I LiveDocs
C LongBitSet
C LongHeap
C LongValues
C LongsRef
C MSBRadixSorter
C MapOfSets
C MatchAllBits
C MatchNoBits
C MathUtil
C MaxBytesLengthExceededException
C MergedIterator
C ModuleResourceLoader
E MsgType
I NamedSPI
C NamedSPILoader
C NamedThreadFactory
C NotDocIdSet
C NumericUtils
C OfflineSorter
C PagedBytes
C PagedBytesDataInput
C PagedBytesDataOutput
C PrintStreamInfoStream
C PriorityQueue
C QueryBuilder
C RadixSelector
C RamUsageEstimator
C Reader
C RecyclingByteBlockAllocator
C RecyclingIntBlockAllocator
C RefCount
C RefCount
I Resettable
I ResourceLoader
I ResourceLoaderAware
C RoaringDocIdSet
C RollingBuffer
C SameThreadExecutorService
C Selector
C SentinelIntSet
C SetOnce
C SloppyMath
C SmallFloat
C SortInfo
C SortState
C Sorter
C SparseFixedBitSet
C SparseLiveDocs
C StableMSBRadixSorter
C State
C StaticImplementationAttributeFactory
C StringHelper
C StringSorter
A SuppressForbidden
R TermAndBoost
R TermAndVector
C TernaryLongHeap
C ThreadInterruptedException
C TimSorter
C ToStringUtils
C UTF8CodePoint
C UnicodeUtil
I Unwrappable
C VectorUtil
C Version
C VirtualMethod
C WeakIdentityMap
IndexedBytesRefIterator — members 1+
M ord() int
from BytesRefIterator
F EMPTY BytesRefIterator
M next() BytesRef

org.apache.lucene.util.IndexedBytesRefIterator

interface abstract implements BytesRefIterator 1 members

An extension of BytesRefIterator that allows retrieving the index of the current element

Instance Methods

ord

int ord ( )
Java: ord()

Returns the ordinal position of the element that was returned in the latest call of #next(). Do not call this method if #next() is not called yet or the last call returned a null value.

Inherited

from BytesRefIterator

fieldtypenote
EMPTY BytesRefIterator Singleton BytesRefIterator that iterates over 0 BytesRefs.

next

BytesRef next ( )
Java: next()

Increments the iteration to the next BytesRef in the iterator. Returns the resulting BytesRef or null if the end of the iterator is reached. The returned BytesRef may be re-used across calls to next. After this method returns null, do not call it again: the results are undefined.

Returns: the next BytesRef in the iterator or null if the end of the iterator is reached.

Throws

IOException If there is a low-level I/O error.
this work for additional information regarding copyright ownership.