Enum IntermediateStatement.ResultNotReadyBehavior (0.6.1)

publicenumIntermediateStatement.ResultNotReadyBehaviorextendsEnum<IntermediateStatement.ResultNotReadyBehavior>

Indicates whether an attempt to get the result of a statement should block or fail if the result is not yet available. Normal SQL commands that can be executed directly on Cloud Spanner should always have their results available when a sync/flush message is received. COPY statements do not have that, as they require additional messages after a flush/sync has been received. Attempts to get the result of a COPY statement should therefore block until it is available, which is after a CopyDone or CopyFail message has been received.

Static Fields

Name Description
BLOCK
FAIL

Static Methods

Name Description
valueOf(String name)
values()

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025年10月30日 UTC.