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