Class SharedFieldCache.ValueIndex
- java.lang.Object
-
- org.apache.jackrabbit.core.query.lucene.SharedFieldCache.ValueIndex
-
- Enclosing class:
- SharedFieldCache
public static class SharedFieldCache.ValueIndex extends Object
Expert: Stores term text values and document ordering data.
-
-
Constructor Summary
Constructors Constructor Description ValueIndex(Comparable<?>[] values, int setValues)
Creates one of these objects
-
-
-
Field Detail
-
valuesMap
public final Map<Integer,Comparable<?>> valuesMap
Values (Comparable) map indexed by document id.
-
sparse
public final boolean sparse
Boolean indicating whether thevaluesMap
impl has to be used
-
-
Constructor Detail
-
ValueIndex
public ValueIndex(Comparable<?>[] values, int setValues)
Creates one of these objects
-
-
Method Detail
-
getValue
public Comparable<?> getValue(int i)
-
-