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, toString
protected 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 ValueSource
IOException
public String name()
public String description()
description
in class ValueSource
public boolean equals(Object o)
equals
in class ValueSource
public int hashCode()
hashCode
in class ValueSource
Copyright © 2000-2020 Apache Software Foundation. All Rights Reserved.