Home » lucene-3.0.1-src » org.apache » lucene » search » function » [javadoc | source]
public class: FloatFieldSource [javadoc | source]

All Implemented Interfaces:

Expert: obtains float field values from the FieldCache using getFloats() and makes those values available as other numeric types, casting as needed.

WARNING: The status of the search.function package is experimental. The APIs introduced here might change in the future and will not be supported anymore in such a case.

 public FloatFieldSource(String field) 
    Create a cached float field source with default string-to-float parser.
 public FloatFieldSource(String field,
    FloatParser parser) 
    Create a cached float field source with a specific string-to-float parser.
Method from org.apache.lucene.search.function.FloatFieldSource Summary:
cachedFieldSourceEquals,   cachedFieldSourceHashCode,   description,   getCachedFieldValues
Methods from org.apache.lucene.search.function.FieldCacheSource:
cachedFieldSourceEquals,   cachedFieldSourceHashCode,   description,   equals,   getCachedFieldValues,   getValues,   hashCode
Methods from org.apache.lucene.search.function.ValueSource:
description,   equals,   getValues,   hashCode,   toString
Methods from java.lang.Object:
clone,   equals,   finalize,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.apache.lucene.search.function.FloatFieldSource Detail:
 public boolean cachedFieldSourceEquals(FieldCacheSource o) 
 public int cachedFieldSourceHashCode() 
 public String description() 
 public DocValues getCachedFieldValues(FieldCache cache,
    String field,
    IndexReader reader) throws IOException