Package | Description |
---|---|
org.apache.lucene.store |
Binary i/o API, used for all index data.
|
org.apache.lucene.util |
Some utility classes.
|
Modifier and Type | Class and Description |
---|---|
class |
MockDirectoryWrapper
This is a Directory Wrapper that adds methods
intended to be used only by unit tests.
|
class |
RawDirectoryWrapper
Delegates all operations, even optional ones, to the wrapped directory.
|
Modifier and Type | Method and Description |
---|---|
static BaseDirectoryWrapper |
LuceneTestCase.newDirectory()
Returns a new Directory instance.
|
static BaseDirectoryWrapper |
LuceneTestCase.newDirectory(Directory d)
Returns a new Directory instance, with contents copied from the
provided directory.
|
static BaseDirectoryWrapper |
LuceneTestCase.newDirectory(java.util.Random r)
Returns a new Directory instance, using the specified random.
|
static BaseDirectoryWrapper |
LuceneTestCase.newDirectory(java.util.Random r,
Directory d)
Returns a new Directory instance, using the specified random
with contents copied from the provided directory.
|
static BaseDirectoryWrapper |
LuceneTestCase.newDirectory(java.util.Random r,
LockFactory lf)
Returns a new Directory instance, using the specified random.
|
static BaseDirectoryWrapper |
LuceneTestCase.newFSDirectory(java.nio.file.Path f)
Returns a new FSDirectory instance over the given file, which must be a folder.
|
static BaseDirectoryWrapper |
LuceneTestCase.newFSDirectory(java.nio.file.Path f,
LockFactory lf)
Returns a new FSDirectory instance over the given file, which must be a folder.
|
static BaseDirectoryWrapper |
LuceneTestCase.newMaybeVirusCheckingDirectory()
Like
LuceneTestCase.newDirectory() except randomly the VirusCheckingFS may be installed |
static BaseDirectoryWrapper |
LuceneTestCase.newMaybeVirusCheckingFSDirectory(java.nio.file.Path f)
Like
LuceneTestCase.newFSDirectory(Path) , but randomly insert VirusCheckingFS |
Copyright © 2000–2019 The Apache Software Foundation. All rights reserved.