org.hibernate.search.bridge.builtin.impl
Class BuiltinArrayBridge
java.lang.Object
org.hibernate.search.bridge.builtin.ArrayBridge
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
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 |
BuiltinArrayBridge
public BuiltinArrayBridge()
BuiltinArrayBridge
public BuiltinArrayBridge(FieldBridge fieldBridge)
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