public class FlushLuceneWork extends LuceneWork implements Serializable
Modifier and Type | Field and Description |
---|---|
static FlushLuceneWork |
INSTANCE |
Constructor and Description |
---|
FlushLuceneWork(Class<?> entity)
Flushes all index operations for a specific entity.
|
Modifier and Type | Method and Description |
---|---|
<T> T |
getWorkDelegate(WorkVisitor<T> visitor) |
String |
toString() |
getDocument, getEntityClass, getFieldToAnalyzerMap, getId, getIdInString
public static final FlushLuceneWork INSTANCE
public FlushLuceneWork(Class<?> entity)
entity
- the entity type for which to flush the indexpublic <T> T getWorkDelegate(WorkVisitor<T> visitor)
getWorkDelegate
in class LuceneWork
Copyright © 2006–2015 Hibernate. All rights reserved.