@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 IOException
IOException
public int available() throws IOException
IOException
public byte readByte() throws IOException
readByte
in class org.apache.lucene.store.DataInput
IOException
public int read(byte[] buffer, int offset, int length, boolean fullRead) throws IOException
IOException
public void readBytes(byte[] b, int offset, int len) throws IOException
readBytes
in class org.apache.lucene.store.DataInput
IOException
public long getFilePointer()
getFilePointer
in class org.apache.lucene.store.IndexInput
public void seek(long pos) throws IOException
seek
in class org.apache.lucene.store.IndexInput
IOException
public long length()
length
in class org.apache.lucene.store.IndexInput
public void close() throws IOException
close
in interface Closeable
close
in interface AutoCloseable
close
in class org.apache.lucene.store.IndexInput
IOException
protected abstract void doClose() throws IOException
IOException
protected boolean readyBuffer() throws IOException
IOException
protected abstract void readHeader(org.apache.lucene.store.IndexInput in) throws IOException
IOException
protected abstract int uncompress(org.apache.lucene.store.IndexInput in, byte[] out) throws IOException
IOException
public org.apache.lucene.store.IndexInput clone()
clone
in class org.apache.lucene.store.IndexInput
Copyright © 2009–2016. All rights reserved.