org.hibernate.search.bridge.builtin
Class LongNumericFieldBridge

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

public class LongNumericFieldBridge
extends NumericFieldBridge

Long numeric field bridge, capable of decoding long values from Field

Author:
Gustavo Fernandes

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

LongNumericFieldBridge

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