org.hibernate.search.bridge.builtin.impl
Class BuiltinIterableBridge

java.lang.Object
  extended by org.hibernate.search.bridge.builtin.IterableBridge
      extended by org.hibernate.search.bridge.builtin.impl.BuiltinIterableBridge
All Implemented Interfaces:
FieldBridge, StringBridge
Direct Known Subclasses:
BuiltinNumericIterableBridge

public class BuiltinIterableBridge
extends IterableBridge
implements StringBridge

An implementation of IterableBridge that can be used with Hibernate Search query DSL.

Author:
Davide D'Alto

Constructor Summary
BuiltinIterableBridge()
           
BuiltinIterableBridge(FieldBridge fieldBridge)
           
 
Method Summary
 String objectToString(Object object)
          Converts the object representation to a string.
 
Methods inherited from class org.hibernate.search.bridge.builtin.IterableBridge
set
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BuiltinIterableBridge

public BuiltinIterableBridge()

BuiltinIterableBridge

public BuiltinIterableBridge(FieldBridge fieldBridge)
Method Detail

objectToString

public String objectToString(Object object)
Description copied from interface: StringBridge
Converts the object representation to a string.

Specified by:
objectToString in interface StringBridge
Parameters:
object - The object to transform into a string representation.
Returns:
String representation of the given object to be stored in Lucene index. The return string must not be null. It can be empty though.


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