public class FilterFieldSource
extends org.apache.lucene.queries.function.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 org.apache.lucene.queries.function.ValueSource |
source |
Constructor and Description |
---|
FilterFieldSource(org.apache.lucene.queries.function.ValueSource source,
Object missValue) |
Modifier and Type | Method and Description |
---|---|
String |
description() |
boolean |
equals(Object o) |
org.apache.lucene.queries.function.ValueSource |
getRootSource() |
org.apache.lucene.queries.function.FunctionValues |
getValues(Map context,
org.apache.lucene.index.LeafReaderContext readerContext) |
int |
hashCode() |
protected String |
name() |
public static final String NAME
public final Object missValue
protected final org.apache.lucene.queries.function.ValueSource source
public FilterFieldSource(org.apache.lucene.queries.function.ValueSource source, Object missValue)
protected String name()
public String description()
description
in class org.apache.lucene.queries.function.ValueSource
public org.apache.lucene.queries.function.FunctionValues getValues(Map context, org.apache.lucene.index.LeafReaderContext readerContext) throws IOException
getValues
in class org.apache.lucene.queries.function.ValueSource
IOException
public org.apache.lucene.queries.function.ValueSource getRootSource()
public boolean equals(Object o)
equals
in class org.apache.lucene.queries.function.ValueSource
public int hashCode()
hashCode
in class org.apache.lucene.queries.function.ValueSource
Copyright © 2000–2015 The Apache Software Foundation. All rights reserved.