@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, toString
protected byte[] uncompressed
protected int uncompressedLength
public CompressedIndexInput(org.apache.lucene.store.IndexInput in) throws java.io.IOException
java.io.IOException
public int available() throws java.io.IOException
java.io.IOException
public byte readByte() throws java.io.IOException
readByte
in class org.apache.lucene.store.DataInput
java.io.IOException
public int read(byte[] buffer, int offset, int length, boolean fullRead) throws java.io.IOException
java.io.IOException
public void readBytes(byte[] b, int offset, int len) throws java.io.IOException
readBytes
in class org.apache.lucene.store.DataInput
java.io.IOException
public long getFilePointer()
getFilePointer
in class org.apache.lucene.store.IndexInput
public void seek(long pos) throws java.io.IOException
seek
in class org.apache.lucene.store.IndexInput
java.io.IOException
public long length()
length
in class org.apache.lucene.store.IndexInput
public void close() throws java.io.IOException
close
in interface java.io.Closeable
close
in interface java.lang.AutoCloseable
close
in class org.apache.lucene.store.IndexInput
java.io.IOException
protected abstract void doClose() throws java.io.IOException
java.io.IOException
protected boolean readyBuffer() throws java.io.IOException
java.io.IOException
protected abstract void readHeader(org.apache.lucene.store.IndexInput in) throws java.io.IOException
java.io.IOException
protected abstract int uncompress(org.apache.lucene.store.IndexInput in, byte[] out) throws java.io.IOException
java.io.IOException
public org.apache.lucene.store.IndexInput clone()
clone
in class org.apache.lucene.store.IndexInput