org.apache.lucene.queries.function.valuesource
Class FieldCacheSource
java.lang.Object
org.apache.lucene.queries.function.ValueSource
org.apache.lucene.queries.function.valuesource.FieldCacheSource
- Direct Known Subclasses:
- ByteFieldSource, BytesRefFieldSource, DoubleFieldSource, FloatFieldSource, IntFieldSource, JoinDocFreqValueSource, LongFieldSource, ShortFieldSource
public abstract class FieldCacheSource
- extends ValueSource
A base class for ValueSource implementations that retrieve values for
a single field from the FieldCache.
field
protected final String field
cache
protected final FieldCache cache
FieldCacheSource
public FieldCacheSource(String field)
getFieldCache
public FieldCache getFieldCache()
getField
public String getField()
description
public String description()
- Description copied from class:
ValueSource
- description of field, used in explain()
- Specified by:
description in class ValueSource
equals
public boolean equals(Object o)
- Specified by:
equals in class ValueSource
hashCode
public int hashCode()
- Specified by:
hashCode in class ValueSource
Copyright © 2000-2013 Apache Software Foundation. All Rights Reserved.