Package org.apache.solr.search.facet
Class SlotAcc.IntSlotAcc
- java.lang.Object
-
- org.apache.solr.search.facet.SlotAcc
-
- org.apache.solr.search.facet.SlotAcc.IntSlotAcc
-
- All Implemented Interfaces:
Closeable
,AutoCloseable
- Enclosing class:
- SlotAcc
public abstract static class SlotAcc.IntSlotAcc extends SlotAcc
-
-
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 int
initialValue
protected int[]
result
-
Fields inherited from class org.apache.solr.search.facet.SlotAcc
currentDocBase, currentReaderContext, fcontext
-
-
Constructor Summary
Constructors Constructor Description IntSlotAcc(FacetContext fcontext, int numSlots, int 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
close, collect, collect, resetIterators, setNextReader, setValues, toString
-
-
-
-
Constructor Detail
-
IntSlotAcc
public IntSlotAcc(FacetContext fcontext, int numSlots, int 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)
-
-