Class LongValue

  • All Implemented Interfaces:
    Comparable<org.apache.solr.handler.export.SortValue>

    public class LongValue
    extends Object
    • 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()
      • 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
      • 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 interface Comparable<org.apache.solr.handler.export.SortValue>
      • reset

        public void reset()