public class RcFileReader extends Object implements Closeable
| Constructor and Description |
|---|
RcFileReader(RcFileDataSource dataSource,
RcFileEncoding encoding,
Map<Integer,Type> readColumns,
RcFileCodecFactory codecFactory,
long offset,
long length,
io.airlift.units.DataSize bufferSize) |
| Modifier and Type | Method and Description |
|---|---|
int |
advance() |
void |
close() |
long |
getBytesRead() |
int |
getColumnCount() |
RcFileDataSourceId |
getId() |
long |
getLength() |
Map<String,String> |
getMetadata() |
long |
getReadTimeNanos() |
long |
getRowsRead() |
io.airlift.slice.Slice |
getSync() |
byte |
getVersion() |
Block |
readBlock(int columnIndex) |
public RcFileReader(RcFileDataSource dataSource, RcFileEncoding encoding, Map<Integer,Type> readColumns, RcFileCodecFactory codecFactory, long offset, long length, io.airlift.units.DataSize bufferSize) throws IOException
IOExceptionpublic byte getVersion()
public int getColumnCount()
public long getLength()
public long getBytesRead()
public long getRowsRead()
public long getReadTimeNanos()
public io.airlift.slice.Slice getSync()
public void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableIOExceptionpublic int advance()
throws IOException
IOExceptionpublic Block readBlock(int columnIndex) throws IOException
IOExceptionpublic RcFileDataSourceId getId()
Copyright © 2012–2022. All rights reserved.