|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.hibernate.search.backend.impl.lucene.works.DeleteExtWorkDelegate
public class DeleteExtWorkDelegate
Stateless extension of DeleteLuceneWork
,
performing the same LuceneWork in an optimal way in case
the index is NOT shared across different entities
(which is the default).
DeleteWorkDelegate
Method Summary | |
---|---|
IndexInteractionType |
getIndexInteractionType()
|
void |
performWork(LuceneWork work,
org.apache.lucene.index.IndexReader reader)
Will perform this work on an IndexReader. |
void |
performWork(LuceneWork work,
org.apache.lucene.index.IndexWriter writer)
Will perform work on an IndexWriter. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public IndexInteractionType getIndexInteractionType()
getIndexInteractionType
in interface LuceneWorkDelegate
public void performWork(LuceneWork work, org.apache.lucene.index.IndexWriter writer)
LuceneWorkDelegate
performWork
in interface LuceneWorkDelegate
work
- the LuceneWork to apply to the IndexWriter.writer
- the IndexWriter to use.public void performWork(LuceneWork work, org.apache.lucene.index.IndexReader reader)
LuceneWorkDelegate
performWork
in interface LuceneWorkDelegate
work
- the LuceneWork to apply to the IndexReader.reader
- the IndexReader to use.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |