public class ParquetHiveRecordCursor extends Object implements RecordCursor
| Modifier and Type | Class and Description |
|---|---|
class |
ParquetHiveRecordCursor.ParquetColumnConverter |
static class |
ParquetHiveRecordCursor.ParquetGroupConverter |
class |
ParquetHiveRecordCursor.PrestoParquetRecordReader |
class |
ParquetHiveRecordCursor.PrestoReadSupport |
| Constructor and Description |
|---|
ParquetHiveRecordCursor(HdfsEnvironment hdfsEnvironment,
String sessionUser,
org.apache.hadoop.conf.Configuration configuration,
org.apache.hadoop.fs.Path path,
long start,
long length,
long fileSize,
Properties splitSchema,
List<HiveColumnHandle> columns,
boolean useParquetColumnNames,
TypeManager typeManager,
boolean predicatePushdownEnabled,
TupleDomain<HiveColumnHandle> effectivePredicate) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
advanceNextPosition() |
void |
close() |
boolean |
getBoolean(int fieldId) |
long |
getCompletedBytes() |
double |
getDouble(int fieldId) |
long |
getLong(int fieldId) |
Object |
getObject(int fieldId) |
long |
getReadTimeNanos() |
io.airlift.slice.Slice |
getSlice(int fieldId) |
Type |
getType(int field) |
boolean |
isNull(int fieldId) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetSystemMemoryUsagepublic ParquetHiveRecordCursor(HdfsEnvironment hdfsEnvironment, String sessionUser, org.apache.hadoop.conf.Configuration configuration, org.apache.hadoop.fs.Path path, long start, long length, long fileSize, Properties splitSchema, List<HiveColumnHandle> columns, boolean useParquetColumnNames, TypeManager typeManager, boolean predicatePushdownEnabled, TupleDomain<HiveColumnHandle> effectivePredicate)
public long getCompletedBytes()
getCompletedBytes in interface RecordCursorpublic long getReadTimeNanos()
getReadTimeNanos in interface RecordCursorpublic Type getType(int field)
getType in interface RecordCursorpublic boolean advanceNextPosition()
advanceNextPosition in interface RecordCursorpublic boolean getBoolean(int fieldId)
getBoolean in interface RecordCursorpublic long getLong(int fieldId)
getLong in interface RecordCursorpublic double getDouble(int fieldId)
getDouble in interface RecordCursorpublic io.airlift.slice.Slice getSlice(int fieldId)
getSlice in interface RecordCursorpublic Object getObject(int fieldId)
getObject in interface RecordCursorpublic boolean isNull(int fieldId)
isNull in interface RecordCursorpublic void close()
close in interface RecordCursorclose in interface Closeableclose in interface AutoCloseableCopyright © 2012-2017. All Rights Reserved.