final class TrackingTmpOutputDirectoryWrapper extends FilterDirectory
| Modifier and Type | Field and Description |
|---|---|
private java.util.Map<java.lang.String,java.lang.String> |
fileNames |
in| Constructor and Description |
|---|
TrackingTmpOutputDirectoryWrapper(Directory in) |
| Modifier and Type | Method and Description |
|---|---|
IndexOutput |
createOutput(java.lang.String name,
IOContext context)
Creates a new, empty file in the directory and returns an
IndexOutput
instance for appending data to this file. |
java.util.Map<java.lang.String,java.lang.String> |
getTemporaryFiles() |
IndexInput |
openInput(java.lang.String name,
IOContext context)
Opens a stream for reading an existing file.
|
close, createTempOutput, deleteFile, fileLength, getDelegate, getPendingDeletions, listAll, obtainLock, rename, sync, syncMetaData, toString, unwrapcopyFrom, ensureOpen, openChecksumInputTrackingTmpOutputDirectoryWrapper(Directory in)
public IndexOutput createOutput(java.lang.String name, IOContext context) throws java.io.IOException
DirectoryIndexOutput
instance for appending data to this file.
This method must throw FileAlreadyExistsException if the file
already exists.createOutput in class FilterDirectoryname - the name of the file to create.java.io.IOException - in case of I/O errorpublic IndexInput openInput(java.lang.String name, IOContext context) throws java.io.IOException
DirectoryNoSuchFileException or FileNotFoundException
if name points to a non-existing file.openInput in class FilterDirectoryname - the name of an existing file.java.io.IOException - in case of I/O errorpublic java.util.Map<java.lang.String,java.lang.String> getTemporaryFiles()