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,
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) |
long |
getTotalBytes() |
Type |
getType(int field) |
boolean |
isNull(int fieldId) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getSystemMemoryUsage
public ParquetHiveRecordCursor(HdfsEnvironment hdfsEnvironment, String sessionUser, org.apache.hadoop.conf.Configuration configuration, org.apache.hadoop.fs.Path path, long start, long length, Properties splitSchema, List<HiveColumnHandle> columns, boolean useParquetColumnNames, TypeManager typeManager, boolean predicatePushdownEnabled, TupleDomain<HiveColumnHandle> effectivePredicate)
public long getTotalBytes()
getTotalBytes
in interface RecordCursor
public long getCompletedBytes()
getCompletedBytes
in interface RecordCursor
public long getReadTimeNanos()
getReadTimeNanos
in interface RecordCursor
public Type getType(int field)
getType
in interface RecordCursor
public boolean advanceNextPosition()
advanceNextPosition
in interface RecordCursor
public boolean getBoolean(int fieldId)
getBoolean
in interface RecordCursor
public long getLong(int fieldId)
getLong
in interface RecordCursor
public double getDouble(int fieldId)
getDouble
in interface RecordCursor
public io.airlift.slice.Slice getSlice(int fieldId)
getSlice
in interface RecordCursor
public Object getObject(int fieldId)
getObject
in interface RecordCursor
public boolean isNull(int fieldId)
isNull
in interface RecordCursor
public void close()
close
in interface RecordCursor
close
in interface Closeable
close
in interface AutoCloseable
Copyright © 2012-2016. All Rights Reserved.