public class UpdateLuceneWork extends LuceneWork
| Constructor and Description |
|---|
UpdateLuceneWork(Serializable id,
String idInString,
Class<?> entity,
org.apache.lucene.document.Document document) |
UpdateLuceneWork(Serializable id,
String idInString,
Class<?> entity,
org.apache.lucene.document.Document document,
Map<String,String> fieldToAnalyzerMap) |
UpdateLuceneWork(String tenantId,
Serializable id,
String idInString,
Class<?> entity,
org.apache.lucene.document.Document document) |
UpdateLuceneWork(String tenantId,
Serializable id,
String idInString,
Class<?> entity,
org.apache.lucene.document.Document document,
Map<String,String> fieldToAnalyzerMap) |
| Modifier and Type | Method and Description |
|---|---|
<P,R> R |
acceptIndexWorkVisitor(IndexWorkVisitor<P,R> visitor,
P p)
Accepts the given visitor by dispatching the correct visit method for the specific
LuceneWork sub-type. |
Map<String,String> |
getFieldToAnalyzerMap() |
String |
toString() |
getDocument, getEntityClass, getId, getIdInString, getTenantIdpublic UpdateLuceneWork(Serializable id, String idInString, Class<?> entity, org.apache.lucene.document.Document document)
public UpdateLuceneWork(String tenantId, Serializable id, String idInString, Class<?> entity, org.apache.lucene.document.Document document)
public UpdateLuceneWork(Serializable id, String idInString, Class<?> entity, org.apache.lucene.document.Document document, Map<String,String> fieldToAnalyzerMap)
public Map<String,String> getFieldToAnalyzerMap()
getFieldToAnalyzerMap in class LuceneWorkpublic <P,R> R acceptIndexWorkVisitor(IndexWorkVisitor<P,R> visitor, P p)
LuceneWorkLuceneWork sub-type.acceptIndexWorkVisitor in class LuceneWorkP - Context parameter type expected by a specific visitorR - Return type provided by a specific visitorvisitor - the visitor to acceptp - a visitor-specific context parameternull if this visitor doesn't return a resultCopyright © 2006–2017 Hibernate. All rights reserved.