public class LongValue extends Object implements SortValue
| Modifier and Type | Field and Description |
|---|---|
protected org.apache.solr.handler.export.LongComp |
comp |
protected long |
currentValue |
protected String |
field |
protected NumericDocValues |
vals |
| Constructor and Description |
|---|
LongValue(String field,
org.apache.solr.handler.export.LongComp comp) |
| Modifier and Type | Method and Description |
|---|---|
int |
compareTo(SortValue o) |
LongValue |
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 long currentValue
protected org.apache.solr.handler.export.LongComp comp
public LongValue(String field, org.apache.solr.handler.export.LongComp comp)
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 void setCurrentValue(SortValue sv)
setCurrentValue in interface SortValuepublic int compareTo(SortValue o)
compareTo in interface Comparable<SortValue>Copyright © 2000-2020 Apache Software Foundation. All Rights Reserved.