public class IndexInputStream extends InputStream
| Constructor and Description |
|---|
IndexInputStream(org.apache.lucene.store.IndexInput input)
Creates a new index input stream wrapping the given lucene index
input. |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
int |
read() |
int |
read(byte[] b,
int off,
int len) |
available, mark, markSupported, read, reset, skippublic IndexInputStream(org.apache.lucene.store.IndexInput input)
input.input - the index input to wrap.public int read()
throws IOException
read in class InputStreamIOExceptionpublic int read(byte[] b,
int off,
int len)
throws IOException
read in class InputStreamIOExceptionpublic void close()
throws IOException
Closes the underlying index input.
close in interface Closeableclose in interface AutoCloseableclose in class InputStreamIOExceptionCopyright © 2004–2022 The Apache Software Foundation. All rights reserved.