Package com.yandex.ydb.table.result
Interface ResultSetReader
-
public interface ResultSetReader- Author:
- Sergey Polovko
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ValueReadergetColumn(int index)Returns value reader for column by index.ValueReadergetColumn(String name)Returns value reader for column by name.intgetColumnCount()Returns number of columns.intgetColumnIndex(String name)Returns column index by name or-1if column with given name is not present.StringgetColumnName(int index)Returns column name by index.TypegetColumnType(int index)Returns column type by index (always create a new type instance)intgetRowCount()Returns number of rows.booleanisTruncated()Returnstrueif the result was truncated,falseotherwise.booleannext()Set iterator to the next table row.voidsetRowIndex(int index)Explicitly switch to a specific row.
-
-
-
Method Detail
-
isTruncated
boolean isTruncated()
Returnstrueif the result was truncated,falseotherwise.
-
getColumnCount
int getColumnCount()
Returns number of columns.
-
getRowCount
int getRowCount()
Returns number of rows.
-
setRowIndex
void setRowIndex(int index)
Explicitly switch to a specific row.
-
next
boolean next()
Set iterator to the next table row. On success tryNextRow will reset all column parsers to the values in next row. Column parsers are invalid before the first TryNextRow call.
-
getColumnName
String getColumnName(int index)
Returns column name by index.
-
getColumnIndex
int getColumnIndex(String name)
Returns column index by name or-1if column with given name is not present.
-
getColumn
ValueReader getColumn(int index)
Returns value reader for column by index.
-
getColumn
ValueReader getColumn(String name)
Returns value reader for column by name.
-
getColumnType
Type getColumnType(int index)
Returns column type by index (always create a new type instance)
-
-