Package de.julielab.costosys.medline
Class ElasticSearchDocumentDeleter
- java.lang.Object
-
- de.julielab.costosys.medline.ElasticSearchDocumentDeleter
-
- All Implemented Interfaces:
IDocumentDeleter
public class ElasticSearchDocumentDeleter extends Object implements IDocumentDeleter
-
-
Field Summary
Fields Modifier and Type Field Description static StringTO_DELETE_QUEUE
-
Constructor Summary
Constructors Constructor Description ElasticSearchDocumentDeleter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidconfigure(org.apache.commons.configuration2.HierarchicalConfiguration<org.apache.commons.configuration2.tree.ImmutableNode> deletionConfiguration)Passes the XML contents of the deletion element.voiddeleteDocuments(List<String> docIds)StringgetName()-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface de.julielab.costosys.medline.IDocumentDeleter
isOneOf
-
-
-
-
Field Detail
-
TO_DELETE_QUEUE
public static final String TO_DELETE_QUEUE
- See Also:
- Constant Field Values
-
-
Method Detail
-
configure
public void configure(org.apache.commons.configuration2.HierarchicalConfiguration<org.apache.commons.configuration2.tree.ImmutableNode> deletionConfiguration) throws DocumentDeletionExceptionDescription copied from interface:IDocumentDeleterPasses the XML contents of the deletion element.- Specified by:
configurein interfaceIDocumentDeleter- Parameters:
deletionConfiguration- The subconfiguration where the deletion element for the current deleter is the root.- Throws:
DocumentDeletionException- If configuration fails.
-
deleteDocuments
public void deleteDocuments(List<String> docIds)
- Specified by:
deleteDocumentsin interfaceIDocumentDeleter
-
getName
public String getName()
- Specified by:
getNamein interfaceIDocumentDeleter
-
-