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.LongCompcompprotected longcurrentValueprotected Stringfieldprotected org.apache.lucene.index.NumericDocValuesvals
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intcompareTo(org.apache.solr.handler.export.SortValue o)LongValuecopy()ObjectgetCurrentValue()StringgetField()booleanisPresent()voidreset()voidsetCurrentValue(int docId)voidsetCurrentValue(org.apache.solr.handler.export.SortValue sv)voidsetNextReader(org.apache.lucene.index.LeafReaderContext context)voidtoGlobalValue(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:
compareToin interfaceComparable<org.apache.solr.handler.export.SortValue>
-
reset
public void reset()
-
-