Module org.apache.lucene.core
Package org.apache.lucene.index
Class TrackingTmpOutputDirectoryWrapper
java.lang.Object
org.apache.lucene.store.Directory
org.apache.lucene.store.FilterDirectory
org.apache.lucene.index.TrackingTmpOutputDirectoryWrapper
- All Implemented Interfaces:
Closeable
,AutoCloseable
-
Field Summary
FieldsFields inherited from class org.apache.lucene.store.FilterDirectory
in
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreateOutput
(String name, IOContext context) Creates a new, empty file in the directory and returns anIndexOutput
instance for appending data to this file.Opens a stream for reading an existing file.Methods inherited from class org.apache.lucene.store.FilterDirectory
close, createTempOutput, deleteFile, ensureOpen, fileLength, getDelegate, getPendingDeletions, listAll, obtainLock, rename, sync, syncMetaData, toString, unwrap
Methods inherited from class org.apache.lucene.store.Directory
copyFrom, getTempFileName, openChecksumInput
-
Field Details
-
fileNames
-
-
Constructor Details
-
TrackingTmpOutputDirectoryWrapper
TrackingTmpOutputDirectoryWrapper(Directory in)
-
-
Method Details
-
createOutput
Description copied from class:Directory
Creates a new, empty file in the directory and returns anIndexOutput
instance for appending data to this file.This method must throw
FileAlreadyExistsException
if the file already exists.- Overrides:
createOutput
in classFilterDirectory
- Parameters:
name
- the name of the file to create.- Throws:
IOException
- in case of I/O error
-
openInput
Description copied from class:Directory
Opens a stream for reading an existing file.This method must throw either
NoSuchFileException
orFileNotFoundException
ifname
points to a non-existing file.- Overrides:
openInput
in classFilterDirectory
- Parameters:
name
- the name of an existing file.- Throws:
IOException
- in case of I/O error
-
getTemporaryFiles
-