public class DrillCursor extends Object implements org.apache.calcite.avatica.util.Cursor
| Modifier and Type | Method and Description |
|---|---|
void |
cancel() |
void |
close() |
List<org.apache.calcite.avatica.util.Cursor.Accessor> |
createAccessors(List<org.apache.calcite.avatica.ColumnMetaData> types,
Calendar localCalendar,
org.apache.calcite.avatica.util.ArrayImpl.Factory factory) |
protected int |
getCurrentRecordNumber() |
org.apache.drill.shaded.guava.com.google.common.base.Stopwatch |
getElapsedTimer() |
String |
getQueryId() |
boolean |
isAfterLast() |
boolean |
isBeforeFirst() |
boolean |
next()
Advances this cursor to the next row, if any, or to after the sequence of
rows if no next row.
|
boolean |
wasNull() |
protected int getCurrentRecordNumber()
public String getQueryId()
public boolean isBeforeFirst()
public boolean isAfterLast()
public List<org.apache.calcite.avatica.util.Cursor.Accessor> createAccessors(List<org.apache.calcite.avatica.ColumnMetaData> types, Calendar localCalendar, org.apache.calcite.avatica.util.ArrayImpl.Factory factory)
createAccessors in interface org.apache.calcite.avatica.util.Cursorpublic boolean next()
throws SQLException
next in interface org.apache.calcite.avatica.util.CursorSQLExceptionpublic void cancel()
public void close()
close in interface AutoCloseableclose in interface org.apache.calcite.avatica.util.Cursorpublic boolean wasNull()
throws SQLException
wasNull in interface org.apache.calcite.avatica.util.CursorSQLExceptionpublic org.apache.drill.shaded.guava.com.google.common.base.Stopwatch getElapsedTimer()
Copyright © 2021 The Apache Software Foundation. All rights reserved.