public final class ParquetFooterInputFromCache
extends org.apache.parquet.io.SeekableInputStream
implements org.apache.parquet.io.InputFile
Modifier and Type | Field and Description |
---|---|
static int |
FOOTER_LENGTH_SIZE |
Constructor and Description |
---|
ParquetFooterInputFromCache(MemoryBufferOrBuffers footerData) |
Modifier and Type | Method and Description |
---|---|
long |
getLength() |
long |
getPos() |
org.apache.parquet.io.SeekableInputStream |
newStream() |
int |
read() |
int |
read(ByteBuffer bb) |
void |
readFully(byte[] arg0) |
void |
readFully(byte[] b,
int offset,
int len) |
void |
readFully(ByteBuffer arg0) |
int |
readInternal(byte[] b,
int offset,
int len) |
void |
seek(long targetPos) |
available, close, mark, markSupported, read, read, reset, skip
public static final int FOOTER_LENGTH_SIZE
public ParquetFooterInputFromCache(MemoryBufferOrBuffers footerData)
public long getLength() throws IOException
getLength
in interface org.apache.parquet.io.InputFile
IOException
public org.apache.parquet.io.SeekableInputStream newStream() throws IOException
newStream
in interface org.apache.parquet.io.InputFile
IOException
public long getPos() throws IOException
getPos
in class org.apache.parquet.io.SeekableInputStream
IOException
public void seek(long targetPos) throws IOException
seek
in class org.apache.parquet.io.SeekableInputStream
IOException
public void readFully(byte[] b, int offset, int len) throws IOException
readFully
in class org.apache.parquet.io.SeekableInputStream
IOException
public int readInternal(byte[] b, int offset, int len)
public int read() throws IOException
read
in class InputStream
IOException
public int read(ByteBuffer bb) throws IOException
read
in class org.apache.parquet.io.SeekableInputStream
IOException
public void readFully(byte[] arg0) throws IOException
readFully
in class org.apache.parquet.io.SeekableInputStream
IOException
public void readFully(ByteBuffer arg0) throws IOException
readFully
in class org.apache.parquet.io.SeekableInputStream
IOException
Copyright © 2023 The Apache Software Foundation. All rights reserved.