org.apache.jackrabbit.core.query.lucene
Class SharedFieldCache.ValueIndex

java.lang.Object
  extended by 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.


Field Summary
 boolean sparse
          Boolean indicating whether the valuesMap impl has to be used
 Map<Integer,Comparable<?>> valuesMap
          Values (Comparable) map indexed by document id.
 
Constructor Summary
SharedFieldCache.ValueIndex(Comparable<?>[] values, int setValues)
          Creates one of these objects
 
Method Summary
 Comparable<?> getValue(int i)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

valuesMap

public final Map<Integer,Comparable<?>> valuesMap
Values (Comparable) map indexed by document id.


sparse

public final boolean sparse
Boolean indicating whether the valuesMap impl has to be used

Constructor Detail

SharedFieldCache.ValueIndex

public SharedFieldCache.ValueIndex(Comparable<?>[] values,
                                   int setValues)
Creates one of these objects

Method Detail

getValue

public Comparable<?> getValue(int i)


Copyright © 2004-2012 The Apache Software Foundation. All Rights Reserved.