Package org.apache.lucene.tests.store
Class RawDirectoryWrapper
java.lang.Object
org.apache.lucene.store.Directory
org.apache.lucene.store.FilterDirectory
org.apache.lucene.tests.store.BaseDirectoryWrapper
org.apache.lucene.tests.store.RawDirectoryWrapper
- All Implemented Interfaces:
Closeable
,AutoCloseable
Delegates all operations, even optional ones, to the wrapped directory.
This class is used if you want the most realistic testing, but still with a checkindex on close. If you want asserts and evil things, use MockDirectoryWrapper instead.
-
Field Summary
Fields inherited from class org.apache.lucene.tests.store.BaseDirectoryWrapper
isOpen
Fields inherited from class org.apache.lucene.store.FilterDirectory
in
-
Constructor Summary
-
Method Summary
Methods inherited from class org.apache.lucene.tests.store.BaseDirectoryWrapper
close, getCheckIndexOnClose, getCrossCheckTermVectorsOnClose, isOpen, setCheckIndexOnClose, setCrossCheckTermVectorsOnClose
Methods inherited from class org.apache.lucene.store.FilterDirectory
createOutput, createTempOutput, deleteFile, ensureOpen, fileLength, getDelegate, getPendingDeletions, listAll, obtainLock, openInput, rename, sync, syncMetaData, toString, unwrap
Methods inherited from class org.apache.lucene.store.Directory
getTempFileName
-
Constructor Details
-
RawDirectoryWrapper
-
-
Method Details
-
copyFrom
- Overrides:
copyFrom
in classDirectory
- Throws:
IOException
-
openChecksumInput
- Overrides:
openChecksumInput
in classDirectory
- Throws:
IOException
-