org.hibernate.search.bridge.builtin
Class FloatNumericFieldBridge

java.lang.Object
  extended by org.hibernate.search.bridge.builtin.NumericFieldBridge
      extended by org.hibernate.search.bridge.builtin.FloatNumericFieldBridge
All Implemented Interfaces:
FieldBridge, TwoWayFieldBridge

public class FloatNumericFieldBridge
extends NumericFieldBridge

Float numeric field bridge, capable of decoding float values from Field

Author:
Gustavo Fernandes

Constructor Summary
FloatNumericFieldBridge()
           
 
Method Summary
 Object get(String name, org.apache.lucene.document.Document document)
          Build the element object from the Document
 
Methods inherited from class org.hibernate.search.bridge.builtin.NumericFieldBridge
objectToString, set
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FloatNumericFieldBridge

public FloatNumericFieldBridge()
Method Detail

get

public Object get(String name,
                  org.apache.lucene.document.Document document)
Description copied from interface: TwoWayFieldBridge
Build the element object from the Document

Parameters:
name - field name
document - document
Returns:
The return value is the entity property value.


Copyright © 2006-2012 Red Hat Middleware, LLC. All Rights Reserved