public static class SharedFieldCache.ValueIndex extends Object
| Modifier and Type | Field and Description | 
|---|---|
boolean | 
sparse
Boolean indicating whether the  
valuesMap impl has to be used | 
Map<Integer,Comparable<?>> | 
valuesMap
Values (Comparable) map indexed by document id. 
 | 
| Constructor and Description | 
|---|
SharedFieldCache.ValueIndex(Comparable<?>[] values,
                           int setValues)
Creates one of these objects 
 | 
public final Map<Integer,Comparable<?>> valuesMap
public final boolean sparse
valuesMap impl has to be usedpublic SharedFieldCache.ValueIndex(Comparable<?>[] values, int setValues)
public Comparable<?> getValue(int i)
Copyright © 2004-2020 The Apache Software Foundation. All Rights Reserved.