org.apache.solr.search.function
Class FileFloatSource

java.lang.Object
  extended by org.apache.solr.search.function.ValueSource
      extended by org.apache.solr.search.function.FileFloatSource
All Implemented Interfaces:
Serializable

public class FileFloatSource
extends ValueSource

Obtains float field values from an external file.

Version:
$Id: FileFloatSource.java 613059 2008-01-18 05:30:21Z ryan $
See Also:
Serialized Form

Constructor Summary
FileFloatSource(SchemaField field, SchemaField keyField, float defVal, QParser parser)
           
 
Method Summary
 String description()
          description of field, used in explain()
 boolean equals(Object o)
           
 DocValues getValues(IndexReader reader)
           
 int hashCode()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

FileFloatSource

public FileFloatSource(SchemaField field,
                       SchemaField keyField,
                       float defVal,
                       QParser parser)
Method Detail

description

public String description()
Description copied from class: ValueSource
description of field, used in explain()

Specified by:
description in class ValueSource

getValues

public DocValues getValues(IndexReader reader)
                    throws IOException
Specified by:
getValues in class ValueSource
Throws:
IOException

equals

public boolean equals(Object o)
Specified by:
equals in class ValueSource

hashCode

public int hashCode()
Specified by:
hashCode in class ValueSource

toString

public String toString()
Overrides:
toString in class ValueSource


Copyright © 2008 Apache Software Foundation. All Rights Reserved.