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.ValueSource
Placeholder 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 String
description()
boolean
equals(Object o)
String
getFieldName()
org.apache.lucene.queries.function.FunctionValues
getValues(Map context, org.apache.lucene.index.LeafReaderContext readerContext)
int
hashCode()
-
-
-
Constructor Detail
-
FieldNameValueSource
public FieldNameValueSource(String fieldName)
-
-
Method Detail
-
getFieldName
public String getFieldName()
-
getValues
public org.apache.lucene.queries.function.FunctionValues getValues(Map context, org.apache.lucene.index.LeafReaderContext readerContext) throws IOException
- Specified by:
getValues
in classorg.apache.lucene.queries.function.ValueSource
- Throws:
IOException
-
equals
public boolean equals(Object o)
- Specified by:
equals
in classorg.apache.lucene.queries.function.ValueSource
-
hashCode
public int hashCode()
- Specified by:
hashCode
in classorg.apache.lucene.queries.function.ValueSource
-
description
public String description()
- Specified by:
description
in classorg.apache.lucene.queries.function.ValueSource
-
-