public abstract class SlotAcc extends Object implements Closeable
| 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() |
abstract void |
collect(int doc,
int slot) |
abstract int |
compare(int slotA,
int slotB) |
abstract Object |
getValue(int slotNum) |
abstract void |
reset() |
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 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 void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableIOExceptionCopyright © 2000-2015 Apache Software Foundation. All Rights Reserved.