public class FloatPayloadValueSource extends ValueSource
| Modifier and Type | Field and Description |
|---|---|
protected PayloadDecoder |
decoder |
protected ValueSource |
defaultValueSource |
protected String |
field |
protected BytesRef |
indexedBytes |
protected String |
indexedField |
protected PayloadFunction |
payloadFunction |
protected String |
val |
| Constructor and Description |
|---|
FloatPayloadValueSource(String field,
String val,
String indexedField,
BytesRef indexedBytes,
PayloadDecoder decoder,
PayloadFunction payloadFunction,
ValueSource defaultValueSource) |
| Modifier and Type | Method and Description |
|---|---|
String |
description() |
boolean |
equals(Object o) |
FunctionValues |
getValues(Map context,
LeafReaderContext readerContext) |
int |
hashCode() |
String |
name() |
asDoubleValuesSource, asLongValuesSource, createWeight, fromDoubleValuesSource, getSortField, newContext, toStringprotected final String field
protected final String val
protected final String indexedField
protected final BytesRef indexedBytes
protected final PayloadDecoder decoder
protected final PayloadFunction payloadFunction
protected final ValueSource defaultValueSource
public FloatPayloadValueSource(String field, String val, String indexedField, BytesRef indexedBytes, PayloadDecoder decoder, PayloadFunction payloadFunction, ValueSource defaultValueSource)
public FunctionValues getValues(Map context, LeafReaderContext readerContext) throws IOException
getValues in class ValueSourceIOExceptionpublic String name()
public String description()
description in class ValueSourcepublic boolean equals(Object o)
equals in class ValueSourcepublic int hashCode()
hashCode in class ValueSourceCopyright © 2000-2020 Apache Software Foundation. All Rights Reserved.