public class GenericHiveRecordCursor<K,V extends org.apache.hadoop.io.Writable> extends Object implements RecordCursor
| Constructor and Description |
|---|
GenericHiveRecordCursor(org.apache.hadoop.conf.Configuration configuration,
Path path,
org.apache.hadoop.mapred.RecordReader<K,V> recordReader,
long totalBytes,
Properties splitSchema,
List<HiveColumnHandle> columns,
org.joda.time.DateTimeZone hiveStorageTimeZone,
TypeManager typeManager) |
GenericHiveRecordCursor(org.apache.hadoop.conf.Configuration configuration,
Path path,
org.apache.hadoop.mapred.RecordReader<K,V> recordReader,
long totalBytes,
Properties splitSchema,
List<HiveColumnHandle> columns,
ZoneId hiveStorageTimeZoneId,
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) |
Type |
getType(int field) |
boolean |
isNull(int fieldId) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetSystemMemoryUsagepublic GenericHiveRecordCursor(org.apache.hadoop.conf.Configuration configuration,
Path path,
org.apache.hadoop.mapred.RecordReader<K,V> recordReader,
long totalBytes,
Properties splitSchema,
List<HiveColumnHandle> columns,
ZoneId hiveStorageTimeZoneId,
TypeManager typeManager)
public GenericHiveRecordCursor(org.apache.hadoop.conf.Configuration configuration,
Path path,
org.apache.hadoop.mapred.RecordReader<K,V> recordReader,
long totalBytes,
Properties splitSchema,
List<HiveColumnHandle> columns,
org.joda.time.DateTimeZone hiveStorageTimeZone,
TypeManager typeManager)
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–2023. All rights reserved.