Package org.apache.solr.search.function
Class FieldNameValueSource
- java.lang.Object
-
- org.apache.lucene.queries.function.ValueSource
-
- org.apache.solr.search.function.FieldNameValueSource
-
public class FieldNameValueSource extends org.apache.lucene.queries.function.ValueSourcePlaceholder value source.- NOTE: This API is for internal purposes only and might change in incompatible ways in the next release.
-
-
Constructor Summary
Constructors Constructor Description FieldNameValueSource(String fieldName)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Stringdescription()booleanequals(Object o)StringgetFieldName()org.apache.lucene.queries.function.FunctionValuesgetValues(Map<Object,Object> context, org.apache.lucene.index.LeafReaderContext readerContext)inthashCode()
-
-
-
Constructor Detail
-
FieldNameValueSource
public FieldNameValueSource(String fieldName)
-
-
Method Detail
-
getFieldName
public String getFieldName()
-
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
-
description
public String description()
- Specified by:
descriptionin classorg.apache.lucene.queries.function.ValueSource
-
-