Class SlotAcc.LongFuncSlotAcc

All Implemented Interfaces:
Closeable, AutoCloseable
Enclosing class:
SlotAcc

public abstract static class SlotAcc.LongFuncSlotAcc extends SlotAcc.FuncSlotAcc
  • Field Details

    • result

      protected long[] result
    • initialValue

      protected long initialValue
  • Constructor Details

    • LongFuncSlotAcc

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

    • compare

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

      public Object getValue(int slot)
      Specified by:
      getValue 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
    • resize

      public void resize(SlotAcc.Resizer resizer)
      Specified by:
      resize in class SlotAcc