public class FieldNameValueSource extends ValueSource
Constructor and Description |
---|
FieldNameValueSource(String fieldName) |
Modifier and Type | Method and Description |
---|---|
String |
description() |
boolean |
equals(Object o) |
String |
getFieldName() |
FunctionValues |
getValues(Map context,
LeafReaderContext readerContext) |
int |
hashCode() |
asDoubleValuesSource, asLongValuesSource, createWeight, fromDoubleValuesSource, getSortField, newContext, toString
public FieldNameValueSource(String fieldName)
public String getFieldName()
public FunctionValues getValues(Map context, LeafReaderContext readerContext) throws IOException
getValues
in class ValueSource
IOException
public boolean equals(Object o)
equals
in class ValueSource
public int hashCode()
hashCode
in class ValueSource
public String description()
description
in class ValueSource
Copyright © 2000-2019 Apache Software Foundation. All Rights Reserved.