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 final String field
protected final org.apache.solr.handler.export.LongComp comp
protected NumericDocValues vals
protected long currentValue
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-2021 Apache Software Foundation. All Rights Reserved.