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 | 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,
IndexInput delegate,
MockIndexInputWrapper parent)
Sole constructor
|
MockIndexOutputWrapper(MockDirectoryWrapper dir,
IndexOutput delegate,
java.lang.String name)
Construct an empty output buffer.
|
Modifier and Type | Method and Description |
---|---|
static MockDirectoryWrapper |
LuceneTestCase.newMockDirectory() |
static MockDirectoryWrapper |
LuceneTestCase.newMockDirectory(java.util.Random r) |
static MockDirectoryWrapper |
LuceneTestCase.newMockDirectory(java.util.Random r,
LockFactory lf) |
static MockDirectoryWrapper |
LuceneTestCase.newMockFSDirectory(java.nio.file.Path f) |
static MockDirectoryWrapper |
LuceneTestCase.newMockFSDirectory(java.nio.file.Path f,
LockFactory lf) |
Copyright © 2000–2019 The Apache Software Foundation. All rights reserved.