Package org.apache.solr.search.facet
Class SlotAcc.LongFuncSlotAcc
- java.lang.Object
-
- org.apache.solr.search.facet.SlotAcc
-
- org.apache.solr.search.facet.SlotAcc.FuncSlotAcc
-
- org.apache.solr.search.facet.SlotAcc.LongFuncSlotAcc
-
- All Implemented Interfaces:
Closeable
,AutoCloseable
- Enclosing class:
- SlotAcc
public abstract static class SlotAcc.LongFuncSlotAcc extends SlotAcc.FuncSlotAcc
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.apache.solr.search.facet.SlotAcc
SlotAcc.DoubleFuncSlotAcc, SlotAcc.FuncSlotAcc, SlotAcc.IntSlotAcc, SlotAcc.LongFuncSlotAcc, SlotAcc.Resizer, SlotAcc.SlotContext
-
-
Field Summary
Fields Modifier and Type Field Description protected long
initialValue
protected long[]
result
-
Fields inherited from class org.apache.solr.search.facet.SlotAcc.FuncSlotAcc
values, valueSource
-
Fields inherited from class org.apache.solr.search.facet.SlotAcc
currentDocBase, currentReaderContext, fcontext
-
-
Constructor Summary
Constructors Constructor Description LongFuncSlotAcc(org.apache.lucene.queries.function.ValueSource values, FacetContext fcontext, int numSlots, long initialValue)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
compare(int slotA, int slotB)
Object
getValue(int slot)
void
reset()
Called to reset the acc to a fresh state, ready for reusevoid
resize(SlotAcc.Resizer resizer)
-
Methods inherited from class org.apache.solr.search.facet.SlotAcc.FuncSlotAcc
setNextReader
-
-
-
-
Constructor Detail
-
LongFuncSlotAcc
public LongFuncSlotAcc(org.apache.lucene.queries.function.ValueSource values, FacetContext fcontext, int numSlots, long initialValue)
-
-
Method Detail
-
reset
public void reset()
Description copied from class:SlotAcc
Called to reset the acc to a fresh state, ready for reuse
-
resize
public void resize(SlotAcc.Resizer resizer)
-
-