org.apache.lucene.gdata.search.index
Class IndexFeedDeleteTask

java.lang.Object
  extended by org.apache.lucene.gdata.search.index.IndexFeedDeleteTask
All Implemented Interfaces:
java.util.concurrent.Callable<IndexDocument>, IndexDocumentBuilder<IndexDocument>

public class IndexFeedDeleteTask
extends Object
implements IndexDocumentBuilder<IndexDocument>

This IndexDocumentBuilder deletes a entire feed form the index the builder is passed to if the feed has any entries in the search index. Each created and passed IndexFeedDeleteTask forces a commit.

Author:
Simon Willnauer

Method Summary
 IndexDocument call()
           
 boolean equals(Object obj)
           
 int hashCode()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

call

public IndexDocument call()
                   throws GdataIndexerException
Specified by:
call in interface java.util.concurrent.Callable<IndexDocument>
Specified by:
call in interface IndexDocumentBuilder<IndexDocument>
Throws:
GdataIndexerException
See Also:
IndexDocumentBuilder.call()

equals

public boolean equals(Object obj)
Overrides:
equals in class Object
See Also:
Object.equals(java.lang.Object)

hashCode

public int hashCode()
Overrides:
hashCode in class Object
See Also:
Object.hashCode()


Copyright © 2000-2008 Apache Software Foundation. All Rights Reserved.