org.apache.lucene.store
Interface MultiDeleteDirectory

All Known Implementing Classes:
JdbcDirectory

public interface MultiDeleteDirectory

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

Method Summary
 List deleteFiles(List names)
          Deletes the given file names.
 

Method Detail

deleteFiles

List deleteFiles(List names)
                 throws IOException
Deletes the given file names. Returns a list of the ones that could not be deleted.

Throws:
IOException


Copyright (c) 2004-2008 The Compass Project.