public abstract class LuceneWork extends Object
Note:
Instances of this class are passed between Virtual Machines when a master/slave
configuration of Search is used. It is the responsibility of the LuceneWorkSerializer respectively
SerializationProvider to serialize and de-serialize LuceneWork instances.
| Constructor and Description |
|---|
LuceneWork(Serializable id,
String idInString,
Class<?> entity) |
LuceneWork(Serializable id,
String idInString,
Class<?> entity,
org.apache.lucene.document.Document document) |
| Modifier and Type | Method and Description |
|---|---|
org.apache.lucene.document.Document |
getDocument() |
Class<?> |
getEntityClass() |
Map<String,String> |
getFieldToAnalyzerMap() |
Serializable |
getId() |
String |
getIdInString() |
abstract <T> T |
getWorkDelegate(WorkVisitor<T> visitor) |
public LuceneWork(Serializable id, String idInString, Class<?> entity)
public LuceneWork(Serializable id, String idInString, Class<?> entity, org.apache.lucene.document.Document document)
public org.apache.lucene.document.Document getDocument()
public Class<?> getEntityClass()
public Serializable getId()
public String getIdInString()
public abstract <T> T getWorkDelegate(WorkVisitor<T> visitor)
Copyright © 2006–2015 Hibernate. All rights reserved.