|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface TwoWayFieldBridge
A FieldBrige 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 EXPERIMENTAL Consider this interface as private
| Method Summary | |
|---|---|
Object |
get(String name,
org.apache.lucene.document.Document document)
build the element object from the Document The return value is the Entity id |
String |
objectToString(Object object)
convert the object representation to a String The return String must not be null, it can be empty though EXPERIMENTAL API subject to change in the future |
| Methods inherited from interface org.hibernate.search.bridge.FieldBridge |
|---|
set |
| Method Detail |
|---|
Object get(String name,
org.apache.lucene.document.Document document)
name - field namedocument - documentString objectToString(Object object)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||