Package | Description |
---|---|
org.apache.lucene.store | |
org.apache.lucene.util |
Modifier and Type | Method and Description |
---|---|
void |
MockDirectoryWrapper.Failure.eval(MockDirectoryWrapper dir)
eval is called on the first write of every new file.
|
Constructor and Description |
---|
MockIndexInputWrapper(MockDirectoryWrapper dir,
java.lang.String name,
org.apache.lucene.store.IndexInput delegate)
Construct an empty output buffer.
|
MockIndexOutputWrapper(MockDirectoryWrapper dir,
org.apache.lucene.store.IndexOutput delegate,
java.lang.String name)
Construct an empty output buffer.
|
MockLockFactoryWrapper(MockDirectoryWrapper dir,
org.apache.lucene.store.LockFactory delegate) |
Modifier and Type | Field and Description |
---|---|
protected static java.util.Map<MockDirectoryWrapper,java.lang.StackTraceElement[]> |
LuceneTestCase.stores |
Modifier and Type | Method and Description |
---|---|
static MockDirectoryWrapper |
LuceneTestCase.newDirectory()
Returns a new Directory instance.
|
static MockDirectoryWrapper |
LuceneTestCase.newDirectory(org.apache.lucene.store.Directory d)
Returns a new Directory instance, with contents copied from the
provided directory.
|
static MockDirectoryWrapper |
LuceneTestCase.newDirectory(java.util.Random r)
Returns a new Directory instance, using the specified random.
|
static MockDirectoryWrapper |
LuceneTestCase.newDirectory(java.util.Random r,
org.apache.lucene.store.Directory d)
Returns a new Directory instance, using the specified random
with contents copied from the provided directory.
|
static MockDirectoryWrapper |
LuceneTestCase.newFSDirectory(java.io.File f)
Returns a new FSDirectory instance over the given file, which must be a folder.
|
static MockDirectoryWrapper |
LuceneTestCase.newFSDirectory(java.io.File f,
org.apache.lucene.store.LockFactory lf)
Returns a new FSDirectory instance over the given file, which must be a folder.
|
Copyright © 2000-2023 Apache Software Foundation. All Rights Reserved.