org.apache.solr.search.function
Class FieldCacheSource
java.lang.Object
org.apache.solr.search.function.ValueSource
org.apache.solr.search.function.FieldCacheSource
- All Implemented Interfaces:
- Serializable
- Direct Known Subclasses:
- ByteFieldSource, DoubleFieldSource, FloatFieldSource, IntFieldSource, LongFieldSource, ShortFieldSource
public abstract class FieldCacheSource
- extends ValueSource
A base class for ValueSource implementations that retrieve values for
a single field from the FieldCache
.
- Version:
- $Id: FieldCacheSource.java 794328 2009-07-15 17:21:04Z shalin $
- See Also:
- Serialized Form
field
protected String field
cache
protected FieldCache cache
FieldCacheSource
public FieldCacheSource(String field)
getFieldCache
public FieldCache getFieldCache()
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 © 2010 Apache Software Foundation. All Rights Reserved.