Package | Description |
---|---|
org.apache.lucene.index |
Code to maintain and access indices.
|
org.apache.lucene.store |
Binary i/o API, used for all index data.
|
org.apache.lucene.util |
Some utility classes.
|
Modifier and Type | Class | Description |
---|---|---|
class |
MockIndexInput |
IndexInput backed by a byte[] for testing.
|
Modifier and Type | Class | Description |
---|---|---|
class |
BufferedIndexInput |
Base implementation class for buffered
IndexInput . |
class |
ChecksumIndexInput |
Writes bytes through to a primary IndexOutput, computing
checksum as it goes.
|
class |
MockIndexInputWrapper |
Used by MockDirectoryWrapper to create an input stream that
keeps track of when it's been closed.
|
protected static class |
NIOFSDirectory.NIOFSIndexInput |
|
class |
RAMInputStream |
A memory-resident
IndexInput implementation. |
protected static class |
SimpleFSDirectory.SimpleFSIndexInput |
|
protected static class |
WindowsDirectory.WindowsIndexInput |
Modifier and Type | Method | Description |
---|---|---|
IndexInput |
DirectIOLinuxDirectory.openInput(String name,
int bufferSize) |
|
abstract IndexInput |
Directory.openInput(String name) |
Returns a stream reading an existing file.
|
IndexInput |
Directory.openInput(String name,
int bufferSize) |
Returns a stream reading an existing file, with the
specified read buffer size.
|
IndexInput |
FileSwitchDirectory.openInput(String name) |
|
IndexInput |
FSDirectory.openInput(String name) |
|
IndexInput |
MMapDirectory.openInput(String name,
int bufferSize) |
Creates an IndexInput for the file with the given name.
|
IndexInput |
MockDirectoryWrapper.openInput(String name) |
|
IndexInput |
NIOFSDirectory.openInput(String name,
int bufferSize) |
Creates an IndexInput for the file with the given name.
|
IndexInput |
NRTCachingDirectory.openInput(String name) |
|
IndexInput |
NRTCachingDirectory.openInput(String name,
int bufferSize) |
|
IndexInput |
RAMDirectory.openInput(String name) |
Returns a stream reading an existing file.
|
IndexInput |
SimpleFSDirectory.openInput(String name,
int bufferSize) |
Creates an IndexInput for the file with the given name.
|
IndexInput |
WindowsDirectory.openInput(String name,
int bufferSize) |
Modifier and Type | Method | Description |
---|---|---|
static boolean |
_TestHelper.isSimpleFSIndexInput(IndexInput is) |
Returns true if the instance of the provided input stream is actually
an SimpleFSIndexInput.
|
static boolean |
_TestHelper.isSimpleFSIndexInputClone(IndexInput is) |
Returns true if the provided input stream is an SimpleFSIndexInput and
is a clone, that is it does not own its underlying file descriptor.
|
static boolean |
_TestHelper.isSimpleFSIndexInputOpen(IndexInput is) |
Given an instance of SimpleFSDirectory.SimpleFSIndexInput, this method returns
true if the underlying file descriptor is valid, and false otherwise.
|
void |
MockDirectoryWrapper.removeIndexInput(IndexInput in,
String name) |
Constructor | Description |
---|---|
ChecksumIndexInput(IndexInput main) |
|
MockIndexInputWrapper(MockDirectoryWrapper dir,
String name,
IndexInput delegate) |
Construct an empty output buffer.
|
Modifier and Type | Method | Description |
---|---|---|
void |
PagedBytes.copy(IndexInput in,
long byteCount) |
Read this many bytes from in
|
Copyright © 2000-2018 Apache Software Foundation. All Rights Reserved.