org.hibernate.search.backend
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, getIdInStringpublic 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 LuceneWorkCopyright © 2006-2015 Red Hat, Inc. All Rights Reserved