public final class RowIterator extends AbstractRowSet
mappings, rows| Modifier and Type | Method and Description |
|---|---|
<T> T |
getColumnByIndex(int index)
Gets a column value as a Java class using the default mapping.
|
<T> T |
getColumnByIndex(int index,
Class<T> javaClass)
Gets a column value as a Java class.
|
<T> T |
getColumnByName(String columnName)
Gets a column value as a Java class using the default mapping.
|
<T> T |
getColumnByName(String columnName,
Class<T> javaClass)
Gets a column value as a Java class.
|
int |
getColumnIndexByName(String columnName)
Gets a column index in the result set by name.
|
int |
getCurrentIterationNumber()
Gets the current iteration number.
|
MonetDBRow |
getCurrentRow()
Gets the current row currentColumns values as Java objects.
|
int |
getCurrentTableRowNumber()
Gets the current row number of the table in the iteration.
|
int |
getFirstIndex()
Gets the first index used on this iteration.
|
int |
getLastIndex()
Gets the last index used on this iteration.
|
MonetDBTable |
getTable()
Gets the original table of this iterator.
|
boolean |
hasMore()
Checks if there are more rows to iterate after the current one.
|
getNumberOfColumns, getQueryResultTablepublic int getColumnIndexByName(String columnName)
AbstractRowSetgetColumnIndexByName in class AbstractRowSetcolumnName - The column namepublic MonetDBTable getTable()
public int getFirstIndex()
public int getLastIndex()
public int getCurrentIterationNumber()
public int getCurrentTableRowNumber()
public MonetDBRow getCurrentRow()
public boolean hasMore()
public <T> T getColumnByIndex(int index,
Class<T> javaClass)
T - A Java class mapped to a MonetDB data typeindex - The index of the columnjavaClass - The Java classpublic <T> T getColumnByIndex(int index)
T - A Java class mapped to a MonetDB data typeindex - The index of the columnpublic <T> T getColumnByName(String columnName, Class<T> javaClass)
T - A Java class mapped to a MonetDB data typecolumnName - The name of the columnjavaClass - The Java classpublic <T> T getColumnByName(String columnName)
T - A Java class mapped to a MonetDB data typecolumnName - The name of the columnCopyright © 2018. All rights reserved.