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 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 void setCurrentValue(SortValue sv)
setCurrentValue
in interface SortValue
public int compareTo(SortValue o)
compareTo
in interface Comparable<SortValue>
Copyright © 2000-2021 Apache Software Foundation. All Rights Reserved.