Package org.hibernate.search.bridge
Interface TwoWayFieldBridge
- All Superinterfaces:
FieldBridge
- All Known Implementing Classes:
ContextualException2WayBridge,DoubleNumericFieldBridge,FloatNumericFieldBridge,IntegerNumericFieldBridge,LongNumericFieldBridge,NullEncodingTwoWayFieldBridge,NumericFieldBridge,TwoWayString2FieldBridgeAdaptor
A
FieldBridge able to convert the index representation back into an object without losing information.
Any bridge expected to process a document id should implement this interface.-
Method Summary
Methods inherited from interface org.hibernate.search.bridge.FieldBridge
set
-
Method Details
-
get
Build the element object from theDocument- Parameters:
name- field namedocument- document- Returns:
- The return value is the entity property value.
-
objectToString
Convert the object representation to a string.- Parameters:
object- The object to index.- Returns:
- string (index) representation of the specified object. Must not be
null, but can be empty.
-