Home » lucene-3.0.1-src » org.apache » lucene » search » function » [javadoc | source]
org.apache.lucene.search.function
public class: ByteFieldSource [javadoc | source]
java.lang.Object
   org.apache.lucene.search.function.ValueSource
      org.apache.lucene.search.function.FieldCacheSource
         org.apache.lucene.search.function.ByteFieldSource

All Implemented Interfaces:
    Serializable

Expert: obtains single byte field values from the FieldCache using getBytes() 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.

Constructor:
 public ByteFieldSource(String field) 
    Create a cached byte field source with default string-to-byte parser.
 public ByteFieldSource(String field,
    ByteParser parser) 
    Create a cached byte field source with a specific string-to-byte parser.
Method from org.apache.lucene.search.function.ByteFieldSource 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.ByteFieldSource Detail:
 public boolean cachedFieldSourceEquals(FieldCacheSource o) 
 public int cachedFieldSourceHashCode() 
 public String description() 
 public DocValues getCachedFieldValues(FieldCache cache,
    String field,
    IndexReader reader) throws IOException