|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface TwoWayFieldBridge
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 | |
---|---|
Object |
get(String name,
org.apache.lucene.document.Document document)
Build the element object from the Document |
String |
objectToString(Object object)
Convert the object representation to a string. |
Methods inherited from interface org.hibernate.search.bridge.FieldBridge |
---|
set |
Method Detail |
---|
Object get(String name, org.apache.lucene.document.Document document)
Document
name
- field namedocument
- document
String objectToString(Object object)
object
- The object to index.
null
, but
can be empty.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |