mysqlx-connector-python 8.3.0__py2.py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,108 @@
1
+ # -*- coding: utf-8 -*-
2
+ # Copyright (c) 2017, 2023, Oracle and/or its affiliates.
3
+ #
4
+ # This program is free software; you can redistribute it and/or modify
5
+ # it under the terms of the GNU General Public License, version 2.0, as
6
+ # published by the Free Software Foundation.
7
+ #
8
+ # This program is also distributed with certain software (including
9
+ # but not limited to OpenSSL) that is licensed under separate terms,
10
+ # as designated in a particular file or component or in included license
11
+ # documentation. The authors of MySQL hereby grant you an
12
+ # additional permission to link the program and your derivative works
13
+ # with the separately licensed software that they have included with
14
+ # MySQL.
15
+ #
16
+ # Without limiting anything contained in the foregoing, this file,
17
+ # which is part of MySQL Connector/Python, is also subject to the
18
+ # Universal FOSS Exception, version 1.0, a copy of which can be found at
19
+ # http://oss.oracle.com/licenses/universal-foss-exception.
20
+ #
21
+ # This program is distributed in the hope that it will be useful, but
22
+ # WITHOUT ANY WARRANTY; without even the implied warranty of
23
+ # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
24
+ # See the GNU General Public License, version 2.0, for more details.
25
+ #
26
+ # You should have received a copy of the GNU General Public License
27
+ # along with this program; if not, write to the Free Software Foundation, Inc.,
28
+ # 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
29
+
30
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
31
+ # source: mysqlx_crud.proto
32
+
33
+ # type: ignore
34
+
35
+ """Generated protocol buffer code."""
36
+ from google.protobuf import (
37
+ descriptor as _descriptor,
38
+ descriptor_pool as _descriptor_pool,
39
+ symbol_database as _symbol_database,
40
+ )
41
+ from google.protobuf.internal import builder as _builder
42
+
43
+ # @@protoc_insertion_point(imports)
44
+
45
+ _sym_db = _symbol_database.Default()
46
+
47
+
48
+ from mysqlx.protobuf import (
49
+ mysqlx_datatypes_pb2 as mysqlx__datatypes__pb2,
50
+ mysqlx_expr_pb2 as mysqlx__expr__pb2,
51
+ )
52
+
53
+ DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(
54
+ b'\n\x11mysqlx_crud.proto\x12\x0bMysqlx.Crud\x1a\x11mysqlx_expr.proto\x1a\x16mysqlx_datatypes.proto"[\n\x06\x43olumn\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\r\n\x05\x61lias\x18\x02 \x01(\t\x12\x34\n\rdocument_path\x18\x03 \x03(\x0b\x32\x1d.Mysqlx.Expr.DocumentPathItem">\n\nProjection\x12!\n\x06source\x18\x01 \x02(\x0b\x32\x11.Mysqlx.Expr.Expr\x12\r\n\x05\x61lias\x18\x02 \x01(\t"*\n\nCollection\x12\x0c\n\x04name\x18\x01 \x02(\t\x12\x0e\n\x06schema\x18\x02 \x01(\t"*\n\x05Limit\x12\x11\n\trow_count\x18\x01 \x02(\x04\x12\x0e\n\x06offset\x18\x02 \x01(\x04"T\n\tLimitExpr\x12$\n\trow_count\x18\x01 \x02(\x0b\x32\x11.Mysqlx.Expr.Expr\x12!\n\x06offset\x18\x02 \x01(\x0b\x32\x11.Mysqlx.Expr.Expr"~\n\x05Order\x12\x1f\n\x04\x65xpr\x18\x01 \x02(\x0b\x32\x11.Mysqlx.Expr.Expr\x12\x34\n\tdirection\x18\x02 \x01(\x0e\x32\x1c.Mysqlx.Crud.Order.Direction:\x03\x41SC"\x1e\n\tDirection\x12\x07\n\x03\x41SC\x10\x01\x12\x08\n\x04\x44\x45SC\x10\x02"\xac\x02\n\x0fUpdateOperation\x12-\n\x06source\x18\x01 \x02(\x0b\x32\x1d.Mysqlx.Expr.ColumnIdentifier\x12:\n\toperation\x18\x02 \x02(\x0e\x32\'.Mysqlx.Crud.UpdateOperation.UpdateType\x12 \n\x05value\x18\x03 \x01(\x0b\x32\x11.Mysqlx.Expr.Expr"\x8b\x01\n\nUpdateType\x12\x07\n\x03SET\x10\x01\x12\x0f\n\x0bITEM_REMOVE\x10\x02\x12\x0c\n\x08ITEM_SET\x10\x03\x12\x10\n\x0cITEM_REPLACE\x10\x04\x12\x0e\n\nITEM_MERGE\x10\x05\x12\x10\n\x0c\x41RRAY_INSERT\x10\x06\x12\x10\n\x0c\x41RRAY_APPEND\x10\x07\x12\x0f\n\x0bMERGE_PATCH\x10\x08"\xe4\x04\n\x04\x46ind\x12+\n\ncollection\x18\x02 \x02(\x0b\x32\x17.Mysqlx.Crud.Collection\x12*\n\ndata_model\x18\x03 \x01(\x0e\x32\x16.Mysqlx.Crud.DataModel\x12+\n\nprojection\x18\x04 \x03(\x0b\x32\x17.Mysqlx.Crud.Projection\x12&\n\x04\x61rgs\x18\x0b \x03(\x0b\x32\x18.Mysqlx.Datatypes.Scalar\x12#\n\x08\x63riteria\x18\x05 \x01(\x0b\x32\x11.Mysqlx.Expr.Expr\x12!\n\x05limit\x18\x06 \x01(\x0b\x32\x12.Mysqlx.Crud.Limit\x12!\n\x05order\x18\x07 \x03(\x0b\x32\x12.Mysqlx.Crud.Order\x12#\n\x08grouping\x18\x08 \x03(\x0b\x32\x11.Mysqlx.Expr.Expr\x12,\n\x11grouping_criteria\x18\t \x01(\x0b\x32\x11.Mysqlx.Expr.Expr\x12*\n\x07locking\x18\x0c \x01(\x0e\x32\x19.Mysqlx.Crud.Find.RowLock\x12\x39\n\x0flocking_options\x18\r \x01(\x0e\x32 .Mysqlx.Crud.Find.RowLockOptions\x12*\n\nlimit_expr\x18\x0e \x01(\x0b\x32\x16.Mysqlx.Crud.LimitExpr".\n\x07RowLock\x12\x0f\n\x0bSHARED_LOCK\x10\x01\x12\x12\n\x0e\x45XCLUSIVE_LOCK\x10\x02"-\n\x0eRowLockOptions\x12\n\n\x06NOWAIT\x10\x01\x12\x0f\n\x0bSKIP_LOCKED\x10\x02"\xa2\x02\n\x06Insert\x12+\n\ncollection\x18\x01 \x02(\x0b\x32\x17.Mysqlx.Crud.Collection\x12*\n\ndata_model\x18\x02 \x01(\x0e\x32\x16.Mysqlx.Crud.DataModel\x12\'\n\nprojection\x18\x03 \x03(\x0b\x32\x13.Mysqlx.Crud.Column\x12)\n\x03row\x18\x04 \x03(\x0b\x32\x1c.Mysqlx.Crud.Insert.TypedRow\x12&\n\x04\x61rgs\x18\x05 \x03(\x0b\x32\x18.Mysqlx.Datatypes.Scalar\x12\x15\n\x06upsert\x18\x06 \x01(\x08:\x05\x66\x61lse\x1a,\n\x08TypedRow\x12 \n\x05\x66ield\x18\x01 \x03(\x0b\x32\x11.Mysqlx.Expr.Expr"\xd1\x02\n\x06Update\x12+\n\ncollection\x18\x02 \x02(\x0b\x32\x17.Mysqlx.Crud.Collection\x12*\n\ndata_model\x18\x03 \x01(\x0e\x32\x16.Mysqlx.Crud.DataModel\x12#\n\x08\x63riteria\x18\x04 \x01(\x0b\x32\x11.Mysqlx.Expr.Expr\x12!\n\x05limit\x18\x05 \x01(\x0b\x32\x12.Mysqlx.Crud.Limit\x12!\n\x05order\x18\x06 \x03(\x0b\x32\x12.Mysqlx.Crud.Order\x12/\n\toperation\x18\x07 \x03(\x0b\x32\x1c.Mysqlx.Crud.UpdateOperation\x12&\n\x04\x61rgs\x18\x08 \x03(\x0b\x32\x18.Mysqlx.Datatypes.Scalar\x12*\n\nlimit_expr\x18\t \x01(\x0b\x32\x16.Mysqlx.Crud.LimitExpr"\xa0\x02\n\x06\x44\x65lete\x12+\n\ncollection\x18\x01 \x02(\x0b\x32\x17.Mysqlx.Crud.Collection\x12*\n\ndata_model\x18\x02 \x01(\x0e\x32\x16.Mysqlx.Crud.DataModel\x12#\n\x08\x63riteria\x18\x03 \x01(\x0b\x32\x11.Mysqlx.Expr.Expr\x12!\n\x05limit\x18\x04 \x01(\x0b\x32\x12.Mysqlx.Crud.Limit\x12!\n\x05order\x18\x05 \x03(\x0b\x32\x12.Mysqlx.Crud.Order\x12&\n\x04\x61rgs\x18\x06 \x03(\x0b\x32\x18.Mysqlx.Datatypes.Scalar\x12*\n\nlimit_expr\x18\x07 \x01(\x0b\x32\x16.Mysqlx.Crud.LimitExpr"\xbc\x02\n\nCreateView\x12+\n\ncollection\x18\x01 \x02(\x0b\x32\x17.Mysqlx.Crud.Collection\x12\x0f\n\x07\x64\x65\x66iner\x18\x02 \x01(\t\x12\x38\n\talgorithm\x18\x03 \x01(\x0e\x32\x1a.Mysqlx.Crud.ViewAlgorithm:\tUNDEFINED\x12\x37\n\x08security\x18\x04 \x01(\x0e\x32\x1c.Mysqlx.Crud.ViewSqlSecurity:\x07\x44\x45\x46INER\x12+\n\x05\x63heck\x18\x05 \x01(\x0e\x32\x1c.Mysqlx.Crud.ViewCheckOption\x12\x0e\n\x06\x63olumn\x18\x06 \x03(\t\x12\x1f\n\x04stmt\x18\x07 \x02(\x0b\x32\x11.Mysqlx.Crud.Find\x12\x1f\n\x10replace_existing\x18\x08 \x01(\x08:\x05\x66\x61lse"\x87\x02\n\nModifyView\x12+\n\ncollection\x18\x01 \x02(\x0b\x32\x17.Mysqlx.Crud.Collection\x12\x0f\n\x07\x64\x65\x66iner\x18\x02 \x01(\t\x12-\n\talgorithm\x18\x03 \x01(\x0e\x32\x1a.Mysqlx.Crud.ViewAlgorithm\x12.\n\x08security\x18\x04 \x01(\x0e\x32\x1c.Mysqlx.Crud.ViewSqlSecurity\x12+\n\x05\x63heck\x18\x05 \x01(\x0e\x32\x1c.Mysqlx.Crud.ViewCheckOption\x12\x0e\n\x06\x63olumn\x18\x06 \x03(\t\x12\x1f\n\x04stmt\x18\x07 \x01(\x0b\x32\x11.Mysqlx.Crud.Find"Q\n\x08\x44ropView\x12+\n\ncollection\x18\x01 \x02(\x0b\x32\x17.Mysqlx.Crud.Collection\x12\x18\n\tif_exists\x18\x02 \x01(\x08:\x05\x66\x61lse*$\n\tDataModel\x12\x0c\n\x08\x44OCUMENT\x10\x01\x12\t\n\x05TABLE\x10\x02*8\n\rViewAlgorithm\x12\r\n\tUNDEFINED\x10\x01\x12\t\n\x05MERGE\x10\x02\x12\r\n\tTEMPTABLE\x10\x03*+\n\x0fViewSqlSecurity\x12\x0b\n\x07INVOKER\x10\x01\x12\x0b\n\x07\x44\x45\x46INER\x10\x02**\n\x0fViewCheckOption\x12\t\n\x05LOCAL\x10\x01\x12\x0c\n\x08\x43\x41SCADED\x10\x02\x42\x1b\n\x17\x63om.mysql.cj.x.protobufH\x03'
55
+ )
56
+
57
+ _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals())
58
+ _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, "mysqlx_crud_pb2", globals())
59
+ if _descriptor._USE_C_DESCRIPTORS == False:
60
+ DESCRIPTOR._options = None
61
+ DESCRIPTOR._serialized_options = b"\n\027com.mysql.cj.x.protobufH\003"
62
+ _DATAMODEL._serialized_start = 3046
63
+ _DATAMODEL._serialized_end = 3082
64
+ _VIEWALGORITHM._serialized_start = 3084
65
+ _VIEWALGORITHM._serialized_end = 3140
66
+ _VIEWSQLSECURITY._serialized_start = 3142
67
+ _VIEWSQLSECURITY._serialized_end = 3185
68
+ _VIEWCHECKOPTION._serialized_start = 3187
69
+ _VIEWCHECKOPTION._serialized_end = 3229
70
+ _COLUMN._serialized_start = 77
71
+ _COLUMN._serialized_end = 168
72
+ _PROJECTION._serialized_start = 170
73
+ _PROJECTION._serialized_end = 232
74
+ _COLLECTION._serialized_start = 234
75
+ _COLLECTION._serialized_end = 276
76
+ _LIMIT._serialized_start = 278
77
+ _LIMIT._serialized_end = 320
78
+ _LIMITEXPR._serialized_start = 322
79
+ _LIMITEXPR._serialized_end = 406
80
+ _ORDER._serialized_start = 408
81
+ _ORDER._serialized_end = 534
82
+ _ORDER_DIRECTION._serialized_start = 504
83
+ _ORDER_DIRECTION._serialized_end = 534
84
+ _UPDATEOPERATION._serialized_start = 537
85
+ _UPDATEOPERATION._serialized_end = 837
86
+ _UPDATEOPERATION_UPDATETYPE._serialized_start = 698
87
+ _UPDATEOPERATION_UPDATETYPE._serialized_end = 837
88
+ _FIND._serialized_start = 840
89
+ _FIND._serialized_end = 1452
90
+ _FIND_ROWLOCK._serialized_start = 1359
91
+ _FIND_ROWLOCK._serialized_end = 1405
92
+ _FIND_ROWLOCKOPTIONS._serialized_start = 1407
93
+ _FIND_ROWLOCKOPTIONS._serialized_end = 1452
94
+ _INSERT._serialized_start = 1455
95
+ _INSERT._serialized_end = 1745
96
+ _INSERT_TYPEDROW._serialized_start = 1701
97
+ _INSERT_TYPEDROW._serialized_end = 1745
98
+ _UPDATE._serialized_start = 1748
99
+ _UPDATE._serialized_end = 2085
100
+ _DELETE._serialized_start = 2088
101
+ _DELETE._serialized_end = 2376
102
+ _CREATEVIEW._serialized_start = 2379
103
+ _CREATEVIEW._serialized_end = 2695
104
+ _MODIFYVIEW._serialized_start = 2698
105
+ _MODIFYVIEW._serialized_end = 2961
106
+ _DROPVIEW._serialized_start = 2963
107
+ _DROPVIEW._serialized_end = 3044
108
+ # @@protoc_insertion_point(module_scope)
@@ -0,0 +1,68 @@
1
+ # -*- coding: utf-8 -*-
2
+ # Copyright (c) 2017, 2023, Oracle and/or its affiliates.
3
+ #
4
+ # This program is free software; you can redistribute it and/or modify
5
+ # it under the terms of the GNU General Public License, version 2.0, as
6
+ # published by the Free Software Foundation.
7
+ #
8
+ # This program is also distributed with certain software (including
9
+ # but not limited to OpenSSL) that is licensed under separate terms,
10
+ # as designated in a particular file or component or in included license
11
+ # documentation. The authors of MySQL hereby grant you an
12
+ # additional permission to link the program and your derivative works
13
+ # with the separately licensed software that they have included with
14
+ # MySQL.
15
+ #
16
+ # Without limiting anything contained in the foregoing, this file,
17
+ # which is part of MySQL Connector/Python, is also subject to the
18
+ # Universal FOSS Exception, version 1.0, a copy of which can be found at
19
+ # http://oss.oracle.com/licenses/universal-foss-exception.
20
+ #
21
+ # This program is distributed in the hope that it will be useful, but
22
+ # WITHOUT ANY WARRANTY; without even the implied warranty of
23
+ # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
24
+ # See the GNU General Public License, version 2.0, for more details.
25
+ #
26
+ # You should have received a copy of the GNU General Public License
27
+ # along with this program; if not, write to the Free Software Foundation, Inc.,
28
+ # 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
29
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
30
+ # source: mysqlx_cursor.proto
31
+
32
+ # type: ignore
33
+
34
+ """Generated protocol buffer code."""
35
+ from google.protobuf import (
36
+ descriptor as _descriptor,
37
+ descriptor_pool as _descriptor_pool,
38
+ symbol_database as _symbol_database,
39
+ )
40
+ from google.protobuf.internal import builder as _builder
41
+
42
+ # @@protoc_insertion_point(imports)
43
+
44
+ _sym_db = _symbol_database.Default()
45
+
46
+
47
+ from mysqlx.protobuf import mysqlx_prepare_pb2 as mysqlx__prepare__pb2
48
+
49
+ DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(
50
+ b'\n\x13mysqlx_cursor.proto\x12\rMysqlx.Cursor\x1a\x14mysqlx_prepare.proto"\xf2\x01\n\x04Open\x12\x11\n\tcursor_id\x18\x01 \x02(\r\x12.\n\x04stmt\x18\x04 \x02(\x0b\x32 .Mysqlx.Cursor.Open.OneOfMessage\x12\x12\n\nfetch_rows\x18\x05 \x01(\x04\x1a\x92\x01\n\x0cOneOfMessage\x12\x33\n\x04type\x18\x01 \x02(\x0e\x32%.Mysqlx.Cursor.Open.OneOfMessage.Type\x12\x30\n\x0fprepare_execute\x18\x02 \x01(\x0b\x32\x17.Mysqlx.Prepare.Execute"\x1b\n\x04Type\x12\x13\n\x0fPREPARE_EXECUTE\x10\x00".\n\x05\x46\x65tch\x12\x11\n\tcursor_id\x18\x01 \x02(\r\x12\x12\n\nfetch_rows\x18\x05 \x01(\x04"\x1a\n\x05\x43lose\x12\x11\n\tcursor_id\x18\x01 \x02(\rB\x1b\n\x17\x63om.mysql.cj.x.protobufH\x03'
51
+ )
52
+
53
+ _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals())
54
+ _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, "mysqlx_cursor_pb2", globals())
55
+ if _descriptor._USE_C_DESCRIPTORS == False:
56
+ DESCRIPTOR._options = None
57
+ DESCRIPTOR._serialized_options = b"\n\027com.mysql.cj.x.protobufH\003"
58
+ _OPEN._serialized_start = 61
59
+ _OPEN._serialized_end = 303
60
+ _OPEN_ONEOFMESSAGE._serialized_start = 157
61
+ _OPEN_ONEOFMESSAGE._serialized_end = 303
62
+ _OPEN_ONEOFMESSAGE_TYPE._serialized_start = 276
63
+ _OPEN_ONEOFMESSAGE_TYPE._serialized_end = 303
64
+ _FETCH._serialized_start = 305
65
+ _FETCH._serialized_end = 351
66
+ _CLOSE._serialized_start = 353
67
+ _CLOSE._serialized_end = 379
68
+ # @@protoc_insertion_point(module_scope)
@@ -0,0 +1,75 @@
1
+ # -*- coding: utf-8 -*-
2
+ # Copyright (c) 2017, 2023, Oracle and/or its affiliates.
3
+ #
4
+ # This program is free software; you can redistribute it and/or modify
5
+ # it under the terms of the GNU General Public License, version 2.0, as
6
+ # published by the Free Software Foundation.
7
+ #
8
+ # This program is also distributed with certain software (including
9
+ # but not limited to OpenSSL) that is licensed under separate terms,
10
+ # as designated in a particular file or component or in included license
11
+ # documentation. The authors of MySQL hereby grant you an
12
+ # additional permission to link the program and your derivative works
13
+ # with the separately licensed software that they have included with
14
+ # MySQL.
15
+ #
16
+ # Without limiting anything contained in the foregoing, this file,
17
+ # which is part of MySQL Connector/Python, is also subject to the
18
+ # Universal FOSS Exception, version 1.0, a copy of which can be found at
19
+ # http://oss.oracle.com/licenses/universal-foss-exception.
20
+ #
21
+ # This program is distributed in the hope that it will be useful, but
22
+ # WITHOUT ANY WARRANTY; without even the implied warranty of
23
+ # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
24
+ # See the GNU General Public License, version 2.0, for more details.
25
+ #
26
+ # You should have received a copy of the GNU General Public License
27
+ # along with this program; if not, write to the Free Software Foundation, Inc.,
28
+ # 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
29
+
30
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
31
+ # source: mysqlx_datatypes.proto
32
+
33
+ # type: ignore
34
+
35
+ """Generated protocol buffer code."""
36
+ from google.protobuf import (
37
+ descriptor as _descriptor,
38
+ descriptor_pool as _descriptor_pool,
39
+ symbol_database as _symbol_database,
40
+ )
41
+ from google.protobuf.internal import builder as _builder
42
+
43
+ # @@protoc_insertion_point(imports)
44
+
45
+ _sym_db = _symbol_database.Default()
46
+
47
+
48
+ DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(
49
+ b'\n\x16mysqlx_datatypes.proto\x12\x10Mysqlx.Datatypes"\xc6\x03\n\x06Scalar\x12+\n\x04type\x18\x01 \x02(\x0e\x32\x1d.Mysqlx.Datatypes.Scalar.Type\x12\x14\n\x0cv_signed_int\x18\x02 \x01(\x12\x12\x16\n\x0ev_unsigned_int\x18\x03 \x01(\x04\x12\x31\n\x08v_octets\x18\x05 \x01(\x0b\x32\x1f.Mysqlx.Datatypes.Scalar.Octets\x12\x10\n\x08v_double\x18\x06 \x01(\x01\x12\x0f\n\x07v_float\x18\x07 \x01(\x02\x12\x0e\n\x06v_bool\x18\x08 \x01(\x08\x12\x31\n\x08v_string\x18\t \x01(\x0b\x32\x1f.Mysqlx.Datatypes.Scalar.String\x1a*\n\x06String\x12\r\n\x05value\x18\x01 \x02(\x0c\x12\x11\n\tcollation\x18\x02 \x01(\x04\x1a-\n\x06Octets\x12\r\n\x05value\x18\x01 \x02(\x0c\x12\x14\n\x0c\x63ontent_type\x18\x02 \x01(\r"m\n\x04Type\x12\n\n\x06V_SINT\x10\x01\x12\n\n\x06V_UINT\x10\x02\x12\n\n\x06V_NULL\x10\x03\x12\x0c\n\x08V_OCTETS\x10\x04\x12\x0c\n\x08V_DOUBLE\x10\x05\x12\x0b\n\x07V_FLOAT\x10\x06\x12\n\n\x06V_BOOL\x10\x07\x12\x0c\n\x08V_STRING\x10\x08"}\n\x06Object\x12\x31\n\x03\x66ld\x18\x01 \x03(\x0b\x32$.Mysqlx.Datatypes.Object.ObjectField\x1a@\n\x0bObjectField\x12\x0b\n\x03key\x18\x01 \x02(\t\x12$\n\x05value\x18\x02 \x02(\x0b\x32\x15.Mysqlx.Datatypes.Any"-\n\x05\x41rray\x12$\n\x05value\x18\x01 \x03(\x0b\x32\x15.Mysqlx.Datatypes.Any"\xd3\x01\n\x03\x41ny\x12(\n\x04type\x18\x01 \x02(\x0e\x32\x1a.Mysqlx.Datatypes.Any.Type\x12(\n\x06scalar\x18\x02 \x01(\x0b\x32\x18.Mysqlx.Datatypes.Scalar\x12%\n\x03obj\x18\x03 \x01(\x0b\x32\x18.Mysqlx.Datatypes.Object\x12&\n\x05\x61rray\x18\x04 \x01(\x0b\x32\x17.Mysqlx.Datatypes.Array")\n\x04Type\x12\n\n\x06SCALAR\x10\x01\x12\n\n\x06OBJECT\x10\x02\x12\t\n\x05\x41RRAY\x10\x03\x42\x1b\n\x17\x63om.mysql.cj.x.protobufH\x03'
50
+ )
51
+
52
+ _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals())
53
+ _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, "mysqlx_datatypes_pb2", globals())
54
+ if _descriptor._USE_C_DESCRIPTORS == False:
55
+ DESCRIPTOR._options = None
56
+ DESCRIPTOR._serialized_options = b"\n\027com.mysql.cj.x.protobufH\003"
57
+ _SCALAR._serialized_start = 45
58
+ _SCALAR._serialized_end = 499
59
+ _SCALAR_STRING._serialized_start = 299
60
+ _SCALAR_STRING._serialized_end = 341
61
+ _SCALAR_OCTETS._serialized_start = 343
62
+ _SCALAR_OCTETS._serialized_end = 388
63
+ _SCALAR_TYPE._serialized_start = 390
64
+ _SCALAR_TYPE._serialized_end = 499
65
+ _OBJECT._serialized_start = 501
66
+ _OBJECT._serialized_end = 626
67
+ _OBJECT_OBJECTFIELD._serialized_start = 562
68
+ _OBJECT_OBJECTFIELD._serialized_end = 626
69
+ _ARRAY._serialized_start = 628
70
+ _ARRAY._serialized_end = 673
71
+ _ANY._serialized_start = 676
72
+ _ANY._serialized_end = 887
73
+ _ANY_TYPE._serialized_start = 846
74
+ _ANY_TYPE._serialized_end = 887
75
+ # @@protoc_insertion_point(module_scope)
@@ -0,0 +1,69 @@
1
+ # -*- coding: utf-8 -*-
2
+ # Copyright (c) 2017, 2023, Oracle and/or its affiliates.
3
+ #
4
+ # This program is free software; you can redistribute it and/or modify
5
+ # it under the terms of the GNU General Public License, version 2.0, as
6
+ # published by the Free Software Foundation.
7
+ #
8
+ # This program is also distributed with certain software (including
9
+ # but not limited to OpenSSL) that is licensed under separate terms,
10
+ # as designated in a particular file or component or in included license
11
+ # documentation. The authors of MySQL hereby grant you an
12
+ # additional permission to link the program and your derivative works
13
+ # with the separately licensed software that they have included with
14
+ # MySQL.
15
+ #
16
+ # Without limiting anything contained in the foregoing, this file,
17
+ # which is part of MySQL Connector/Python, is also subject to the
18
+ # Universal FOSS Exception, version 1.0, a copy of which can be found at
19
+ # http://oss.oracle.com/licenses/universal-foss-exception.
20
+ #
21
+ # This program is distributed in the hope that it will be useful, but
22
+ # WITHOUT ANY WARRANTY; without even the implied warranty of
23
+ # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
24
+ # See the GNU General Public License, version 2.0, for more details.
25
+ #
26
+ # You should have received a copy of the GNU General Public License
27
+ # along with this program; if not, write to the Free Software Foundation, Inc.,
28
+ # 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
29
+
30
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
31
+ # source: mysqlx_expect.proto
32
+
33
+ # type: ignore
34
+
35
+ """Generated protocol buffer code."""
36
+ from google.protobuf import (
37
+ descriptor as _descriptor,
38
+ descriptor_pool as _descriptor_pool,
39
+ symbol_database as _symbol_database,
40
+ )
41
+ from google.protobuf.internal import builder as _builder
42
+
43
+ # @@protoc_insertion_point(imports)
44
+
45
+ _sym_db = _symbol_database.Default()
46
+
47
+
48
+ DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(
49
+ b'\n\x13mysqlx_expect.proto\x12\rMysqlx.Expect"\xd0\x03\n\x04Open\x12\x42\n\x02op\x18\x01 \x01(\x0e\x32 .Mysqlx.Expect.Open.CtxOperation:\x14\x45XPECT_CTX_COPY_PREV\x12+\n\x04\x63ond\x18\x02 \x03(\x0b\x32\x1d.Mysqlx.Expect.Open.Condition\x1a\x96\x02\n\tCondition\x12\x15\n\rcondition_key\x18\x01 \x02(\r\x12\x17\n\x0f\x63ondition_value\x18\x02 \x01(\x0c\x12K\n\x02op\x18\x03 \x01(\x0e\x32\x30.Mysqlx.Expect.Open.Condition.ConditionOperation:\rEXPECT_OP_SET"N\n\x03Key\x12\x13\n\x0f\x45XPECT_NO_ERROR\x10\x01\x12\x16\n\x12\x45XPECT_FIELD_EXIST\x10\x02\x12\x1a\n\x16\x45XPECT_DOCID_GENERATED\x10\x03"<\n\x12\x43onditionOperation\x12\x11\n\rEXPECT_OP_SET\x10\x00\x12\x13\n\x0f\x45XPECT_OP_UNSET\x10\x01">\n\x0c\x43txOperation\x12\x18\n\x14\x45XPECT_CTX_COPY_PREV\x10\x00\x12\x14\n\x10\x45XPECT_CTX_EMPTY\x10\x01"\x07\n\x05\x43loseB\x1b\n\x17\x63om.mysql.cj.x.protobufH\x03'
50
+ )
51
+
52
+ _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals())
53
+ _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, "mysqlx_expect_pb2", globals())
54
+ if _descriptor._USE_C_DESCRIPTORS == False:
55
+ DESCRIPTOR._options = None
56
+ DESCRIPTOR._serialized_options = b"\n\027com.mysql.cj.x.protobufH\003"
57
+ _OPEN._serialized_start = 39
58
+ _OPEN._serialized_end = 503
59
+ _OPEN_CONDITION._serialized_start = 161
60
+ _OPEN_CONDITION._serialized_end = 439
61
+ _OPEN_CONDITION_KEY._serialized_start = 299
62
+ _OPEN_CONDITION_KEY._serialized_end = 377
63
+ _OPEN_CONDITION_CONDITIONOPERATION._serialized_start = 379
64
+ _OPEN_CONDITION_CONDITIONOPERATION._serialized_end = 439
65
+ _OPEN_CTXOPERATION._serialized_start = 441
66
+ _OPEN_CTXOPERATION._serialized_end = 503
67
+ _CLOSE._serialized_start = 505
68
+ _CLOSE._serialized_end = 512
69
+ # @@protoc_insertion_point(module_scope)
@@ -0,0 +1,81 @@
1
+ # -*- coding: utf-8 -*-
2
+ # Copyright (c) 2017, 2023, Oracle and/or its affiliates.
3
+ #
4
+ # This program is free software; you can redistribute it and/or modify
5
+ # it under the terms of the GNU General Public License, version 2.0, as
6
+ # published by the Free Software Foundation.
7
+ #
8
+ # This program is also distributed with certain software (including
9
+ # but not limited to OpenSSL) that is licensed under separate terms,
10
+ # as designated in a particular file or component or in included license
11
+ # documentation. The authors of MySQL hereby grant you an
12
+ # additional permission to link the program and your derivative works
13
+ # with the separately licensed software that they have included with
14
+ # MySQL.
15
+ #
16
+ # Without limiting anything contained in the foregoing, this file,
17
+ # which is part of MySQL Connector/Python, is also subject to the
18
+ # Universal FOSS Exception, version 1.0, a copy of which can be found at
19
+ # http://oss.oracle.com/licenses/universal-foss-exception.
20
+ #
21
+ # This program is distributed in the hope that it will be useful, but
22
+ # WITHOUT ANY WARRANTY; without even the implied warranty of
23
+ # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
24
+ # See the GNU General Public License, version 2.0, for more details.
25
+ #
26
+ # You should have received a copy of the GNU General Public License
27
+ # along with this program; if not, write to the Free Software Foundation, Inc.,
28
+ # 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
29
+
30
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
31
+ # source: mysqlx_expr.proto
32
+
33
+ # type: ignore
34
+
35
+ """Generated protocol buffer code."""
36
+ from google.protobuf import (
37
+ descriptor as _descriptor,
38
+ descriptor_pool as _descriptor_pool,
39
+ symbol_database as _symbol_database,
40
+ )
41
+ from google.protobuf.internal import builder as _builder
42
+
43
+ # @@protoc_insertion_point(imports)
44
+
45
+ _sym_db = _symbol_database.Default()
46
+
47
+
48
+ from mysqlx.protobuf import mysqlx_datatypes_pb2 as mysqlx__datatypes__pb2
49
+
50
+ DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(
51
+ b'\n\x11mysqlx_expr.proto\x12\x0bMysqlx.Expr\x1a\x16mysqlx_datatypes.proto"\xc4\x03\n\x04\x45xpr\x12$\n\x04type\x18\x01 \x02(\x0e\x32\x16.Mysqlx.Expr.Expr.Type\x12\x31\n\nidentifier\x18\x02 \x01(\x0b\x32\x1d.Mysqlx.Expr.ColumnIdentifier\x12\x10\n\x08variable\x18\x03 \x01(\t\x12)\n\x07literal\x18\x04 \x01(\x0b\x32\x18.Mysqlx.Datatypes.Scalar\x12\x30\n\rfunction_call\x18\x05 \x01(\x0b\x32\x19.Mysqlx.Expr.FunctionCall\x12\'\n\x08operator\x18\x06 \x01(\x0b\x32\x15.Mysqlx.Expr.Operator\x12\x10\n\x08position\x18\x07 \x01(\r\x12#\n\x06object\x18\x08 \x01(\x0b\x32\x13.Mysqlx.Expr.Object\x12!\n\x05\x61rray\x18\t \x01(\x0b\x32\x12.Mysqlx.Expr.Array"q\n\x04Type\x12\t\n\x05IDENT\x10\x01\x12\x0b\n\x07LITERAL\x10\x02\x12\x0c\n\x08VARIABLE\x10\x03\x12\r\n\tFUNC_CALL\x10\x04\x12\x0c\n\x08OPERATOR\x10\x05\x12\x0f\n\x0bPLACEHOLDER\x10\x06\x12\n\n\x06OBJECT\x10\x07\x12\t\n\x05\x41RRAY\x10\x08"/\n\nIdentifier\x12\x0c\n\x04name\x18\x01 \x02(\t\x12\x13\n\x0bschema_name\x18\x02 \x01(\t"\xcb\x01\n\x10\x44ocumentPathItem\x12\x30\n\x04type\x18\x01 \x02(\x0e\x32".Mysqlx.Expr.DocumentPathItem.Type\x12\r\n\x05value\x18\x02 \x01(\t\x12\r\n\x05index\x18\x03 \x01(\r"g\n\x04Type\x12\n\n\x06MEMBER\x10\x01\x12\x13\n\x0fMEMBER_ASTERISK\x10\x02\x12\x0f\n\x0b\x41RRAY_INDEX\x10\x03\x12\x18\n\x14\x41RRAY_INDEX_ASTERISK\x10\x04\x12\x13\n\x0f\x44OUBLE_ASTERISK\x10\x05"\x7f\n\x10\x43olumnIdentifier\x12\x34\n\rdocument_path\x18\x01 \x03(\x0b\x32\x1d.Mysqlx.Expr.DocumentPathItem\x12\x0c\n\x04name\x18\x02 \x01(\t\x12\x12\n\ntable_name\x18\x03 \x01(\t\x12\x13\n\x0bschema_name\x18\x04 \x01(\t"W\n\x0c\x46unctionCall\x12%\n\x04name\x18\x01 \x02(\x0b\x32\x17.Mysqlx.Expr.Identifier\x12 \n\x05param\x18\x02 \x03(\x0b\x32\x11.Mysqlx.Expr.Expr":\n\x08Operator\x12\x0c\n\x04name\x18\x01 \x02(\t\x12 \n\x05param\x18\x02 \x03(\x0b\x32\x11.Mysqlx.Expr.Expr"t\n\x06Object\x12,\n\x03\x66ld\x18\x01 \x03(\x0b\x32\x1f.Mysqlx.Expr.Object.ObjectField\x1a<\n\x0bObjectField\x12\x0b\n\x03key\x18\x01 \x02(\t\x12 \n\x05value\x18\x02 \x02(\x0b\x32\x11.Mysqlx.Expr.Expr")\n\x05\x41rray\x12 \n\x05value\x18\x01 \x03(\x0b\x32\x11.Mysqlx.Expr.ExprB\x1b\n\x17\x63om.mysql.cj.x.protobufH\x03'
52
+ )
53
+
54
+ _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals())
55
+ _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, "mysqlx_expr_pb2", globals())
56
+ if _descriptor._USE_C_DESCRIPTORS == False:
57
+ DESCRIPTOR._options = None
58
+ DESCRIPTOR._serialized_options = b"\n\027com.mysql.cj.x.protobufH\003"
59
+ _EXPR._serialized_start = 59
60
+ _EXPR._serialized_end = 511
61
+ _EXPR_TYPE._serialized_start = 398
62
+ _EXPR_TYPE._serialized_end = 511
63
+ _IDENTIFIER._serialized_start = 513
64
+ _IDENTIFIER._serialized_end = 560
65
+ _DOCUMENTPATHITEM._serialized_start = 563
66
+ _DOCUMENTPATHITEM._serialized_end = 766
67
+ _DOCUMENTPATHITEM_TYPE._serialized_start = 663
68
+ _DOCUMENTPATHITEM_TYPE._serialized_end = 766
69
+ _COLUMNIDENTIFIER._serialized_start = 768
70
+ _COLUMNIDENTIFIER._serialized_end = 895
71
+ _FUNCTIONCALL._serialized_start = 897
72
+ _FUNCTIONCALL._serialized_end = 984
73
+ _OPERATOR._serialized_start = 986
74
+ _OPERATOR._serialized_end = 1044
75
+ _OBJECT._serialized_start = 1046
76
+ _OBJECT._serialized_end = 1162
77
+ _OBJECT_OBJECTFIELD._serialized_start = 1102
78
+ _OBJECT_OBJECTFIELD._serialized_end = 1162
79
+ _ARRAY._serialized_start = 1164
80
+ _ARRAY._serialized_end = 1205
81
+ # @@protoc_insertion_point(module_scope)
@@ -0,0 +1,81 @@
1
+ # -*- coding: utf-8 -*-
2
+ # Copyright (c) 2017, 2023, Oracle and/or its affiliates.
3
+ #
4
+ # This program is free software; you can redistribute it and/or modify
5
+ # it under the terms of the GNU General Public License, version 2.0, as
6
+ # published by the Free Software Foundation.
7
+ #
8
+ # This program is also distributed with certain software (including
9
+ # but not limited to OpenSSL) that is licensed under separate terms,
10
+ # as designated in a particular file or component or in included license
11
+ # documentation. The authors of MySQL hereby grant you an
12
+ # additional permission to link the program and your derivative works
13
+ # with the separately licensed software that they have included with
14
+ # MySQL.
15
+ #
16
+ # Without limiting anything contained in the foregoing, this file,
17
+ # which is part of MySQL Connector/Python, is also subject to the
18
+ # Universal FOSS Exception, version 1.0, a copy of which can be found at
19
+ # http://oss.oracle.com/licenses/universal-foss-exception.
20
+ #
21
+ # This program is distributed in the hope that it will be useful, but
22
+ # WITHOUT ANY WARRANTY; without even the implied warranty of
23
+ # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
24
+ # See the GNU General Public License, version 2.0, for more details.
25
+ #
26
+ # You should have received a copy of the GNU General Public License
27
+ # along with this program; if not, write to the Free Software Foundation, Inc.,
28
+ # 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
29
+
30
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
31
+ # source: mysqlx_notice.proto
32
+
33
+ # type: ignore
34
+
35
+ """Generated protocol buffer code."""
36
+ from google.protobuf import (
37
+ descriptor as _descriptor,
38
+ descriptor_pool as _descriptor_pool,
39
+ symbol_database as _symbol_database,
40
+ )
41
+ from google.protobuf.internal import builder as _builder
42
+
43
+ # @@protoc_insertion_point(imports)
44
+
45
+ _sym_db = _symbol_database.Default()
46
+
47
+
48
+ from mysqlx.protobuf import mysqlx_datatypes_pb2 as mysqlx__datatypes__pb2
49
+
50
+ DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(
51
+ b'\n\x13mysqlx_notice.proto\x12\rMysqlx.Notice\x1a\x16mysqlx_datatypes.proto"\xff\x01\n\x05\x46rame\x12\x0c\n\x04type\x18\x01 \x02(\r\x12\x31\n\x05scope\x18\x02 \x01(\x0e\x32\x1a.Mysqlx.Notice.Frame.Scope:\x06GLOBAL\x12\x0f\n\x07payload\x18\x03 \x01(\x0c"\x1e\n\x05Scope\x12\n\n\x06GLOBAL\x10\x01\x12\t\n\x05LOCAL\x10\x02"\x83\x01\n\x04Type\x12\x0b\n\x07WARNING\x10\x01\x12\x1c\n\x18SESSION_VARIABLE_CHANGED\x10\x02\x12\x19\n\x15SESSION_STATE_CHANGED\x10\x03\x12#\n\x1fGROUP_REPLICATION_STATE_CHANGED\x10\x04\x12\x10\n\x0cSERVER_HELLO\x10\x05"\x85\x01\n\x07Warning\x12\x34\n\x05level\x18\x01 \x01(\x0e\x32\x1c.Mysqlx.Notice.Warning.Level:\x07WARNING\x12\x0c\n\x04\x63ode\x18\x02 \x02(\r\x12\x0b\n\x03msg\x18\x03 \x02(\t")\n\x05Level\x12\x08\n\x04NOTE\x10\x01\x12\x0b\n\x07WARNING\x10\x02\x12\t\n\x05\x45RROR\x10\x03"P\n\x16SessionVariableChanged\x12\r\n\x05param\x18\x01 \x02(\t\x12\'\n\x05value\x18\x02 \x01(\x0b\x32\x18.Mysqlx.Datatypes.Scalar"\xf1\x02\n\x13SessionStateChanged\x12;\n\x05param\x18\x01 \x02(\x0e\x32,.Mysqlx.Notice.SessionStateChanged.Parameter\x12\'\n\x05value\x18\x02 \x03(\x0b\x32\x18.Mysqlx.Datatypes.Scalar"\xf3\x01\n\tParameter\x12\x12\n\x0e\x43URRENT_SCHEMA\x10\x01\x12\x13\n\x0f\x41\x43\x43OUNT_EXPIRED\x10\x02\x12\x17\n\x13GENERATED_INSERT_ID\x10\x03\x12\x11\n\rROWS_AFFECTED\x10\x04\x12\x0e\n\nROWS_FOUND\x10\x05\x12\x10\n\x0cROWS_MATCHED\x10\x06\x12\x11\n\rTRX_COMMITTED\x10\x07\x12\x12\n\x0eTRX_ROLLEDBACK\x10\t\x12\x14\n\x10PRODUCED_MESSAGE\x10\n\x12\x16\n\x12\x43LIENT_ID_ASSIGNED\x10\x0b\x12\x1a\n\x16GENERATED_DOCUMENT_IDS\x10\x0c"\xae\x01\n\x1cGroupReplicationStateChanged\x12\x0c\n\x04type\x18\x01 \x02(\r\x12\x0f\n\x07view_id\x18\x02 \x01(\t"o\n\x04Type\x12\x1a\n\x16MEMBERSHIP_QUORUM_LOSS\x10\x01\x12\x1a\n\x16MEMBERSHIP_VIEW_CHANGE\x10\x02\x12\x16\n\x12MEMBER_ROLE_CHANGE\x10\x03\x12\x17\n\x13MEMBER_STATE_CHANGE\x10\x04"\r\n\x0bServerHelloB\x1b\n\x17\x63om.mysql.cj.x.protobufH\x03'
52
+ )
53
+
54
+ _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals())
55
+ _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, "mysqlx_notice_pb2", globals())
56
+ if _descriptor._USE_C_DESCRIPTORS == False:
57
+ DESCRIPTOR._options = None
58
+ DESCRIPTOR._serialized_options = b"\n\027com.mysql.cj.x.protobufH\003"
59
+ _FRAME._serialized_start = 63
60
+ _FRAME._serialized_end = 318
61
+ _FRAME_SCOPE._serialized_start = 154
62
+ _FRAME_SCOPE._serialized_end = 184
63
+ _FRAME_TYPE._serialized_start = 187
64
+ _FRAME_TYPE._serialized_end = 318
65
+ _WARNING._serialized_start = 321
66
+ _WARNING._serialized_end = 454
67
+ _WARNING_LEVEL._serialized_start = 413
68
+ _WARNING_LEVEL._serialized_end = 454
69
+ _SESSIONVARIABLECHANGED._serialized_start = 456
70
+ _SESSIONVARIABLECHANGED._serialized_end = 536
71
+ _SESSIONSTATECHANGED._serialized_start = 539
72
+ _SESSIONSTATECHANGED._serialized_end = 908
73
+ _SESSIONSTATECHANGED_PARAMETER._serialized_start = 665
74
+ _SESSIONSTATECHANGED_PARAMETER._serialized_end = 908
75
+ _GROUPREPLICATIONSTATECHANGED._serialized_start = 911
76
+ _GROUPREPLICATIONSTATECHANGED._serialized_end = 1085
77
+ _GROUPREPLICATIONSTATECHANGED_TYPE._serialized_start = 974
78
+ _GROUPREPLICATIONSTATECHANGED_TYPE._serialized_end = 1085
79
+ _SERVERHELLO._serialized_start = 1087
80
+ _SERVERHELLO._serialized_end = 1100
81
+ # @@protoc_insertion_point(module_scope)
@@ -0,0 +1,71 @@
1
+ # -*- coding: utf-8 -*-
2
+ # Copyright (c) 2017, 2023, Oracle and/or its affiliates.
3
+ #
4
+ # This program is free software; you can redistribute it and/or modify
5
+ # it under the terms of the GNU General Public License, version 2.0, as
6
+ # published by the Free Software Foundation.
7
+ #
8
+ # This program is also distributed with certain software (including
9
+ # but not limited to OpenSSL) that is licensed under separate terms,
10
+ # as designated in a particular file or component or in included license
11
+ # documentation. The authors of MySQL hereby grant you an
12
+ # additional permission to link the program and your derivative works
13
+ # with the separately licensed software that they have included with
14
+ # MySQL.
15
+ #
16
+ # Without limiting anything contained in the foregoing, this file,
17
+ # which is part of MySQL Connector/Python, is also subject to the
18
+ # Universal FOSS Exception, version 1.0, a copy of which can be found at
19
+ # http://oss.oracle.com/licenses/universal-foss-exception.
20
+ #
21
+ # This program is distributed in the hope that it will be useful, but
22
+ # WITHOUT ANY WARRANTY; without even the implied warranty of
23
+ # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
24
+ # See the GNU General Public License, version 2.0, for more details.
25
+ #
26
+ # You should have received a copy of the GNU General Public License
27
+ # along with this program; if not, write to the Free Software Foundation, Inc.,
28
+ # 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
29
+
30
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
31
+ # source: mysqlx.proto
32
+
33
+ # type: ignore
34
+
35
+ """Generated protocol buffer code."""
36
+ from google.protobuf import (
37
+ descriptor as _descriptor,
38
+ descriptor_pool as _descriptor_pool,
39
+ symbol_database as _symbol_database,
40
+ )
41
+ from google.protobuf.internal import builder as _builder
42
+
43
+ # @@protoc_insertion_point(imports)
44
+
45
+ _sym_db = _symbol_database.Default()
46
+
47
+
48
+ DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(
49
+ b'\n\x0cmysqlx.proto\x12\x06Mysqlx"\xfc\x03\n\x0e\x43lientMessages"\xe9\x03\n\x04Type\x12\x18\n\x14\x43ON_CAPABILITIES_GET\x10\x01\x12\x18\n\x14\x43ON_CAPABILITIES_SET\x10\x02\x12\r\n\tCON_CLOSE\x10\x03\x12\x1b\n\x17SESS_AUTHENTICATE_START\x10\x04\x12\x1e\n\x1aSESS_AUTHENTICATE_CONTINUE\x10\x05\x12\x0e\n\nSESS_RESET\x10\x06\x12\x0e\n\nSESS_CLOSE\x10\x07\x12\x14\n\x10SQL_STMT_EXECUTE\x10\x0c\x12\r\n\tCRUD_FIND\x10\x11\x12\x0f\n\x0b\x43RUD_INSERT\x10\x12\x12\x0f\n\x0b\x43RUD_UPDATE\x10\x13\x12\x0f\n\x0b\x43RUD_DELETE\x10\x14\x12\x0f\n\x0b\x45XPECT_OPEN\x10\x18\x12\x10\n\x0c\x45XPECT_CLOSE\x10\x19\x12\x14\n\x10\x43RUD_CREATE_VIEW\x10\x1e\x12\x14\n\x10\x43RUD_MODIFY_VIEW\x10\x1f\x12\x12\n\x0e\x43RUD_DROP_VIEW\x10 \x12\x13\n\x0fPREPARE_PREPARE\x10(\x12\x13\n\x0fPREPARE_EXECUTE\x10)\x12\x16\n\x12PREPARE_DEALLOCATE\x10*\x12\x0f\n\x0b\x43URSOR_OPEN\x10+\x12\x10\n\x0c\x43URSOR_CLOSE\x10,\x12\x10\n\x0c\x43URSOR_FETCH\x10-\x12\x0f\n\x0b\x43OMPRESSION\x10."\xf3\x02\n\x0eServerMessages"\xe0\x02\n\x04Type\x12\x06\n\x02OK\x10\x00\x12\t\n\x05\x45RROR\x10\x01\x12\x15\n\x11\x43ONN_CAPABILITIES\x10\x02\x12\x1e\n\x1aSESS_AUTHENTICATE_CONTINUE\x10\x03\x12\x18\n\x14SESS_AUTHENTICATE_OK\x10\x04\x12\n\n\x06NOTICE\x10\x0b\x12\x1e\n\x1aRESULTSET_COLUMN_META_DATA\x10\x0c\x12\x11\n\rRESULTSET_ROW\x10\r\x12\x18\n\x14RESULTSET_FETCH_DONE\x10\x0e\x12\x1d\n\x19RESULTSET_FETCH_SUSPENDED\x10\x0f\x12(\n$RESULTSET_FETCH_DONE_MORE_RESULTSETS\x10\x10\x12\x17\n\x13SQL_STMT_EXECUTE_OK\x10\x11\x12(\n$RESULTSET_FETCH_DONE_MORE_OUT_PARAMS\x10\x12\x12\x0f\n\x0b\x43OMPRESSION\x10\x13"\x11\n\x02Ok\x12\x0b\n\x03msg\x18\x01 \x01(\t"\x88\x01\n\x05\x45rror\x12/\n\x08severity\x18\x01 \x01(\x0e\x32\x16.Mysqlx.Error.Severity:\x05\x45RROR\x12\x0c\n\x04\x63ode\x18\x02 \x02(\r\x12\x11\n\tsql_state\x18\x04 \x02(\t\x12\x0b\n\x03msg\x18\x03 \x02(\t" \n\x08Severity\x12\t\n\x05\x45RROR\x10\x00\x12\t\n\x05\x46\x41TAL\x10\x01\x42\x1b\n\x17\x63om.mysql.cj.x.protobufH\x03'
50
+ )
51
+
52
+ _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals())
53
+ _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, "mysqlx_pb2", globals())
54
+ if _descriptor._USE_C_DESCRIPTORS == False:
55
+ DESCRIPTOR._options = None
56
+ DESCRIPTOR._serialized_options = b"\n\027com.mysql.cj.x.protobufH\003"
57
+ _CLIENTMESSAGES._serialized_start = 25
58
+ _CLIENTMESSAGES._serialized_end = 533
59
+ _CLIENTMESSAGES_TYPE._serialized_start = 44
60
+ _CLIENTMESSAGES_TYPE._serialized_end = 533
61
+ _SERVERMESSAGES._serialized_start = 536
62
+ _SERVERMESSAGES._serialized_end = 907
63
+ _SERVERMESSAGES_TYPE._serialized_start = 555
64
+ _SERVERMESSAGES_TYPE._serialized_end = 907
65
+ _OK._serialized_start = 909
66
+ _OK._serialized_end = 926
67
+ _ERROR._serialized_start = 929
68
+ _ERROR._serialized_end = 1065
69
+ _ERROR_SEVERITY._serialized_start = 1033
70
+ _ERROR_SEVERITY._serialized_end = 1065
71
+ # @@protoc_insertion_point(module_scope)
@@ -0,0 +1,73 @@
1
+ # -*- coding: utf-8 -*-
2
+ # Copyright (c) 2017, 2023, Oracle and/or its affiliates.
3
+ #
4
+ # This program is free software; you can redistribute it and/or modify
5
+ # it under the terms of the GNU General Public License, version 2.0, as
6
+ # published by the Free Software Foundation.
7
+ #
8
+ # This program is also distributed with certain software (including
9
+ # but not limited to OpenSSL) that is licensed under separate terms,
10
+ # as designated in a particular file or component or in included license
11
+ # documentation. The authors of MySQL hereby grant you an
12
+ # additional permission to link the program and your derivative works
13
+ # with the separately licensed software that they have included with
14
+ # MySQL.
15
+ #
16
+ # Without limiting anything contained in the foregoing, this file,
17
+ # which is part of MySQL Connector/Python, is also subject to the
18
+ # Universal FOSS Exception, version 1.0, a copy of which can be found at
19
+ # http://oss.oracle.com/licenses/universal-foss-exception.
20
+ #
21
+ # This program is distributed in the hope that it will be useful, but
22
+ # WITHOUT ANY WARRANTY; without even the implied warranty of
23
+ # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
24
+ # See the GNU General Public License, version 2.0, for more details.
25
+ #
26
+ # You should have received a copy of the GNU General Public License
27
+ # along with this program; if not, write to the Free Software Foundation, Inc.,
28
+ # 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
29
+
30
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
31
+ # source: mysqlx_prepare.proto
32
+
33
+ # type: ignore
34
+
35
+ """Generated protocol buffer code."""
36
+ from google.protobuf import (
37
+ descriptor as _descriptor,
38
+ descriptor_pool as _descriptor_pool,
39
+ symbol_database as _symbol_database,
40
+ )
41
+ from google.protobuf.internal import builder as _builder
42
+
43
+ # @@protoc_insertion_point(imports)
44
+
45
+ _sym_db = _symbol_database.Default()
46
+
47
+
48
+ from mysqlx.protobuf import (
49
+ mysqlx_crud_pb2 as mysqlx__crud__pb2,
50
+ mysqlx_datatypes_pb2 as mysqlx__datatypes__pb2,
51
+ mysqlx_sql_pb2 as mysqlx__sql__pb2,
52
+ )
53
+
54
+ DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(
55
+ b'\n\x14mysqlx_prepare.proto\x12\x0eMysqlx.Prepare\x1a\x10mysqlx_sql.proto\x1a\x11mysqlx_crud.proto\x1a\x16mysqlx_datatypes.proto"\x97\x03\n\x07Prepare\x12\x0f\n\x07stmt_id\x18\x01 \x02(\r\x12\x32\n\x04stmt\x18\x02 \x02(\x0b\x32$.Mysqlx.Prepare.Prepare.OneOfMessage\x1a\xc6\x02\n\x0cOneOfMessage\x12\x37\n\x04type\x18\x01 \x02(\x0e\x32).Mysqlx.Prepare.Prepare.OneOfMessage.Type\x12\x1f\n\x04\x66ind\x18\x02 \x01(\x0b\x32\x11.Mysqlx.Crud.Find\x12#\n\x06insert\x18\x03 \x01(\x0b\x32\x13.Mysqlx.Crud.Insert\x12#\n\x06update\x18\x04 \x01(\x0b\x32\x13.Mysqlx.Crud.Update\x12#\n\x06\x64\x65lete\x18\x05 \x01(\x0b\x32\x13.Mysqlx.Crud.Delete\x12-\n\x0cstmt_execute\x18\x06 \x01(\x0b\x32\x17.Mysqlx.Sql.StmtExecute">\n\x04Type\x12\x08\n\x04\x46IND\x10\x00\x12\n\n\x06INSERT\x10\x01\x12\n\n\x06UPDATE\x10\x02\x12\n\n\x06\x44\x45LETE\x10\x04\x12\x08\n\x04STMT\x10\x05"`\n\x07\x45xecute\x12\x0f\n\x07stmt_id\x18\x01 \x02(\r\x12#\n\x04\x61rgs\x18\x02 \x03(\x0b\x32\x15.Mysqlx.Datatypes.Any\x12\x1f\n\x10\x63ompact_metadata\x18\x03 \x01(\x08:\x05\x66\x61lse"\x1d\n\nDeallocate\x12\x0f\n\x07stmt_id\x18\x01 \x02(\rB\x1b\n\x17\x63om.mysql.cj.x.protobufH\x03'
56
+ )
57
+
58
+ _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals())
59
+ _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, "mysqlx_prepare_pb2", globals())
60
+ if _descriptor._USE_C_DESCRIPTORS == False:
61
+ DESCRIPTOR._options = None
62
+ DESCRIPTOR._serialized_options = b"\n\027com.mysql.cj.x.protobufH\003"
63
+ _PREPARE._serialized_start = 102
64
+ _PREPARE._serialized_end = 509
65
+ _PREPARE_ONEOFMESSAGE._serialized_start = 183
66
+ _PREPARE_ONEOFMESSAGE._serialized_end = 509
67
+ _PREPARE_ONEOFMESSAGE_TYPE._serialized_start = 447
68
+ _PREPARE_ONEOFMESSAGE_TYPE._serialized_end = 509
69
+ _EXECUTE._serialized_start = 511
70
+ _EXECUTE._serialized_end = 607
71
+ _DEALLOCATE._serialized_start = 609
72
+ _DEALLOCATE._serialized_end = 638
73
+ # @@protoc_insertion_point(module_scope)