public class GenericHiveRecordCursor<K,V extends org.apache.hadoop.io.Writable> extends Object implements com.facebook.presto.spi.RecordCursor
| Constructor and Description |
|---|
GenericHiveRecordCursor(org.apache.hadoop.conf.Configuration configuration,
org.apache.hadoop.fs.Path path,
org.apache.hadoop.mapred.RecordReader<K,V> recordReader,
long totalBytes,
Properties splitSchema,
List<HiveColumnHandle> columns,
org.joda.time.DateTimeZone hiveStorageTimeZone,
com.facebook.presto.common.type.TypeManager typeManager) |
GenericHiveRecordCursor(org.apache.hadoop.conf.Configuration configuration,
org.apache.hadoop.fs.Path path,
org.apache.hadoop.mapred.RecordReader<K,V> recordReader,
long totalBytes,
Properties splitSchema,
List<HiveColumnHandle> columns,
ZoneId hiveStorageTimeZoneId,
com.facebook.presto.common.type.TypeManager typeManager) |
| 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) |
com.facebook.presto.common.type.Type |
getType(int field) |
boolean |
isNull(int fieldId) |
public GenericHiveRecordCursor(org.apache.hadoop.conf.Configuration configuration,
org.apache.hadoop.fs.Path path,
org.apache.hadoop.mapred.RecordReader<K,V> recordReader,
long totalBytes,
Properties splitSchema,
List<HiveColumnHandle> columns,
ZoneId hiveStorageTimeZoneId,
com.facebook.presto.common.type.TypeManager typeManager)
public GenericHiveRecordCursor(org.apache.hadoop.conf.Configuration configuration,
org.apache.hadoop.fs.Path path,
org.apache.hadoop.mapred.RecordReader<K,V> recordReader,
long totalBytes,
Properties splitSchema,
List<HiveColumnHandle> columns,
org.joda.time.DateTimeZone hiveStorageTimeZone,
com.facebook.presto.common.type.TypeManager typeManager)
public long getCompletedBytes()
getCompletedBytes in interface com.facebook.presto.spi.RecordCursorpublic long getReadTimeNanos()
getReadTimeNanos in interface com.facebook.presto.spi.RecordCursorpublic com.facebook.presto.common.type.Type getType(int field)
getType in interface com.facebook.presto.spi.RecordCursorpublic boolean advanceNextPosition()
advanceNextPosition in interface com.facebook.presto.spi.RecordCursorpublic boolean getBoolean(int fieldId)
getBoolean in interface com.facebook.presto.spi.RecordCursorpublic long getLong(int fieldId)
getLong in interface com.facebook.presto.spi.RecordCursorpublic double getDouble(int fieldId)
getDouble in interface com.facebook.presto.spi.RecordCursorpublic io.airlift.slice.Slice getSlice(int fieldId)
getSlice in interface com.facebook.presto.spi.RecordCursorpublic Object getObject(int fieldId)
getObject in interface com.facebook.presto.spi.RecordCursorpublic boolean isNull(int fieldId)
isNull in interface com.facebook.presto.spi.RecordCursorpublic void close()
close in interface com.facebook.presto.spi.RecordCursorclose in interface Closeableclose in interface AutoCloseableCopyright © 2012–2023. All rights reserved.