public class IntValue extends Object implements SortValue
| Modifier and Type | Field and Description | 
|---|---|
| protected IntComp | comp | 
| protected int | currentValue | 
| protected String | field | 
| protected boolean | present | 
| protected NumericDocValues | vals | 
| Modifier and Type | Method and Description | 
|---|---|
| int | compareTo(SortValue o) | 
| IntValue | copy() | 
| Object | getCurrentValue() | 
| String | getField() | 
| boolean | isPresent() | 
| void | reset() | 
| void | setCurrentValue(int docId) | 
| void | setCurrentValue(SortValue sv) | 
| void | setNextReader(LeafReaderContext context) | 
protected NumericDocValues vals
protected String field
protected int currentValue
protected IntComp comp
protected boolean present
public Object getCurrentValue()
getCurrentValue in interface SortValuepublic void setNextReader(LeafReaderContext context) throws IOException
setNextReader in interface SortValueIOExceptionpublic void setCurrentValue(int docId)
                     throws IOException
setCurrentValue in interface SortValueIOExceptionpublic boolean isPresent()
public int compareTo(SortValue o)
compareTo in interface Comparable<SortValue>public void setCurrentValue(SortValue sv)
setCurrentValue in interface SortValueCopyright © 2000-2020 Apache Software Foundation. All Rights Reserved.