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
public class HiveRecordCursor extends ForwardingRecordCursor
-
-
Constructor Summary
Constructors Constructor Description HiveRecordCursor(List<HivePageSourceProvider.ColumnMapping> columnMappings, RecordCursor delegate)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected RecordCursordelegate()booleangetBoolean(int field)doublegetDouble(int field)longgetLong(int field)ObjectgetObject(int field)io.airlift.slice.SlicegetSlice(int field)TypegetType(int field)booleanisNull(int field)-
Methods inherited from class io.trino.plugin.hive.util.ForwardingRecordCursor
advanceNextPosition, close, getCompletedBytes, getReadTimeNanos, getSystemMemoryUsage
-
-
-
-
Constructor Detail
-
HiveRecordCursor
public HiveRecordCursor(List<HivePageSourceProvider.ColumnMapping> columnMappings, RecordCursor delegate)
-
-
Method Detail
-
delegate
protected RecordCursor delegate()
- Specified by:
delegatein classForwardingRecordCursor
-
getType
public Type getType(int field)
- 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
public Object getObject(int field)
- Specified by:
getObjectin interfaceRecordCursor- Overrides:
getObjectin classForwardingRecordCursor
-
isNull
public boolean isNull(int field)
- Specified by:
isNullin interfaceRecordCursor- Overrides:
isNullin classForwardingRecordCursor
-
-