Package org.apache.solr.search
Class FloatPayloadValueSource
- java.lang.Object
 - 
- org.apache.lucene.queries.function.ValueSource
 - 
- org.apache.solr.search.FloatPayloadValueSource
 
 
 
- 
public class FloatPayloadValueSource extends org.apache.lucene.queries.function.ValueSource 
- 
- 
Field Summary
Fields Modifier and Type Field Description protected org.apache.lucene.queries.payloads.PayloadDecoderdecoderprotected org.apache.lucene.queries.function.ValueSourcedefaultValueSourceprotected Stringfieldprotected org.apache.lucene.util.BytesRefindexedBytesprotected StringindexedFieldprotected org.apache.lucene.queries.payloads.PayloadFunctionpayloadFunctionprotected Stringval 
- 
Constructor Summary
Constructors Constructor Description FloatPayloadValueSource(String field, String val, String indexedField, org.apache.lucene.util.BytesRef indexedBytes, org.apache.lucene.queries.payloads.PayloadDecoder decoder, org.apache.lucene.queries.payloads.PayloadFunction payloadFunction, org.apache.lucene.queries.function.ValueSource defaultValueSource) 
- 
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Stringdescription()booleanequals(Object o)org.apache.lucene.queries.function.FunctionValuesgetValues(Map context, org.apache.lucene.index.LeafReaderContext readerContext)inthashCode()Stringname() 
 - 
 
- 
- 
Field Detail
- 
field
protected final String field
 
- 
val
protected final String val
 
- 
indexedField
protected final String indexedField
 
- 
indexedBytes
protected final org.apache.lucene.util.BytesRef indexedBytes
 
- 
decoder
protected final org.apache.lucene.queries.payloads.PayloadDecoder decoder
 
- 
payloadFunction
protected final org.apache.lucene.queries.payloads.PayloadFunction payloadFunction
 
- 
defaultValueSource
protected final org.apache.lucene.queries.function.ValueSource defaultValueSource
 
 - 
 
- 
Constructor Detail
- 
FloatPayloadValueSource
public FloatPayloadValueSource(String field, String val, String indexedField, org.apache.lucene.util.BytesRef indexedBytes, org.apache.lucene.queries.payloads.PayloadDecoder decoder, org.apache.lucene.queries.payloads.PayloadFunction payloadFunction, org.apache.lucene.queries.function.ValueSource defaultValueSource)
 
 - 
 
- 
Method Detail
- 
getValues
public org.apache.lucene.queries.function.FunctionValues getValues(Map context, org.apache.lucene.index.LeafReaderContext readerContext) throws IOException
- Specified by:
 getValuesin classorg.apache.lucene.queries.function.ValueSource- Throws:
 IOException
 
- 
name
public String name()
 
- 
description
public String description()
- Specified by:
 descriptionin classorg.apache.lucene.queries.function.ValueSource
 
- 
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
 
 - 
 
 -