Package io.prestosql.plugin.tpch
Class TpchRecordSet.TpchRecordCursor<E extends io.prestosql.tpch.TpchEntity>
- java.lang.Object
-
- io.prestosql.plugin.tpch.TpchRecordSet.TpchRecordCursor<E>
-
- All Implemented Interfaces:
RecordCursor,Closeable,AutoCloseable
- Enclosing class:
- TpchRecordSet<E extends io.prestosql.tpch.TpchEntity>
public static final class TpchRecordSet.TpchRecordCursor<E extends io.prestosql.tpch.TpchEntity> extends Object implements RecordCursor
-
-
Constructor Summary
Constructors Constructor Description TpchRecordCursor(Iterator<E> rows, io.prestosql.tpch.TpchTable<E> table, List<io.prestosql.tpch.TpchColumn<E>> columns, TupleDomain<ColumnHandle> predicate)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanadvanceNextPosition()voidclose()booleangetBoolean(int field)longgetCompletedBytes()doublegetDouble(int field)longgetLong(int field)ObjectgetObject(int field)longgetReadTimeNanos()io.airlift.slice.SlicegetSlice(int field)TypegetType(int field)booleanisNull(int field)-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface io.prestosql.spi.connector.RecordCursor
getSystemMemoryUsage
-
-
-
-
Constructor Detail
-
TpchRecordCursor
public TpchRecordCursor(Iterator<E> rows, io.prestosql.tpch.TpchTable<E> table, List<io.prestosql.tpch.TpchColumn<E>> columns, TupleDomain<ColumnHandle> predicate)
-
-
Method Detail
-
getCompletedBytes
public long getCompletedBytes()
- Specified by:
getCompletedBytesin interfaceRecordCursor
-
getReadTimeNanos
public long getReadTimeNanos()
- Specified by:
getReadTimeNanosin interfaceRecordCursor
-
getType
public Type getType(int field)
- 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
public Object getObject(int field)
- 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
-
-