Skip to content

Commit

Permalink
docs: fixed parameter arguments for AbstractResultSet's Listener's on…
Browse files Browse the repository at this point in the history
… TransactionMetadata doc (#3602)

* docs: fixed parameter arguments for AbstractResultSet's Listener's onTransactionMetadata doc

* style: remove unnecessary semi-colon

---------

Co-authored-by: Sakthivel Subramanian <[email protected]>
  • Loading branch information
gagangupt16 and sakthivelmanii authored Jan 29, 2025
1 parent bf69673 commit 1f143a4
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,8 @@ abstract class AbstractResultSet<R> extends AbstractStructReader implements Resu
interface Listener {
/**
* Called when transaction metadata is seen. This method may be invoked at most once. If the
* method is invoked, it will precede {@link #onError(SpannerException)} or {@link #onDone()}.
* method is invoked, it will precede {@link #onError(SpannerException,boolean)} or {@link
* #onDone(boolean)}.
*/
void onTransactionMetadata(Transaction transaction, boolean shouldIncludeId)
throws SpannerException;
Expand Down Expand Up @@ -160,7 +161,7 @@ default boolean initiateStreaming(AsyncResultSet.StreamMessageListener streamMes
}

/** it requests the initial prefetch chunks from gRPC stream */
default void requestPrefetchChunks() {};
default void requestPrefetchChunks() {}
}

static double valueProtoToFloat64(com.google.protobuf.Value proto) {
Expand Down

0 comments on commit 1f143a4

Please sign in to comment.