Package io.trino.plugin.hive
Class HiveRecordCursor
java.lang.Object
io.trino.plugin.hive.util.ForwardingRecordCursor
io.trino.plugin.hive.HiveRecordCursor
- All Implemented Interfaces:
RecordCursor,Closeable,AutoCloseable
-
Constructor Summary
ConstructorsConstructorDescriptionHiveRecordCursor(List<HivePageSourceProvider.ColumnMapping> columnMappings, RecordCursor delegate) -
Method Summary
Methods inherited from class io.trino.plugin.hive.util.ForwardingRecordCursor
advanceNextPosition, close, getCompletedBytes, getMemoryUsage, getReadTimeNanos
-
Constructor Details
-
HiveRecordCursor
public HiveRecordCursor(List<HivePageSourceProvider.ColumnMapping> columnMappings, RecordCursor delegate)
-
-
Method Details
-
delegate
- Specified by:
delegatein classForwardingRecordCursor
-
getType
- Specified by:
getTypein interfaceRecordCursor- Overrides:
getTypein classForwardingRecordCursor
-
getBoolean
public boolean getBoolean(int field) - Specified by:
getBooleanin interfaceRecordCursor- Overrides:
getBooleanin classForwardingRecordCursor
-
getLong
public long getLong(int field) - Specified by:
getLongin interfaceRecordCursor- Overrides:
getLongin classForwardingRecordCursor
-
getDouble
public double getDouble(int field) - Specified by:
getDoublein interfaceRecordCursor- Overrides:
getDoublein classForwardingRecordCursor
-
getSlice
public io.airlift.slice.Slice getSlice(int field) - Specified by:
getSlicein interfaceRecordCursor- Overrides:
getSlicein classForwardingRecordCursor
-
getObject
- Specified by:
getObjectin interfaceRecordCursor- Overrides:
getObjectin classForwardingRecordCursor
-
isNull
public boolean isNull(int field) - Specified by:
isNullin interfaceRecordCursor- Overrides:
isNullin classForwardingRecordCursor
-