public class CountSlotArrAcc extends CountSlotAcc
SlotAcc.Resizer| Constructor and Description |
|---|
CountSlotArrAcc(FacetContext fcontext,
int numSlots) |
| Modifier and Type | Method and Description |
|---|---|
void |
collect(int doc,
int slotNum) |
int |
compare(int slotA,
int slotB) |
int |
getCount(int slot) |
Object |
getValue(int slotNum) |
void |
incrementCount(int slot,
int count) |
void |
reset() |
void |
resize(SlotAcc.Resizer resizer) |
close, collect, setNextReader, setValuespublic CountSlotArrAcc(FacetContext fcontext, int numSlots)
public Object getValue(int slotNum) throws IOException
getValue in class SlotAccIOExceptionpublic void incrementCount(int slot,
int count)
incrementCount in class CountSlotAccpublic int getCount(int slot)
getCount in class CountSlotAccpublic void resize(SlotAcc.Resizer resizer)
Copyright © 2000-2018 Apache Software Foundation. All Rights Reserved.