org.hibernate.search.bridge.builtin
Class DoubleNumericFieldBridge

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

public class DoubleNumericFieldBridge
extends NumericFieldBridge

Double numeric field bridge, capable of decoding double values from Field

Author:
Gustavo Fernandes

Constructor Summary
DoubleNumericFieldBridge()
           
 
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

DoubleNumericFieldBridge

public DoubleNumericFieldBridge()
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