@Deprecated
public abstract class CompressedIndexInput
extends org.apache.lucene.store.IndexInput
| Modifier and Type | Field and Description |
|---|---|
protected byte[] |
uncompressed
Deprecated.
|
protected int |
uncompressedLength
Deprecated.
|
| Constructor and Description |
|---|
CompressedIndexInput(org.apache.lucene.store.IndexInput in)
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
int |
available()
Deprecated.
Method is overridden to report number of bytes that can now be read
from decoded data buffer, without reading bytes from the underlying
stream.
|
org.apache.lucene.store.IndexInput |
clone()
Deprecated.
|
void |
close()
Deprecated.
|
protected abstract void |
doClose()
Deprecated.
|
long |
getFilePointer()
Deprecated.
|
long |
length()
Deprecated.
|
int |
read(byte[] buffer,
int offset,
int length,
boolean fullRead)
Deprecated.
|
byte |
readByte()
Deprecated.
|
void |
readBytes(byte[] b,
int offset,
int len)
Deprecated.
|
protected abstract void |
readHeader(org.apache.lucene.store.IndexInput in)
Deprecated.
|
protected boolean |
readyBuffer()
Deprecated.
|
void |
seek(long pos)
Deprecated.
|
protected abstract int |
uncompress(org.apache.lucene.store.IndexInput in,
byte[] out)
Deprecated.
Uncompress the data into the out array, returning the size uncompressed
|
getFullSliceDescription, randomAccessSlice, slice, toStringprotected byte[] uncompressed
protected int uncompressedLength
public CompressedIndexInput(org.apache.lucene.store.IndexInput in)
throws java.io.IOException
java.io.IOExceptionpublic int available()
throws java.io.IOException
java.io.IOExceptionpublic byte readByte()
throws java.io.IOException
readByte in class org.apache.lucene.store.DataInputjava.io.IOExceptionpublic int read(byte[] buffer,
int offset,
int length,
boolean fullRead)
throws java.io.IOException
java.io.IOExceptionpublic void readBytes(byte[] b,
int offset,
int len)
throws java.io.IOException
readBytes in class org.apache.lucene.store.DataInputjava.io.IOExceptionpublic long getFilePointer()
getFilePointer in class org.apache.lucene.store.IndexInputpublic void seek(long pos)
throws java.io.IOException
seek in class org.apache.lucene.store.IndexInputjava.io.IOExceptionpublic long length()
length in class org.apache.lucene.store.IndexInputpublic void close()
throws java.io.IOException
close in interface java.io.Closeableclose in interface java.lang.AutoCloseableclose in class org.apache.lucene.store.IndexInputjava.io.IOExceptionprotected abstract void doClose()
throws java.io.IOException
java.io.IOExceptionprotected boolean readyBuffer()
throws java.io.IOException
java.io.IOExceptionprotected abstract void readHeader(org.apache.lucene.store.IndexInput in)
throws java.io.IOException
java.io.IOExceptionprotected abstract int uncompress(org.apache.lucene.store.IndexInput in,
byte[] out)
throws java.io.IOException
java.io.IOExceptionpublic org.apache.lucene.store.IndexInput clone()
clone in class org.apache.lucene.store.IndexInput