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, skip
public IndexInputStream(org.apache.lucene.store.IndexInput input)
input
.input
- the index input to wrap.public int read() throws IOException
read
in class InputStream
IOException
public int read(byte[] b, int off, int len) throws IOException
read
in class InputStream
IOException
public void close() throws IOException
Closes the underlying index input.
close
in interface Closeable
close
in interface AutoCloseable
close
in class InputStream
IOException
Copyright © 2004–2024 The Apache Software Foundation. All rights reserved.