Package org.apache.lucene.replicator
Class IndexInputInputStream
- java.lang.Object
-
- java.io.InputStream
-
- org.apache.lucene.replicator.IndexInputInputStream
-
- All Implemented Interfaces:
Closeable,AutoCloseable
@Deprecated public final class IndexInputInputStream extends InputStream
Deprecated.use org.apache.lucene.replicator.nrt insteadAnInputStreamwhich wraps anIndexInput.- WARNING: This API is experimental and might change in incompatible ways in the next release.
-
-
Constructor Summary
Constructors Constructor Description IndexInputInputStream(IndexInput in)Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description intavailable()Deprecated.voidclose()Deprecated.intread()Deprecated.intread(byte[] b)Deprecated.intread(byte[] b, int off, int len)Deprecated.longskip(long n)Deprecated.-
Methods inherited from class java.io.InputStream
mark, markSupported, nullInputStream, readAllBytes, readNBytes, readNBytes, reset, transferTo
-
-
-
-
Constructor Detail
-
IndexInputInputStream
public IndexInputInputStream(IndexInput in)
Deprecated.
-
-
Method Detail
-
read
public int read() throws IOExceptionDeprecated.- Specified by:
readin classInputStream- Throws:
IOException
-
available
public int available() throws IOExceptionDeprecated.- Overrides:
availablein classInputStream- Throws:
IOException
-
close
public void close() throws IOExceptionDeprecated.- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable- Overrides:
closein classInputStream- Throws:
IOException
-
read
public int read(byte[] b) throws IOExceptionDeprecated.- Overrides:
readin classInputStream- Throws:
IOException
-
read
public int read(byte[] b, int off, int len) throws IOExceptionDeprecated.- Overrides:
readin classInputStream- Throws:
IOException
-
skip
public long skip(long n) throws IOExceptionDeprecated.- Overrides:
skipin classInputStream- Throws:
IOException
-
-