Package org.apache.solr.handler.export
Class LongValue
- java.lang.Object
-
- org.apache.solr.handler.export.LongValue
-
- All Implemented Interfaces:
Comparable<org.apache.solr.handler.export.SortValue>
public class LongValue extends Object
-
-
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(org.apache.solr.handler.export.SortValue o)
LongValue
copy()
Object
getCurrentValue()
String
getField()
boolean
isPresent()
void
reset()
void
setCurrentValue(int docId)
void
setCurrentValue(org.apache.solr.handler.export.SortValue sv)
void
setNextReader(org.apache.lucene.index.LeafReaderContext context)
void
toGlobalValue(org.apache.solr.handler.export.SortValue previousValue)
-
-
-
Field Detail
-
field
protected final String field
-
comp
protected final org.apache.solr.handler.export.LongComp comp
-
vals
protected org.apache.lucene.index.NumericDocValues vals
-
currentValue
protected long currentValue
-
-
Constructor Detail
-
LongValue
public LongValue(String field, org.apache.solr.handler.export.LongComp comp)
-
-
Method Detail
-
getCurrentValue
public Object getCurrentValue()
-
getField
public String getField()
-
copy
public LongValue copy()
-
toGlobalValue
public void toGlobalValue(org.apache.solr.handler.export.SortValue previousValue)
-
setNextReader
public void setNextReader(org.apache.lucene.index.LeafReaderContext context) throws IOException
- Throws:
IOException
-
setCurrentValue
public void setCurrentValue(int docId) throws IOException
- Throws:
IOException
-
isPresent
public boolean isPresent()
-
setCurrentValue
public void setCurrentValue(org.apache.solr.handler.export.SortValue sv)
-
compareTo
public int compareTo(org.apache.solr.handler.export.SortValue o)
- Specified by:
compareTo
in interfaceComparable<org.apache.solr.handler.export.SortValue>
-
reset
public void reset()
-
-