Result
, Result.ResultMap
public static interface Result.Row extends Result.ResultMap
RowOperation
to expose each row of a row sequence.Result.Count, Result.OutParameterMap, Result.ResultMap, Result.Row
Modifier and Type | Method | Description |
---|---|---|
void |
cancel() |
Terminate processing of the rows in this
RowOperation . |
java.util.concurrent.CompletionStage<java.lang.Boolean> |
isLast() |
Is this the last
Result.Row of the row sequence. |
long |
rowNumber() |
get, getIdentifiers
long rowNumber()
Result.Row
s in the Result.Row
sequence preceeding this Result.Row
. For the first
row in the Row sequence the rowNumber()
is 0.Result.Row
s in the Result.Row
sequence preceeding this Result.Row
java.lang.IllegalStateException
- if the call that was passed this Result
has
endedjava.util.concurrent.CompletionStage<java.lang.Boolean> isLast()
Result.Row
of the row sequence. If true then the result of the
call that was passed this Result.Row
is the result of the Operation
.CompletionStage
the value of which
will be true iff this the last Result.Row
of a row sequence and false otherwisejava.lang.IllegalStateException
- if the call that was passed this Result
has
endedvoid cancel()
RowOperation
. The result of the
call that was passed this Result.Row
will be the result of the Operation
. No
further rows in the row sequence will be processed. All subsequent rows,
if any, will be ignored. Any rows already fetched will not be processed.
Any rows not yet fetched may or may not be fetched. If fetched they will
not be processed.java.lang.IllegalStateException
- if the call that was passed this Result
has
endedReport a bug or suggest an enhancement
For further API reference and developer documentation see the Java SE Documentation, which contains more detailed, developer-targeted descriptions with conceptual overviews, definitions of terms, workarounds, and working code examples.
Java is a trademark or registered trademark of Oracle and/or its affiliates in the US and other countries.
Copyright © 1993, 2017, Oracle and/or its affiliates, 500 Oracle Parkway, Redwood Shores, CA 94065 USA.
All rights reserved. Use is subject to license terms and the documentation redistribution policy.
DRAFT JDBC 4.4 EA