Class SlotAcc.LongFuncSlotAcc

    • Field Detail

      • result

        protected long[] result
      • initialValue

        protected long initialValue
    • Constructor Detail

      • LongFuncSlotAcc

        public LongFuncSlotAcc​(org.apache.lucene.queries.function.ValueSource values,
                               FacetContext fcontext,
                               int numSlots,
                               long initialValue)
    • Method Detail

      • compare

        public int compare​(int slotA,
                           int slotB)
        Specified by:
        compare in class SlotAcc
      • reset

        public void reset()
        Description copied from class: SlotAcc
        Called to reset the acc to a fresh state, ready for reuse
        Specified by:
        reset in class SlotAcc