Package org.apache.solr.search.function
Class MultiStringFunction
- java.lang.Object
-
- org.apache.lucene.queries.function.ValueSource
-
- org.apache.solr.search.function.MultiStringFunction
-
- Direct Known Subclasses:
ConcatStringFunction
public abstract class MultiStringFunction extends org.apache.lucene.queries.function.ValueSourceAbstractValueSourceimplementation which wraps multiple ValueSources and applies an extendible string function to their values.
-
-
Field Summary
Fields Modifier and Type Field Description protected org.apache.lucene.queries.function.ValueSource[]sources
-
Constructor Summary
Constructors Constructor Description MultiStringFunction(org.apache.lucene.queries.function.ValueSource[] sources)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description Stringdescription()booleanequals(Object o)protected abstract CharSequencefunc(int doc, org.apache.lucene.queries.function.FunctionValues[] valsArr)org.apache.lucene.queries.function.FunctionValuesgetValues(Map<Object,Object> context, org.apache.lucene.index.LeafReaderContext readerContext)inthashCode()protected abstract Stringname()
-
-
-
Method Detail
-
name
protected abstract String name()
-
func
protected abstract CharSequence func(int doc, org.apache.lucene.queries.function.FunctionValues[] valsArr) throws IOException
- Throws:
IOException
-
description
public String description()
- Specified by:
descriptionin 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:
getValuesin classorg.apache.lucene.queries.function.ValueSource- Throws:
IOException
-
equals
public boolean equals(Object o)
- Specified by:
equalsin classorg.apache.lucene.queries.function.ValueSource
-
hashCode
public int hashCode()
- Specified by:
hashCodein classorg.apache.lucene.queries.function.ValueSource
-
-