public class FilterFieldSource extends ValueSource
DefaultIsMissingFieldSource wraps a field source to return missing values
if the value is equal to the default value.| Modifier and Type | Field and Description |
|---|---|
Object |
missValue |
static String |
NAME |
protected ValueSource |
source |
| Constructor and Description |
|---|
FilterFieldSource(ValueSource source,
Object missValue) |
| Modifier and Type | Method and Description |
|---|---|
String |
description() |
boolean |
equals(Object o) |
ValueSource |
getRootSource() |
FunctionValues |
getValues(Map context,
LeafReaderContext readerContext) |
int |
hashCode() |
protected String |
name() |
createWeight, getSortField, newContext, toStringpublic static final String NAME
public final Object missValue
protected final ValueSource source
public FilterFieldSource(ValueSource source, Object missValue)
protected String name()
public String description()
description in class ValueSourcepublic FunctionValues getValues(Map context, LeafReaderContext readerContext) throws IOException
getValues in class ValueSourceIOExceptionpublic ValueSource getRootSource()
public boolean equals(Object o)
equals in class ValueSourcepublic int hashCode()
hashCode in class ValueSourceCopyright © 2000-2016 Apache Software Foundation. All Rights Reserved.