Class ShortBridge
java.lang.Object
org.hibernate.search.bridge.builtin.NumberBridge
org.hibernate.search.bridge.builtin.ShortBridge
- All Implemented Interfaces:
StringBridge,TwoWayStringBridge
Map a short element
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstringToObject(String stringValue) Convert the index string representation to an object.Methods inherited from class org.hibernate.search.bridge.builtin.NumberBridge
objectToString
-
Constructor Details
-
ShortBridge
public ShortBridge()
-
-
Method Details
-
stringToObject
Description copied from interface:TwoWayStringBridgeConvert the index string representation to an object.- Parameters:
stringValue- The index value.- Returns:
- Takes the string representation from the Lucene index and transforms it back into the original
Object.
-