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 SortValue
public void setNextReader(LeafReaderContext context) throws IOException
setNextReader
in interface SortValue
IOException
public void setCurrentValue(int docId) throws IOException
setCurrentValue
in interface SortValue
IOException
public boolean isPresent()
public int compareTo(SortValue o)
compareTo
in interface Comparable<SortValue>
public void setCurrentValue(SortValue sv)
setCurrentValue
in interface SortValue
Copyright © 2000-2020 Apache Software Foundation. All Rights Reserved.