in core/src/main/java/org/apache/calcite/avatica/util/Cursor.java [54:145]
List<Accessor> createAccessors(List<ColumnMetaData> types,
Calendar localCalendar, ArrayImpl.Factory factory);
/**
* Moves to the next row.
*
* @return Whether moved
*
* @throws SQLException on database error
*/
boolean next() throws SQLException;
/**
* Closes this cursor and releases resources.
*/
void close();
/**
* Returns whether the last value returned was null.
*
* @throws SQLException on database error
*/
boolean wasNull() throws SQLException;
/**
* Accessor of a column value.
*/
interface Accessor {
boolean wasNull() throws SQLException;
String getString() throws SQLException;
boolean getBoolean() throws SQLException;
byte getByte() throws SQLException;
short getShort() throws SQLException;
int getInt() throws SQLException;
long getLong() throws SQLException;
float getFloat() throws SQLException;
double getDouble() throws SQLException;
BigDecimal getBigDecimal() throws SQLException;
BigDecimal getBigDecimal(int scale) throws SQLException;
byte[] getBytes() throws SQLException;
InputStream getAsciiStream() throws SQLException;
InputStream getUnicodeStream() throws SQLException;
InputStream getBinaryStream() throws SQLException;
Object getObject() throws SQLException;
Reader getCharacterStream() throws SQLException;
Object getObject(Map<String, Class<?>> map) throws SQLException;
Ref getRef() throws SQLException;
Blob getBlob() throws SQLException;
Clob getClob() throws SQLException;
Array getArray() throws SQLException;
Struct getStruct() throws SQLException;
Date getDate(Calendar calendar) throws SQLException;
Time getTime(Calendar calendar) throws SQLException;
Timestamp getTimestamp(Calendar calendar) throws SQLException;
URL getURL() throws SQLException;
NClob getNClob() throws SQLException;
SQLXML getSQLXML() throws SQLException;
String getNString() throws SQLException;
Reader getNCharacterStream() throws SQLException;
<T> T getObject(Class<T> type) throws SQLException;
}