org.apache.lucene.store.jdbc.handler
Class ActualDeleteFileEntryHandler
java.lang.Object
org.apache.lucene.store.jdbc.handler.AbstractFileEntryHandler
org.apache.lucene.store.jdbc.handler.ActualDeleteFileEntryHandler
- All Implemented Interfaces:
- FileEntryHandler
public class ActualDeleteFileEntryHandler
- extends AbstractFileEntryHandler
Removes file entries from the database by deleting the relevant rows from the database.
- Author:
- kimchy
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ActualDeleteFileEntryHandler
public ActualDeleteFileEntryHandler()
deleteFile
public void deleteFile(String name)
throws IOException
- Description copied from interface:
FileEntryHandler
- Deletes the given file name.
- Parameters:
name
- The name of the file to delete
- Throws:
IOException
deleteFiles
public List deleteFiles(List names)
throws IOException
- Description copied from interface:
FileEntryHandler
- Deletes a list of files. It must be verified by the caller that
all files correlate to this file entry handler.
- Parameters:
names
- The list of file names to delete
- Returns:
- List of files that were not deleted (or
null
if all were deleted)
- Throws:
IOException
Copyright (c) 2004-2009 The Compass Project.