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
IOException
public abstract void collect(int doc, int slot) throws IOException
IOException
public int collect(DocSet docs, int slot) throws IOException
IOException
public abstract int compare(int slotA, int slotB)
public abstract Object getValue(int slotNum) throws IOException
IOException
public void setValues(SimpleOrderedMap<Object> bucket, int slotNum) throws IOException
IOException
public abstract void reset()
public abstract void resize(SlotAcc.Resizer resizer)
public void close() throws IOException
close
in interface Closeable
close
in interface AutoCloseable
IOException
Copyright © 2000-2016 Apache Software Foundation. All Rights Reserved.