Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion generation_config.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
gapic_generator_version: 2.46.1
googleapis_commitish: 005df4681b89bd204a90b76168a6dc9d9e7bf4fe
googleapis_commitish: 16a1580c06b3b32e8ab33c39d846bba7e21bfae3
libraries_bom_version: 26.47.0
libraries:
- api_shortname: spanner
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -115,13 +115,37 @@ public enum QueryMode implements com.google.protobuf.ProtocolMessageEnum {
*
*
* <pre>
* This mode returns both the query plan and the execution statistics along
* with the results.
* This mode returns the query plan, overall execution statistics,
* operator level execution statistics along with the results. This has a
* performance overhead compared to the other modes. It is not recommended
* to use this mode for production traffic.
* </pre>
*
* <code>PROFILE = 2;</code>
*/
PROFILE(2),
/**
*
*
* <pre>
* This mode returns the overall (but not operator-level) execution
* statistics along with the results.
* </pre>
*
* <code>WITH_STATS = 3;</code>
*/
WITH_STATS(3),
/**
*
*
* <pre>
* This mode returns the query plan, overall (but not operator-level)
* execution statistics along with the results.
* </pre>
*
* <code>WITH_PLAN_AND_STATS = 4;</code>
*/
WITH_PLAN_AND_STATS(4),
UNRECOGNIZED(-1),
;

Expand Down Expand Up @@ -150,13 +174,37 @@ public enum QueryMode implements com.google.protobuf.ProtocolMessageEnum {
*
*
* <pre>
* This mode returns both the query plan and the execution statistics along
* with the results.
* This mode returns the query plan, overall execution statistics,
* operator level execution statistics along with the results. This has a
* performance overhead compared to the other modes. It is not recommended
* to use this mode for production traffic.
* </pre>
*
* <code>PROFILE = 2;</code>
*/
public static final int PROFILE_VALUE = 2;
/**
*
*
* <pre>
* This mode returns the overall (but not operator-level) execution
* statistics along with the results.
* </pre>
*
* <code>WITH_STATS = 3;</code>
*/
public static final int WITH_STATS_VALUE = 3;
/**
*
*
* <pre>
* This mode returns the query plan, overall (but not operator-level)
* execution statistics along with the results.
* </pre>
*
* <code>WITH_PLAN_AND_STATS = 4;</code>
*/
public static final int WITH_PLAN_AND_STATS_VALUE = 4;

public final int getNumber() {
if (this == UNRECOGNIZED) {
Expand Down Expand Up @@ -188,6 +236,10 @@ public static QueryMode forNumber(int value) {
return PLAN;
case 2:
return PROFILE;
case 3:
return WITH_STATS;
case 4:
return WITH_PLAN_AND_STATS;
default:
return null;
}
Expand Down

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,9 @@ public interface StructTypeOrBuilder
* The list of fields that make up this struct. Order is
* significant, because values of this struct type are represented as
* lists, where the order of field values matches the order of
* fields in the [StructType][google.spanner.v1.StructType]. In turn, the order of fields
* matches the order of columns in a read request, or the order of
* fields in the `SELECT` clause of a query.
* fields in the [StructType][google.spanner.v1.StructType]. In turn, the
* order of fields matches the order of columns in a read request, or the
* order of fields in the `SELECT` clause of a query.
* </pre>
*
* <code>repeated .google.spanner.v1.StructType.Field fields = 1;</code>
Expand All @@ -46,9 +46,9 @@ public interface StructTypeOrBuilder
* The list of fields that make up this struct. Order is
* significant, because values of this struct type are represented as
* lists, where the order of field values matches the order of
* fields in the [StructType][google.spanner.v1.StructType]. In turn, the order of fields
* matches the order of columns in a read request, or the order of
* fields in the `SELECT` clause of a query.
* fields in the [StructType][google.spanner.v1.StructType]. In turn, the
* order of fields matches the order of columns in a read request, or the
* order of fields in the `SELECT` clause of a query.
* </pre>
*
* <code>repeated .google.spanner.v1.StructType.Field fields = 1;</code>
Expand All @@ -61,9 +61,9 @@ public interface StructTypeOrBuilder
* The list of fields that make up this struct. Order is
* significant, because values of this struct type are represented as
* lists, where the order of field values matches the order of
* fields in the [StructType][google.spanner.v1.StructType]. In turn, the order of fields
* matches the order of columns in a read request, or the order of
* fields in the `SELECT` clause of a query.
* fields in the [StructType][google.spanner.v1.StructType]. In turn, the
* order of fields matches the order of columns in a read request, or the
* order of fields in the `SELECT` clause of a query.
* </pre>
*
* <code>repeated .google.spanner.v1.StructType.Field fields = 1;</code>
Expand All @@ -76,9 +76,9 @@ public interface StructTypeOrBuilder
* The list of fields that make up this struct. Order is
* significant, because values of this struct type are represented as
* lists, where the order of field values matches the order of
* fields in the [StructType][google.spanner.v1.StructType]. In turn, the order of fields
* matches the order of columns in a read request, or the order of
* fields in the `SELECT` clause of a query.
* fields in the [StructType][google.spanner.v1.StructType]. In turn, the
* order of fields matches the order of columns in a read request, or the
* order of fields in the `SELECT` clause of a query.
* </pre>
*
* <code>repeated .google.spanner.v1.StructType.Field fields = 1;</code>
Expand All @@ -92,9 +92,9 @@ public interface StructTypeOrBuilder
* The list of fields that make up this struct. Order is
* significant, because values of this struct type are represented as
* lists, where the order of field values matches the order of
* fields in the [StructType][google.spanner.v1.StructType]. In turn, the order of fields
* matches the order of columns in a read request, or the order of
* fields in the `SELECT` clause of a query.
* fields in the [StructType][google.spanner.v1.StructType]. In turn, the
* order of fields matches the order of columns in a read request, or the
* order of fields in the `SELECT` clause of a query.
* </pre>
*
* <code>repeated .google.spanner.v1.StructType.Field fields = 1;</code>
Expand Down
Loading
Loading