public abstract class SlotAcc extends Object implements Closeable
| Modifier and Type | Class and Description |
|---|---|
static class |
SlotAcc.Resizer |
| Modifier and Type | Field and Description |
|---|---|
protected org.apache.solr.search.facet.FacetContext |
fcontext |
| Constructor and Description |
|---|
SlotAcc(org.apache.solr.search.facet.FacetContext fcontext) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
int |
collect(DocSet docs,
int slot) |
abstract void |
collect(int doc,
int slot) |
abstract int |
compare(int slotA,
int slotB) |
abstract Object |
getValue(int slotNum) |
abstract void |
reset() |
abstract void |
resize(SlotAcc.Resizer resizer) |
void |
setNextReader(LeafReaderContext readerContext) |
void |
setValues(SimpleOrderedMap<Object> bucket,
int slotNum) |
public void setNextReader(LeafReaderContext readerContext) throws IOException
IOExceptionpublic abstract void collect(int doc,
int slot)
throws IOException
IOExceptionpublic int collect(DocSet docs, int slot) throws IOException
IOExceptionpublic abstract int compare(int slotA,
int slotB)
public abstract Object getValue(int slotNum) throws IOException
IOExceptionpublic void setValues(SimpleOrderedMap<Object> bucket, int slotNum) throws IOException
IOExceptionpublic abstract void reset()
public abstract void resize(SlotAcc.Resizer resizer)
public void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableIOExceptionCopyright © 2000-2016 Apache Software Foundation. All Rights Reserved.