public interface RowIterator extends java.util.Iterator<Column>
When you do not know the columns of a row at the time you design a program, your program can use a row iterator to traverse the columns of a row.
A row iterator presents all the columns that are actually set in a row object. The table schema determines the order in which an iterator presents the columns of a row.
Row iterator objects are not thread-safe. Programs must not access a row iterator from several threads simultaneously.
To create a RowIterator object, call Row.iterator
.
This interface is implemented internally. Applications do not implement this interface.
Modifier and Type | Method and Description |
---|---|
boolean |
hasNext()
Determine whether a row iterator object can present another column.
|
Column |
next()
Get the next column from a row iterator object.
|
void |
remove()
Unsupported method; do not use.
|
boolean hasNext()
hasNext
in interface java.util.Iterator<Column>
Column next()
next
in interface java.util.Iterator<Column>
void remove()
remove
in interface java.util.Iterator<Column>