SMILA (incubation) API documentation

org.eclipse.smila.search.lucene.index.access
Class AddDocumentOperation

java.lang.Object
  extended by org.eclipse.smila.search.lucene.index.access.AddDocumentOperation
All Implemented Interfaces:
ISynchronizedOperation<IndexWriter,java.lang.Void>

public class AddDocumentOperation
extends java.lang.Object
implements ISynchronizedOperation<IndexWriter,java.lang.Void>

The Class AddDocumentOperation.


Constructor Summary
AddDocumentOperation(Document document)
          Instantiates a new adds the document operation.
 
Method Summary
 java.lang.Void process(IndexWriter object)
          Process.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AddDocumentOperation

public AddDocumentOperation(Document document)
Instantiates a new adds the document operation.

Parameters:
document - the document
Method Detail

process

public java.lang.Void process(IndexWriter object)
                       throws IndexException
Process.

Specified by:
process in interface ISynchronizedOperation<IndexWriter,java.lang.Void>
Parameters:
object - the object
Returns:
true, if successful
Throws:
IndexException - the index exception
See Also:
ISynchronizedOperation.process(java.lang.Object)

SMILA (incubation) API documentation