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:
- java.io.Serializable
- Direct Known Subclasses:
- FloatFieldSource, IntFieldSource
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 472574 2006-11-08 18:25:52Z yonik $
- Author:
- yonik
- See Also:
- Serialized Form
Field Summary |
protected org.apache.lucene.search.FieldCache |
cache
|
protected java.lang.String |
field
|
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
field
protected java.lang.String field
cache
protected org.apache.lucene.search.FieldCache cache
FieldCacheSource
public FieldCacheSource(java.lang.String field)
setFieldCache
public void setFieldCache(org.apache.lucene.search.FieldCache cache)
getFieldCache
public org.apache.lucene.search.FieldCache getFieldCache()
description
public java.lang.String description()
- Description copied from class:
ValueSource
- description of field, used in explain()
- Specified by:
description
in class ValueSource
equals
public boolean equals(java.lang.Object o)
- Specified by:
equals
in class ValueSource
hashCode
public int hashCode()
- Specified by:
hashCode
in class ValueSource
Copyright © 2006 - 2008 The Apache Software Foundation