Repository: calcite-avatica Updated Branches: refs/heads/master 44065d412 -> 4d0f397a7
[CALCITE-1878] Update the website for protobuf changes in 1.10.0 Project: http://git-wip-us.apache.org/repos/asf/calcite-avatica/repo Commit: http://git-wip-us.apache.org/repos/asf/calcite-avatica/commit/7808cb81 Tree: http://git-wip-us.apache.org/repos/asf/calcite-avatica/tree/7808cb81 Diff: http://git-wip-us.apache.org/repos/asf/calcite-avatica/diff/7808cb81 Branch: refs/heads/master Commit: 7808cb8100ac44f6f26ae023a39ac1954f66f98f Parents: 44065d4 Author: Josh Elser <[email protected]> Authored: Fri Jul 7 18:50:32 2017 -0400 Committer: Josh Elser <[email protected]> Committed: Fri Jul 7 18:50:32 2017 -0400 ---------------------------------------------------------------------- site/_docs/protobuf_reference.md | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/calcite-avatica/blob/7808cb81/site/_docs/protobuf_reference.md ---------------------------------------------------------------------- diff --git a/site/_docs/protobuf_reference.md b/site/_docs/protobuf_reference.md index 31d31e0..5485d52 100644 --- a/site/_docs/protobuf_reference.md +++ b/site/_docs/protobuf_reference.md @@ -264,8 +264,9 @@ This request is used to execute a PreparedStatement, optionally with values to b message ExecuteRequest { StatementHandle statementHandle = 1; repeated TypedValue parameter_values = 2; - uint64 first_frame_max_size = 3; + uint64 deprecated_first_frame_max_size = 3; bool has_parameter_values = 4; + int32 first_frame_max_size = 5; } {% endhighlight %} @@ -273,10 +274,12 @@ message ExecuteRequest { `parameter_values` The <a href="#typedvalue">TypedValue</a> for each parameter on the prepared statement. -`first_frame_max_size` The maximum number of rows returned in the response. +`deprecated_first_frame_max_size` *Deprecated*, use `first_frame_max_size` instead. Previously, the maximum number of rows returned in the response. `has_parameter_values` A boolean which denotes if the user set a value for the `parameter_values` field. +`first_frame_max_size` The maximum number of rows to return in the first `Frame`. + ### FetchRequest This request is used to fetch a batch of rows from a Statement previously created. @@ -1224,6 +1227,9 @@ message TypedValue { bytes bytes_value = 5; double double_value = 6; bool null = 7; + repeated TypedValue array_value = 8; + Rep component_type = 9; + bool implicitly_null = 10; } {% endhighlight %} @@ -1241,6 +1247,12 @@ message TypedValue { `null` A boolean which denotes if the value was null. +`array_value` A repetition of TypedValue messages, each of which are an element of an array_value (recursive) + +`component_type` When this TypedValue represents an Array, this is the Array type's representation. + +`implicitly_null` A boolean to differentiate between explicitly (user-set) and implicitly null (user un-set) values + The following chart documents how each <a href="#rep">Rep</a> value corresponds to the attributes in this message:
