Class SlotAcc.SlotContext

  • Enclosing class:
    SlotAcc

    public static class SlotAcc.SlotContext
    extends Object
    Incapsulates information about the current slot, for Accumulators that may want additional info during collection.
    • Constructor Detail

      • SlotContext

        public SlotContext​(org.apache.lucene.search.Query slotQuery)
    • Method Detail

      • getSlotQuery

        public org.apache.lucene.search.Query getSlotQuery()
        behavior of this method is undefined if isAllBuckets() returns true
      • isAllBuckets

        public boolean isAllBuckets()
        Returns:
        true if and only if this slot corrisponds to the allBuckets bucket.
        See Also:
        getSlotQuery()