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, toString
public 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 ValueSource
public FunctionValues getValues(Map context, LeafReaderContext readerContext) throws IOException
getValues
in class ValueSource
IOException
public ValueSource getRootSource()
public boolean equals(Object o)
equals
in class ValueSource
public int hashCode()
hashCode
in class ValueSource
Copyright © 2000-2015 Apache Software Foundation. All Rights Reserved.