SMILA (incubation) API documentation

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

java.lang.Object
  extended by org.eclipse.smila.search.lucene.index.access.DoQueryOperation
All Implemented Interfaces:
ISynchronizedOperation<IndexSearcher,LuceneSearchResult>

public class DoQueryOperation
extends java.lang.Object
implements ISynchronizedOperation<IndexSearcher,LuceneSearchResult>

The Class DoQueryOperation. (I was too lazy to split correctly all functionality to operations and sometimes it call callback to original code)


Constructor Summary
DoQueryOperation(IndexConnection connection, DQueryExpression queryExpression, int startPos)
          Instantiates a new do query operation.
 
Method Summary
 LuceneSearchResult process(IndexSearcher object)
          Process.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DoQueryOperation

public DoQueryOperation(IndexConnection connection,
                        DQueryExpression queryExpression,
                        int startPos)
Instantiates a new do query operation.

Parameters:
connection - the connection
queryExpression - the query expression
startPos - the start pos
Method Detail

process

public LuceneSearchResult process(IndexSearcher object)
                           throws IndexException
Process.

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

SMILA (incubation) API documentation