public class HdfsRcFileDataSource extends Object implements com.facebook.presto.rcfile.RcFileDataSource
| Constructor and Description |
|---|
HdfsRcFileDataSource(String path,
org.apache.hadoop.fs.FSDataInputStream inputStream,
long size,
FileFormatDataSourceStats stats) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
com.facebook.presto.rcfile.RcFileDataSourceId |
getId() |
long |
getReadBytes() |
long |
getReadTimeNanos() |
long |
getSize() |
void |
readFully(long position,
byte[] buffer,
int bufferOffset,
int bufferLength) |
String |
toString() |
public HdfsRcFileDataSource(String path, org.apache.hadoop.fs.FSDataInputStream inputStream, long size, FileFormatDataSourceStats stats)
public com.facebook.presto.rcfile.RcFileDataSourceId getId()
getId in interface com.facebook.presto.rcfile.RcFileDataSourcepublic void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableIOExceptionpublic long getReadBytes()
getReadBytes in interface com.facebook.presto.rcfile.RcFileDataSourcepublic long getReadTimeNanos()
getReadTimeNanos in interface com.facebook.presto.rcfile.RcFileDataSourcepublic long getSize()
getSize in interface com.facebook.presto.rcfile.RcFileDataSourcepublic void readFully(long position,
byte[] buffer,
int bufferOffset,
int bufferLength)
throws IOException
readFully in interface com.facebook.presto.rcfile.RcFileDataSourceIOExceptionCopyright © 2012–2023. All rights reserved.