Package org.postgresql.jdbc
Class PgResultSet.CurrentRow
java.lang.Object
org.postgresql.jdbc.PgResultSet.CurrentRow
- Enclosing class:
PgResultSet
A wrapper that contains the current row and its fields.
It is useful if we want the ResultSet to switch parsing a new row on top of the current one.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionprivate static final class
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription(package private) void
consume()
Consumes the row at the top of the stack if more than one is present.(package private) Field[]
fields()
row()
(package private) void
(package private) PgResultSet.CurrentRow.CurrentRowLock
Switch to a new row.
Note: make sure to callconsume()
after you are done.
-
Field Details
-
lock
-
fieldsStack
-
rowStack
-
-
Constructor Details
-
CurrentRow
CurrentRow(Field[] fields)
-
-
Method Details