All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.apache.lucene.store.MultiDeleteDirectory Maven / Gradle / Ivy

package org.apache.lucene.store;

import java.io.IOException;
import java.util.List;

/**
 * Acts as a marker interface for directories that can delete multiple files at one go.
 * Basically here untill Lucene will add the method to the Directory class.
 * 

* Mainly used for performance reasons, especially for JdbcDirectory * * @author kimchy */ public interface MultiDeleteDirectory { /** * Deletes the given file names. Returns a list of the ones that could not be deleted. */ List deleteFiles(final List names) throws IOException; }





© 2015 - 2024 Weber Informatics LLC | Privacy Policy