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

java.lang.Object
  extended by org.hibernate.search.bridge.builtin.MapBridge
      extended by org.hibernate.search.bridge.builtin.impl.BuiltinMapBridge
All Implemented Interfaces:
FieldBridge, StringBridge
Direct Known Subclasses:
BuiltinNumericMapBridge

public class BuiltinMapBridge
extends MapBridge
implements StringBridge

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

Author:
Davide D'Alto

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

Constructor Detail

BuiltinMapBridge

public BuiltinMapBridge()

BuiltinMapBridge

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