Package org.apache.solr.handler.export
Class LongValue
- java.lang.Object
-
- org.apache.solr.handler.export.LongValue
-
- All Implemented Interfaces:
Comparable<SortValue>
,SortValue
public class LongValue extends Object implements SortValue
-
-
Field Summary
Fields Modifier and Type Field Description protected org.apache.solr.handler.export.LongComp
comp
protected long
currentValue
protected String
field
protected org.apache.lucene.index.NumericDocValues
vals
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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(org.apache.lucene.index.LeafReaderContext context)
-
-
-
Field Detail
-
vals
protected org.apache.lucene.index.NumericDocValues vals
-
field
protected String field
-
currentValue
protected long currentValue
-
comp
protected org.apache.solr.handler.export.LongComp comp
-
-
Constructor Detail
-
LongValue
public LongValue(String field, org.apache.solr.handler.export.LongComp comp)
-
-
Method Detail
-
getCurrentValue
public Object getCurrentValue()
- Specified by:
getCurrentValue
in interfaceSortValue
-
setNextReader
public void setNextReader(org.apache.lucene.index.LeafReaderContext context) throws IOException
- Specified by:
setNextReader
in interfaceSortValue
- Throws:
IOException
-
setCurrentValue
public void setCurrentValue(int docId) throws IOException
- Specified by:
setCurrentValue
in interfaceSortValue
- Throws:
IOException
-
isPresent
public boolean isPresent()
-
setCurrentValue
public void setCurrentValue(SortValue sv)
- Specified by:
setCurrentValue
in interfaceSortValue
-
compareTo
public int compareTo(SortValue o)
- Specified by:
compareTo
in interfaceComparable<SortValue>
-
-