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.PayloadDecoder
decoder
protected org.apache.lucene.queries.function.ValueSource
defaultValueSource
protected String
field
protected org.apache.lucene.util.BytesRef
indexedBytes
protected String
indexedField
protected org.apache.lucene.queries.payloads.PayloadFunction
payloadFunction
protected String
val
-
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 String
description()
boolean
equals(Object o)
org.apache.lucene.queries.function.FunctionValues
getValues(Map<Object,Object> context, org.apache.lucene.index.LeafReaderContext readerContext)
int
hashCode()
String
name()
-
-
-
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<Object,Object> context, org.apache.lucene.index.LeafReaderContext readerContext) throws IOException
- Specified by:
getValues
in classorg.apache.lucene.queries.function.ValueSource
- Throws:
IOException
-
name
public String name()
-
description
public String description()
- Specified by:
description
in classorg.apache.lucene.queries.function.ValueSource
-
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
-
-