Package de.julielab.costosys.medline
Class ElasticSearchDocumentDeleter
- java.lang.Object
-
- de.julielab.costosys.medline.ElasticSearchDocumentDeleter
-
- All Implemented Interfaces:
IDocumentDeleter
public class ElasticSearchDocumentDeleter extends java.lang.Object implements IDocumentDeleter
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.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)voiddeleteDocuments(java.util.List<java.lang.String> docIds)java.util.Set<java.lang.String>getNames()-
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
hasName
-
-
-
-
Field Detail
-
TO_DELETE_QUEUE
public static final java.lang.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 MedlineDocumentDeletionException- Specified by:
configurein interfaceIDocumentDeleter- Throws:
MedlineDocumentDeletionException
-
deleteDocuments
public void deleteDocuments(java.util.List<java.lang.String> docIds)
- Specified by:
deleteDocumentsin interfaceIDocumentDeleter
-
getNames
public java.util.Set<java.lang.String> getNames()
- Specified by:
getNamesin interfaceIDocumentDeleter
-
-