public static final class TpchRecordSet.TpchRecordCursor<E extends io.airlift.tpch.TpchEntity> extends Object implements RecordCursor
| Constructor and Description |
|---|
TpchRecordCursor(Iterator<E> rows,
io.airlift.tpch.TpchTable<E> table,
List<io.airlift.tpch.TpchColumn<E>> columns,
TupleDomain<ColumnHandle> predicate) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
advanceNextPosition() |
void |
close() |
boolean |
getBoolean(int field) |
long |
getCompletedBytes() |
double |
getDouble(int field) |
long |
getLong(int field) |
Object |
getObject(int field) |
long |
getReadTimeNanos() |
io.airlift.slice.Slice |
getSlice(int field) |
Type |
getType(int field) |
boolean |
isNull(int field) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetSystemMemoryUsagepublic TpchRecordCursor(Iterator<E> rows, io.airlift.tpch.TpchTable<E> table, List<io.airlift.tpch.TpchColumn<E>> columns, TupleDomain<ColumnHandle> predicate)
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 field)
getBoolean in interface RecordCursorpublic long getLong(int field)
getLong in interface RecordCursorpublic double getDouble(int field)
getDouble in interface RecordCursorpublic io.airlift.slice.Slice getSlice(int field)
getSlice in interface RecordCursorpublic Object getObject(int field)
getObject in interface RecordCursorpublic boolean isNull(int field)
isNull in interface RecordCursorpublic void close()
close in interface RecordCursorclose in interface Closeableclose in interface AutoCloseableCopyright © 2012–2022. All rights reserved.