Package io.trino.plugin.localfile
Class LocalFileRecordCursor
- java.lang.Object
-
- io.trino.plugin.localfile.LocalFileRecordCursor
-
- All Implemented Interfaces:
RecordCursor,Closeable,AutoCloseable
public class LocalFileRecordCursor extends Object implements RecordCursor
-
-
Field Summary
Fields Modifier and Type Field Description static DateTimeFormatterISO_FORMATTER
-
Constructor Summary
Constructors Constructor Description LocalFileRecordCursor(LocalFileTables localFileTables, List<LocalFileColumnHandle> columns, SchemaTableName tableName, HostAddress address, TupleDomain<LocalFileColumnHandle> 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.trino.spi.connector.RecordCursor
getMemoryUsage
-
-
-
-
Field Detail
-
ISO_FORMATTER
public static final DateTimeFormatter ISO_FORMATTER
-
-
Constructor Detail
-
LocalFileRecordCursor
public LocalFileRecordCursor(LocalFileTables localFileTables, List<LocalFileColumnHandle> columns, SchemaTableName tableName, HostAddress address, TupleDomain<LocalFileColumnHandle> 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
-
-