|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.compass.core.lucene.engine.transaction.support.job.DeleteByQueryTransactionJob
public class DeleteByQueryTransactionJob
A transaction job that deletes all matching Query
hits
from the sub index.
Constructor Summary | |
---|---|
DeleteByQueryTransactionJob(Query query,
String subIndex)
|
Method Summary | |
---|---|
boolean |
equals(Object o)
|
void |
execute(IndexWriter writer,
LuceneSearchEngineFactory sessionFactory)
Executes the job against Lucene IndexWriter . |
Query |
getQuery()
|
String |
getResourceUID()
Retruns the resource UID (if available) that transaction job will work on. |
String |
getSubIndex()
Returns the sub index the transaction job will work against. |
int |
hashCode()
|
String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public DeleteByQueryTransactionJob(Query query, String subIndex)
Method Detail |
---|
public String getSubIndex()
TransactionJob
getSubIndex
in interface TransactionJob
public String getResourceUID()
TransactionJob
getResourceUID
in interface TransactionJob
public Query getQuery()
public void execute(IndexWriter writer, LuceneSearchEngineFactory sessionFactory) throws Exception
TransactionJob
IndexWriter
.
execute
in interface TransactionJob
Exception
public String toString()
toString
in class Object
public boolean equals(Object o)
equals
in class Object
public int hashCode()
hashCode
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |