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,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_resultset.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_resultset.proto\x12\x10Mysqlx.Resultset"\x18\n\x16\x46\x65tchDoneMoreOutParams"\x19\n\x17\x46\x65tchDoneMoreResultsets"\x0b\n\tFetchDone"\x10\n\x0e\x46\x65tchSuspended"\x9f\x03\n\x0e\x43olumnMetaData\x12\x38\n\x04type\x18\x01 \x02(\x0e\x32*.Mysqlx.Resultset.ColumnMetaData.FieldType\x12\x0c\n\x04name\x18\x02 \x01(\x0c\x12\x15\n\roriginal_name\x18\x03 \x01(\x0c\x12\r\n\x05table\x18\x04 \x01(\x0c\x12\x16\n\x0eoriginal_table\x18\x05 \x01(\x0c\x12\x0e\n\x06schema\x18\x06 \x01(\x0c\x12\x0f\n\x07\x63\x61talog\x18\x07 \x01(\x0c\x12\x11\n\tcollation\x18\x08 \x01(\x04\x12\x19\n\x11\x66ractional_digits\x18\t \x01(\r\x12\x0e\n\x06length\x18\n \x01(\r\x12\r\n\x05\x66lags\x18\x0b \x01(\r\x12\x14\n\x0c\x63ontent_type\x18\x0c \x01(\r"\x82\x01\n\tFieldType\x12\x08\n\x04SINT\x10\x01\x12\x08\n\x04UINT\x10\x02\x12\n\n\x06\x44OUBLE\x10\x05\x12\t\n\x05\x46LOAT\x10\x06\x12\t\n\x05\x42YTES\x10\x07\x12\x08\n\x04TIME\x10\n\x12\x0c\n\x08\x44\x41TETIME\x10\x0c\x12\x07\n\x03SET\x10\x0f\x12\x08\n\x04\x45NUM\x10\x10\x12\x07\n\x03\x42IT\x10\x11\x12\x0b\n\x07\x44\x45\x43IMAL\x10\x12"\x14\n\x03Row\x12\r\n\x05\x66ield\x18\x01 \x03(\x0c*4\n\x11\x43ontentType_BYTES\x12\x0c\n\x08GEOMETRY\x10\x01\x12\x08\n\x04JSON\x10\x02\x12\x07\n\x03XML\x10\x03*.\n\x14\x43ontentType_DATETIME\x12\x08\n\x04\x44\x41TE\x10\x01\x12\x0c\n\x08\x44\x41TETIME\x10\x02\x42\x1b\n\x17\x63om.mysql.cj.x.protobufH\x03'
50
+ )
51
+
52
+ _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals())
53
+ _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, "mysqlx_resultset_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
+ _CONTENTTYPE_BYTES._serialized_start = 568
58
+ _CONTENTTYPE_BYTES._serialized_end = 620
59
+ _CONTENTTYPE_DATETIME._serialized_start = 622
60
+ _CONTENTTYPE_DATETIME._serialized_end = 668
61
+ _FETCHDONEMOREOUTPARAMS._serialized_start = 44
62
+ _FETCHDONEMOREOUTPARAMS._serialized_end = 68
63
+ _FETCHDONEMORERESULTSETS._serialized_start = 70
64
+ _FETCHDONEMORERESULTSETS._serialized_end = 95
65
+ _FETCHDONE._serialized_start = 97
66
+ _FETCHDONE._serialized_end = 108
67
+ _FETCHSUSPENDED._serialized_start = 110
68
+ _FETCHSUSPENDED._serialized_end = 126
69
+ _COLUMNMETADATA._serialized_start = 129
70
+ _COLUMNMETADATA._serialized_end = 544
71
+ _COLUMNMETADATA_FIELDTYPE._serialized_start = 414
72
+ _COLUMNMETADATA_FIELDTYPE._serialized_end = 544
73
+ _ROW._serialized_start = 546
74
+ _ROW._serialized_end = 566
75
+ # @@protoc_insertion_point(module_scope)
@@ -0,0 +1,67 @@
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_session.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\x14mysqlx_session.proto\x12\x0eMysqlx.Session"S\n\x11\x41uthenticateStart\x12\x11\n\tmech_name\x18\x01 \x02(\t\x12\x11\n\tauth_data\x18\x02 \x01(\x0c\x12\x18\n\x10initial_response\x18\x03 \x01(\x0c")\n\x14\x41uthenticateContinue\x12\x11\n\tauth_data\x18\x01 \x02(\x0c"#\n\x0e\x41uthenticateOk\x12\x11\n\tauth_data\x18\x01 \x01(\x0c"!\n\x05Reset\x12\x18\n\tkeep_open\x18\x01 \x01(\x08:\x05\x66\x61lse"\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_session_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
+ _AUTHENTICATESTART._serialized_start = 40
58
+ _AUTHENTICATESTART._serialized_end = 123
59
+ _AUTHENTICATECONTINUE._serialized_start = 125
60
+ _AUTHENTICATECONTINUE._serialized_end = 166
61
+ _AUTHENTICATEOK._serialized_start = 168
62
+ _AUTHENTICATEOK._serialized_end = 203
63
+ _RESET._serialized_start = 205
64
+ _RESET._serialized_end = 238
65
+ _CLOSE._serialized_start = 240
66
+ _CLOSE._serialized_end = 247
67
+ # @@protoc_insertion_point(module_scope)
@@ -0,0 +1,63 @@
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_sql.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\x10mysqlx_sql.proto\x12\nMysqlx.Sql\x1a\x16mysqlx_datatypes.proto"y\n\x0bStmtExecute\x12\x16\n\tnamespace\x18\x03 \x01(\t:\x03sql\x12\x0c\n\x04stmt\x18\x01 \x02(\x0c\x12#\n\x04\x61rgs\x18\x02 \x03(\x0b\x32\x15.Mysqlx.Datatypes.Any\x12\x1f\n\x10\x63ompact_metadata\x18\x04 \x01(\x08:\x05\x66\x61lse"\x0f\n\rStmtExecuteOkB\x1b\n\x17\x63om.mysql.cj.x.protobufH\x03'
52
+ )
53
+
54
+ _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals())
55
+ _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, "mysqlx_sql_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
+ _STMTEXECUTE._serialized_start = 56
60
+ _STMTEXECUTE._serialized_end = 177
61
+ _STMTEXECUTEOK._serialized_start = 179
62
+ _STMTEXECUTEOK._serialized_end = 194
63
+ # @@protoc_insertion_point(module_scope)