org.hibernate.search.backend.impl.lucene.works
Interface LuceneWorkDelegate

All Known Implementing Classes:
DeleteExtWorkDelegate, UpdateExtWorkDelegate, UpdateWorkDelegate

public interface LuceneWorkDelegate

LuceneWorkDelegate interface.

Author:
Sanne Grinovero

Method Summary
 void performWork(LuceneWork work, IndexWriter writer, IndexingMonitor monitor)
          Will perform work on an IndexWriter.
 

Method Detail

performWork

void performWork(LuceneWork work,
                 IndexWriter writer,
                 IndexingMonitor monitor)
Will perform work on an IndexWriter.

Parameters:
work - the LuceneWork to apply to the IndexWriter.
writer - the IndexWriter to use.
monitor - will be notified of performed operations
Throws:
UnsupportedOperationException - when the work is not compatible with an IndexWriter.


Copyright © 2006-2013 Red Hat, Inc. All Rights Reserved