Package io.trino.plugin.tpch
Class TpchRecordSet.TpchRecordCursor<E extends io.trino.tpch.TpchEntity>
java.lang.Object
io.trino.plugin.tpch.TpchRecordSet.TpchRecordCursor<E>
- All Implemented Interfaces:
RecordCursor,Closeable,AutoCloseable
- Enclosing class:
- TpchRecordSet<E extends io.trino.tpch.TpchEntity>
public static final class TpchRecordSet.TpchRecordCursor<E extends io.trino.tpch.TpchEntity>
extends Object
implements RecordCursor
-
Constructor Summary
ConstructorsConstructorDescriptionTpchRecordCursor(Iterator<E> rows, io.trino.tpch.TpchTable<E> table, List<io.trino.tpch.TpchColumn<E>> columns, List<Type> columnTypes, TupleDomain<ColumnHandle> predicate) -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface io.trino.spi.connector.RecordCursor
getMemoryUsage
-
Constructor Details
-
TpchRecordCursor
public TpchRecordCursor(Iterator<E> rows, io.trino.tpch.TpchTable<E> table, List<io.trino.tpch.TpchColumn<E>> columns, List<Type> columnTypes, TupleDomain<ColumnHandle> predicate)
-
-
Method Details
-
getCompletedBytes
public long getCompletedBytes()- Specified by:
getCompletedBytesin interfaceRecordCursor
-
getReadTimeNanos
public long getReadTimeNanos()- Specified by:
getReadTimeNanosin interfaceRecordCursor
-
getType
- Specified by:
getTypein interfaceRecordCursor
-
advanceNextPosition
public boolean advanceNextPosition()- Specified by:
advanceNextPositionin interfaceRecordCursor
-
getBoolean
public boolean getBoolean(int field) - Specified by:
getBooleanin interfaceRecordCursor
-
getLong
public long getLong(int field) - Specified by:
getLongin interfaceRecordCursor
-
getDouble
public double getDouble(int field) - Specified by:
getDoublein interfaceRecordCursor
-
getSlice
public io.airlift.slice.Slice getSlice(int field) - Specified by:
getSlicein interfaceRecordCursor
-
getObject
- Specified by:
getObjectin interfaceRecordCursor
-
isNull
public boolean isNull(int field) - Specified by:
isNullin interfaceRecordCursor
-
close
public void close()- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable- Specified by:
closein interfaceRecordCursor
-