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.LongCompcompprotected longcurrentValueprotected Stringfieldprotected org.apache.lucene.index.NumericDocValuesvals
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intcompareTo(SortValue o)LongValuecopy()ObjectgetCurrentValue()StringgetField()booleanisPresent()voidreset()voidsetCurrentValue(int docId)voidsetCurrentValue(SortValue sv)voidsetNextReader(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:
getCurrentValuein interfaceSortValue
-
setNextReader
public void setNextReader(org.apache.lucene.index.LeafReaderContext context) throws IOException- Specified by:
setNextReaderin interfaceSortValue- Throws:
IOException
-
setCurrentValue
public void setCurrentValue(int docId) throws IOException- Specified by:
setCurrentValuein interfaceSortValue- Throws:
IOException
-
isPresent
public boolean isPresent()
-
setCurrentValue
public void setCurrentValue(SortValue sv)
- Specified by:
setCurrentValuein interfaceSortValue
-
compareTo
public int compareTo(SortValue o)
- Specified by:
compareToin interfaceComparable<SortValue>
-
-