public class HdfsOrcDataSource extends AbstractOrcDataSource
| Constructor and Description |
|---|
HdfsOrcDataSource(OrcDataSourceId id,
long size,
io.airlift.units.DataSize maxMergeDistance,
io.airlift.units.DataSize maxReadSize,
io.airlift.units.DataSize streamBufferSize,
boolean lazyReadSmallRanges,
FSDataInputStream inputStream,
FileFormatDataSourceStats stats) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
protected void |
readInternal(long position,
byte[] buffer,
int bufferOffset,
int bufferLength) |
getId, getReadBytes, getReadTimeNanos, getSize, readFully, readFully, readFully, toStringpublic HdfsOrcDataSource(OrcDataSourceId id, long size, io.airlift.units.DataSize maxMergeDistance, io.airlift.units.DataSize maxReadSize, io.airlift.units.DataSize streamBufferSize, boolean lazyReadSmallRanges, FSDataInputStream inputStream, FileFormatDataSourceStats stats)
public void close()
throws IOException
IOExceptionprotected void readInternal(long position,
byte[] buffer,
int bufferOffset,
int bufferLength)
readInternal in class AbstractOrcDataSourceCopyright © 2012–2023. All rights reserved.