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

java.lang.Object
  extended by org.hibernate.search.bridge.builtin.ArrayBridge
      extended by org.hibernate.search.bridge.builtin.impl.BuiltinArrayBridge
All Implemented Interfaces:
FieldBridge, StringBridge
Direct Known Subclasses:
BuiltinNumericArrayBridge

public class BuiltinArrayBridge
extends ArrayBridge
implements StringBridge

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

Author:
Davide D'Alto

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

Constructor Detail

BuiltinArrayBridge

public BuiltinArrayBridge()

BuiltinArrayBridge

public BuiltinArrayBridge(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