Package org.apache.solr.search.facet
Class AggValueSource
- java.lang.Object
-
- org.apache.lucene.queries.function.ValueSource
-
- org.apache.solr.search.facet.AggValueSource
-
- Direct Known Subclasses:
RelatednessAgg
,SimpleAggValueSource
,StrAggValueSource
public abstract class AggValueSource extends org.apache.lucene.queries.function.ValueSource
-
-
Constructor Summary
Constructors Constructor Description AggValueSource(String name)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description abstract FacetMerger
createFacetMerger(Object prototype)
SlotAcc
createSlotAcc(FacetContext fcontext, long numDocs, int numSlots)
boolean
equals(Object o)
org.apache.lucene.queries.function.ValueSource[]
getChildren()
org.apache.lucene.queries.function.FunctionValues
getValues(Map<Object,Object> context, org.apache.lucene.index.LeafReaderContext readerContext)
String
name()
-
-
-
Field Detail
-
name
protected String name
-
-
Constructor Detail
-
AggValueSource
public AggValueSource(String name)
-
-
Method Detail
-
name
public String name()
-
getChildren
public org.apache.lucene.queries.function.ValueSource[] getChildren()
-
equals
public boolean equals(Object o)
- Specified by:
equals
in classorg.apache.lucene.queries.function.ValueSource
-
getValues
public org.apache.lucene.queries.function.FunctionValues getValues(Map<Object,Object> context, org.apache.lucene.index.LeafReaderContext readerContext) throws IOException
- Specified by:
getValues
in classorg.apache.lucene.queries.function.ValueSource
- Throws:
IOException
-
createSlotAcc
public SlotAcc createSlotAcc(FacetContext fcontext, long numDocs, int numSlots) throws IOException
- Throws:
IOException
-
createFacetMerger
public abstract FacetMerger createFacetMerger(Object prototype)
-
-