yugabyte-ycql-driver 3.2.3.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.yardopts +13 -0
- data/README.md +242 -0
- data/ext/cassandra_murmur3/cassandra_murmur3.c +178 -0
- data/ext/cassandra_murmur3/extconf.rb +2 -0
- data/lib/cassandra/address_resolution.rb +36 -0
- data/lib/cassandra/address_resolution/policies.rb +2 -0
- data/lib/cassandra/address_resolution/policies/ec2_multi_region.rb +56 -0
- data/lib/cassandra/address_resolution/policies/none.rb +35 -0
- data/lib/cassandra/aggregate.rb +123 -0
- data/lib/cassandra/argument.rb +51 -0
- data/lib/cassandra/attr_boolean.rb +33 -0
- data/lib/cassandra/auth.rb +100 -0
- data/lib/cassandra/auth/providers.rb +17 -0
- data/lib/cassandra/auth/providers/password.rb +65 -0
- data/lib/cassandra/cassandra_logger.rb +80 -0
- data/lib/cassandra/cluster.rb +331 -0
- data/lib/cassandra/cluster/client.rb +1612 -0
- data/lib/cassandra/cluster/connection_pool.rb +78 -0
- data/lib/cassandra/cluster/connector.rb +372 -0
- data/lib/cassandra/cluster/control_connection.rb +962 -0
- data/lib/cassandra/cluster/failed_connection.rb +35 -0
- data/lib/cassandra/cluster/metadata.rb +142 -0
- data/lib/cassandra/cluster/options.rb +145 -0
- data/lib/cassandra/cluster/registry.rb +284 -0
- data/lib/cassandra/cluster/schema.rb +405 -0
- data/lib/cassandra/cluster/schema/cql_type_parser.rb +112 -0
- data/lib/cassandra/cluster/schema/fetchers.rb +1627 -0
- data/lib/cassandra/cluster/schema/fqcn_type_parser.rb +175 -0
- data/lib/cassandra/cluster/schema/partitioners.rb +21 -0
- data/lib/cassandra/cluster/schema/partitioners/murmur3.rb +45 -0
- data/lib/cassandra/cluster/schema/partitioners/ordered.rb +37 -0
- data/lib/cassandra/cluster/schema/partitioners/random.rb +37 -0
- data/lib/cassandra/cluster/schema/replication_strategies.rb +21 -0
- data/lib/cassandra/cluster/schema/replication_strategies/network_topology.rb +102 -0
- data/lib/cassandra/cluster/schema/replication_strategies/none.rb +39 -0
- data/lib/cassandra/cluster/schema/replication_strategies/simple.rb +44 -0
- data/lib/cassandra/column.rb +66 -0
- data/lib/cassandra/column_container.rb +326 -0
- data/lib/cassandra/compression.rb +69 -0
- data/lib/cassandra/compression/compressors/lz4.rb +73 -0
- data/lib/cassandra/compression/compressors/snappy.rb +69 -0
- data/lib/cassandra/custom_data.rb +53 -0
- data/lib/cassandra/driver.rb +260 -0
- data/lib/cassandra/errors.rb +784 -0
- data/lib/cassandra/execution/info.rb +69 -0
- data/lib/cassandra/execution/options.rb +267 -0
- data/lib/cassandra/execution/profile.rb +153 -0
- data/lib/cassandra/execution/profile_manager.rb +71 -0
- data/lib/cassandra/execution/trace.rb +192 -0
- data/lib/cassandra/executors.rb +113 -0
- data/lib/cassandra/function.rb +156 -0
- data/lib/cassandra/function_collection.rb +85 -0
- data/lib/cassandra/future.rb +794 -0
- data/lib/cassandra/host.rb +102 -0
- data/lib/cassandra/index.rb +118 -0
- data/lib/cassandra/keyspace.rb +473 -0
- data/lib/cassandra/listener.rb +87 -0
- data/lib/cassandra/load_balancing.rb +121 -0
- data/lib/cassandra/load_balancing/policies.rb +20 -0
- data/lib/cassandra/load_balancing/policies/dc_aware_round_robin.rb +172 -0
- data/lib/cassandra/load_balancing/policies/round_robin.rb +141 -0
- data/lib/cassandra/load_balancing/policies/token_aware.rb +149 -0
- data/lib/cassandra/load_balancing/policies/white_list.rb +100 -0
- data/lib/cassandra/materialized_view.rb +92 -0
- data/lib/cassandra/null_logger.rb +56 -0
- data/lib/cassandra/protocol.rb +102 -0
- data/lib/cassandra/protocol/coder.rb +1085 -0
- data/lib/cassandra/protocol/cql_byte_buffer.rb +418 -0
- data/lib/cassandra/protocol/cql_protocol_handler.rb +448 -0
- data/lib/cassandra/protocol/request.rb +41 -0
- data/lib/cassandra/protocol/requests/auth_response_request.rb +51 -0
- data/lib/cassandra/protocol/requests/batch_request.rb +117 -0
- data/lib/cassandra/protocol/requests/credentials_request.rb +51 -0
- data/lib/cassandra/protocol/requests/execute_request.rb +122 -0
- data/lib/cassandra/protocol/requests/options_request.rb +39 -0
- data/lib/cassandra/protocol/requests/prepare_request.rb +59 -0
- data/lib/cassandra/protocol/requests/query_request.rb +112 -0
- data/lib/cassandra/protocol/requests/register_request.rb +38 -0
- data/lib/cassandra/protocol/requests/startup_request.rb +49 -0
- data/lib/cassandra/protocol/requests/void_query_request.rb +24 -0
- data/lib/cassandra/protocol/response.rb +28 -0
- data/lib/cassandra/protocol/responses/already_exists_error_response.rb +50 -0
- data/lib/cassandra/protocol/responses/auth_challenge_response.rb +36 -0
- data/lib/cassandra/protocol/responses/auth_success_response.rb +36 -0
- data/lib/cassandra/protocol/responses/authenticate_response.rb +36 -0
- data/lib/cassandra/protocol/responses/error_response.rb +142 -0
- data/lib/cassandra/protocol/responses/event_response.rb +30 -0
- data/lib/cassandra/protocol/responses/function_failure_error_response.rb +52 -0
- data/lib/cassandra/protocol/responses/prepared_result_response.rb +62 -0
- data/lib/cassandra/protocol/responses/raw_rows_result_response.rb +59 -0
- data/lib/cassandra/protocol/responses/read_failure_error_response.rb +71 -0
- data/lib/cassandra/protocol/responses/read_timeout_error_response.rb +61 -0
- data/lib/cassandra/protocol/responses/ready_response.rb +43 -0
- data/lib/cassandra/protocol/responses/result_response.rb +42 -0
- data/lib/cassandra/protocol/responses/rows_result_response.rb +39 -0
- data/lib/cassandra/protocol/responses/schema_change_event_response.rb +73 -0
- data/lib/cassandra/protocol/responses/schema_change_result_response.rb +70 -0
- data/lib/cassandra/protocol/responses/set_keyspace_result_response.rb +37 -0
- data/lib/cassandra/protocol/responses/status_change_event_response.rb +39 -0
- data/lib/cassandra/protocol/responses/supported_response.rb +36 -0
- data/lib/cassandra/protocol/responses/topology_change_event_response.rb +33 -0
- data/lib/cassandra/protocol/responses/unavailable_error_response.rb +58 -0
- data/lib/cassandra/protocol/responses/unprepared_error_response.rb +48 -0
- data/lib/cassandra/protocol/responses/void_result_response.rb +34 -0
- data/lib/cassandra/protocol/responses/write_failure_error_response.rb +73 -0
- data/lib/cassandra/protocol/responses/write_timeout_error_response.rb +63 -0
- data/lib/cassandra/protocol/v1.rb +326 -0
- data/lib/cassandra/protocol/v3.rb +358 -0
- data/lib/cassandra/protocol/v4.rb +478 -0
- data/lib/cassandra/reconnection.rb +49 -0
- data/lib/cassandra/reconnection/policies.rb +20 -0
- data/lib/cassandra/reconnection/policies/constant.rb +46 -0
- data/lib/cassandra/reconnection/policies/exponential.rb +79 -0
- data/lib/cassandra/result.rb +276 -0
- data/lib/cassandra/retry.rb +154 -0
- data/lib/cassandra/retry/policies.rb +21 -0
- data/lib/cassandra/retry/policies/default.rb +53 -0
- data/lib/cassandra/retry/policies/downgrading_consistency.rb +73 -0
- data/lib/cassandra/retry/policies/fallthrough.rb +39 -0
- data/lib/cassandra/session.rb +270 -0
- data/lib/cassandra/statement.rb +32 -0
- data/lib/cassandra/statements.rb +23 -0
- data/lib/cassandra/statements/batch.rb +146 -0
- data/lib/cassandra/statements/bound.rb +65 -0
- data/lib/cassandra/statements/prepared.rb +235 -0
- data/lib/cassandra/statements/simple.rb +118 -0
- data/lib/cassandra/statements/void.rb +38 -0
- data/lib/cassandra/table.rb +240 -0
- data/lib/cassandra/time.rb +103 -0
- data/lib/cassandra/time_uuid.rb +78 -0
- data/lib/cassandra/timestamp_generator.rb +37 -0
- data/lib/cassandra/timestamp_generator/simple.rb +38 -0
- data/lib/cassandra/timestamp_generator/ticking_on_duplicate.rb +58 -0
- data/lib/cassandra/trigger.rb +67 -0
- data/lib/cassandra/tuple.rb +131 -0
- data/lib/cassandra/types.rb +1704 -0
- data/lib/cassandra/udt.rb +443 -0
- data/lib/cassandra/util.rb +464 -0
- data/lib/cassandra/uuid.rb +110 -0
- data/lib/cassandra/uuid/generator.rb +212 -0
- data/lib/cassandra/version.rb +21 -0
- data/lib/datastax/cassandra.rb +47 -0
- data/lib/ycql.rb +842 -0
- metadata +243 -0
metadata
ADDED
@@ -0,0 +1,243 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: yugabyte-ycql-driver
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 3.2.3.1
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- Theo Hultberg
|
8
|
+
- Bulat Shakirzyanov
|
9
|
+
- Sandeep Tamhankar
|
10
|
+
- YugaByte Development Team
|
11
|
+
autorequire:
|
12
|
+
bindir: bin
|
13
|
+
cert_chain: []
|
14
|
+
date: 2019-03-12 00:00:00.000000000 Z
|
15
|
+
dependencies:
|
16
|
+
- !ruby/object:Gem::Dependency
|
17
|
+
name: ione
|
18
|
+
requirement: !ruby/object:Gem::Requirement
|
19
|
+
requirements:
|
20
|
+
- - "~>"
|
21
|
+
- !ruby/object:Gem::Version
|
22
|
+
version: '1.2'
|
23
|
+
type: :runtime
|
24
|
+
prerelease: false
|
25
|
+
version_requirements: !ruby/object:Gem::Requirement
|
26
|
+
requirements:
|
27
|
+
- - "~>"
|
28
|
+
- !ruby/object:Gem::Version
|
29
|
+
version: '1.2'
|
30
|
+
- !ruby/object:Gem::Dependency
|
31
|
+
name: bundler
|
32
|
+
requirement: !ruby/object:Gem::Requirement
|
33
|
+
requirements:
|
34
|
+
- - "~>"
|
35
|
+
- !ruby/object:Gem::Version
|
36
|
+
version: '1.6'
|
37
|
+
type: :development
|
38
|
+
prerelease: false
|
39
|
+
version_requirements: !ruby/object:Gem::Requirement
|
40
|
+
requirements:
|
41
|
+
- - "~>"
|
42
|
+
- !ruby/object:Gem::Version
|
43
|
+
version: '1.6'
|
44
|
+
- !ruby/object:Gem::Dependency
|
45
|
+
name: rake
|
46
|
+
requirement: !ruby/object:Gem::Requirement
|
47
|
+
requirements:
|
48
|
+
- - "~>"
|
49
|
+
- !ruby/object:Gem::Version
|
50
|
+
version: '10.0'
|
51
|
+
type: :development
|
52
|
+
prerelease: false
|
53
|
+
version_requirements: !ruby/object:Gem::Requirement
|
54
|
+
requirements:
|
55
|
+
- - "~>"
|
56
|
+
- !ruby/object:Gem::Version
|
57
|
+
version: '10.0'
|
58
|
+
description: YugaByte Ruby Driver for YugaByte DB's Cassandra compatible YCQL API;
|
59
|
+
derived from Datastax Ruby Driver for Apache Cassandra
|
60
|
+
email:
|
61
|
+
- theo@iconara.net
|
62
|
+
- bulat.shakirzyanov@datastax.com
|
63
|
+
- sandeep.tamhankar@datastax.com
|
64
|
+
- info@yugabyte.com
|
65
|
+
executables: []
|
66
|
+
extensions:
|
67
|
+
- ext/cassandra_murmur3/extconf.rb
|
68
|
+
extra_rdoc_files:
|
69
|
+
- README.md
|
70
|
+
files:
|
71
|
+
- ".yardopts"
|
72
|
+
- README.md
|
73
|
+
- ext/cassandra_murmur3/cassandra_murmur3.c
|
74
|
+
- ext/cassandra_murmur3/extconf.rb
|
75
|
+
- lib/cassandra/address_resolution.rb
|
76
|
+
- lib/cassandra/address_resolution/policies.rb
|
77
|
+
- lib/cassandra/address_resolution/policies/ec2_multi_region.rb
|
78
|
+
- lib/cassandra/address_resolution/policies/none.rb
|
79
|
+
- lib/cassandra/aggregate.rb
|
80
|
+
- lib/cassandra/argument.rb
|
81
|
+
- lib/cassandra/attr_boolean.rb
|
82
|
+
- lib/cassandra/auth.rb
|
83
|
+
- lib/cassandra/auth/providers.rb
|
84
|
+
- lib/cassandra/auth/providers/password.rb
|
85
|
+
- lib/cassandra/cassandra_logger.rb
|
86
|
+
- lib/cassandra/cluster.rb
|
87
|
+
- lib/cassandra/cluster/client.rb
|
88
|
+
- lib/cassandra/cluster/connection_pool.rb
|
89
|
+
- lib/cassandra/cluster/connector.rb
|
90
|
+
- lib/cassandra/cluster/control_connection.rb
|
91
|
+
- lib/cassandra/cluster/failed_connection.rb
|
92
|
+
- lib/cassandra/cluster/metadata.rb
|
93
|
+
- lib/cassandra/cluster/options.rb
|
94
|
+
- lib/cassandra/cluster/registry.rb
|
95
|
+
- lib/cassandra/cluster/schema.rb
|
96
|
+
- lib/cassandra/cluster/schema/cql_type_parser.rb
|
97
|
+
- lib/cassandra/cluster/schema/fetchers.rb
|
98
|
+
- lib/cassandra/cluster/schema/fqcn_type_parser.rb
|
99
|
+
- lib/cassandra/cluster/schema/partitioners.rb
|
100
|
+
- lib/cassandra/cluster/schema/partitioners/murmur3.rb
|
101
|
+
- lib/cassandra/cluster/schema/partitioners/ordered.rb
|
102
|
+
- lib/cassandra/cluster/schema/partitioners/random.rb
|
103
|
+
- lib/cassandra/cluster/schema/replication_strategies.rb
|
104
|
+
- lib/cassandra/cluster/schema/replication_strategies/network_topology.rb
|
105
|
+
- lib/cassandra/cluster/schema/replication_strategies/none.rb
|
106
|
+
- lib/cassandra/cluster/schema/replication_strategies/simple.rb
|
107
|
+
- lib/cassandra/column.rb
|
108
|
+
- lib/cassandra/column_container.rb
|
109
|
+
- lib/cassandra/compression.rb
|
110
|
+
- lib/cassandra/compression/compressors/lz4.rb
|
111
|
+
- lib/cassandra/compression/compressors/snappy.rb
|
112
|
+
- lib/cassandra/custom_data.rb
|
113
|
+
- lib/cassandra/driver.rb
|
114
|
+
- lib/cassandra/errors.rb
|
115
|
+
- lib/cassandra/execution/info.rb
|
116
|
+
- lib/cassandra/execution/options.rb
|
117
|
+
- lib/cassandra/execution/profile.rb
|
118
|
+
- lib/cassandra/execution/profile_manager.rb
|
119
|
+
- lib/cassandra/execution/trace.rb
|
120
|
+
- lib/cassandra/executors.rb
|
121
|
+
- lib/cassandra/function.rb
|
122
|
+
- lib/cassandra/function_collection.rb
|
123
|
+
- lib/cassandra/future.rb
|
124
|
+
- lib/cassandra/host.rb
|
125
|
+
- lib/cassandra/index.rb
|
126
|
+
- lib/cassandra/keyspace.rb
|
127
|
+
- lib/cassandra/listener.rb
|
128
|
+
- lib/cassandra/load_balancing.rb
|
129
|
+
- lib/cassandra/load_balancing/policies.rb
|
130
|
+
- lib/cassandra/load_balancing/policies/dc_aware_round_robin.rb
|
131
|
+
- lib/cassandra/load_balancing/policies/round_robin.rb
|
132
|
+
- lib/cassandra/load_balancing/policies/token_aware.rb
|
133
|
+
- lib/cassandra/load_balancing/policies/white_list.rb
|
134
|
+
- lib/cassandra/materialized_view.rb
|
135
|
+
- lib/cassandra/null_logger.rb
|
136
|
+
- lib/cassandra/protocol.rb
|
137
|
+
- lib/cassandra/protocol/coder.rb
|
138
|
+
- lib/cassandra/protocol/cql_byte_buffer.rb
|
139
|
+
- lib/cassandra/protocol/cql_protocol_handler.rb
|
140
|
+
- lib/cassandra/protocol/request.rb
|
141
|
+
- lib/cassandra/protocol/requests/auth_response_request.rb
|
142
|
+
- lib/cassandra/protocol/requests/batch_request.rb
|
143
|
+
- lib/cassandra/protocol/requests/credentials_request.rb
|
144
|
+
- lib/cassandra/protocol/requests/execute_request.rb
|
145
|
+
- lib/cassandra/protocol/requests/options_request.rb
|
146
|
+
- lib/cassandra/protocol/requests/prepare_request.rb
|
147
|
+
- lib/cassandra/protocol/requests/query_request.rb
|
148
|
+
- lib/cassandra/protocol/requests/register_request.rb
|
149
|
+
- lib/cassandra/protocol/requests/startup_request.rb
|
150
|
+
- lib/cassandra/protocol/requests/void_query_request.rb
|
151
|
+
- lib/cassandra/protocol/response.rb
|
152
|
+
- lib/cassandra/protocol/responses/already_exists_error_response.rb
|
153
|
+
- lib/cassandra/protocol/responses/auth_challenge_response.rb
|
154
|
+
- lib/cassandra/protocol/responses/auth_success_response.rb
|
155
|
+
- lib/cassandra/protocol/responses/authenticate_response.rb
|
156
|
+
- lib/cassandra/protocol/responses/error_response.rb
|
157
|
+
- lib/cassandra/protocol/responses/event_response.rb
|
158
|
+
- lib/cassandra/protocol/responses/function_failure_error_response.rb
|
159
|
+
- lib/cassandra/protocol/responses/prepared_result_response.rb
|
160
|
+
- lib/cassandra/protocol/responses/raw_rows_result_response.rb
|
161
|
+
- lib/cassandra/protocol/responses/read_failure_error_response.rb
|
162
|
+
- lib/cassandra/protocol/responses/read_timeout_error_response.rb
|
163
|
+
- lib/cassandra/protocol/responses/ready_response.rb
|
164
|
+
- lib/cassandra/protocol/responses/result_response.rb
|
165
|
+
- lib/cassandra/protocol/responses/rows_result_response.rb
|
166
|
+
- lib/cassandra/protocol/responses/schema_change_event_response.rb
|
167
|
+
- lib/cassandra/protocol/responses/schema_change_result_response.rb
|
168
|
+
- lib/cassandra/protocol/responses/set_keyspace_result_response.rb
|
169
|
+
- lib/cassandra/protocol/responses/status_change_event_response.rb
|
170
|
+
- lib/cassandra/protocol/responses/supported_response.rb
|
171
|
+
- lib/cassandra/protocol/responses/topology_change_event_response.rb
|
172
|
+
- lib/cassandra/protocol/responses/unavailable_error_response.rb
|
173
|
+
- lib/cassandra/protocol/responses/unprepared_error_response.rb
|
174
|
+
- lib/cassandra/protocol/responses/void_result_response.rb
|
175
|
+
- lib/cassandra/protocol/responses/write_failure_error_response.rb
|
176
|
+
- lib/cassandra/protocol/responses/write_timeout_error_response.rb
|
177
|
+
- lib/cassandra/protocol/v1.rb
|
178
|
+
- lib/cassandra/protocol/v3.rb
|
179
|
+
- lib/cassandra/protocol/v4.rb
|
180
|
+
- lib/cassandra/reconnection.rb
|
181
|
+
- lib/cassandra/reconnection/policies.rb
|
182
|
+
- lib/cassandra/reconnection/policies/constant.rb
|
183
|
+
- lib/cassandra/reconnection/policies/exponential.rb
|
184
|
+
- lib/cassandra/result.rb
|
185
|
+
- lib/cassandra/retry.rb
|
186
|
+
- lib/cassandra/retry/policies.rb
|
187
|
+
- lib/cassandra/retry/policies/default.rb
|
188
|
+
- lib/cassandra/retry/policies/downgrading_consistency.rb
|
189
|
+
- lib/cassandra/retry/policies/fallthrough.rb
|
190
|
+
- lib/cassandra/session.rb
|
191
|
+
- lib/cassandra/statement.rb
|
192
|
+
- lib/cassandra/statements.rb
|
193
|
+
- lib/cassandra/statements/batch.rb
|
194
|
+
- lib/cassandra/statements/bound.rb
|
195
|
+
- lib/cassandra/statements/prepared.rb
|
196
|
+
- lib/cassandra/statements/simple.rb
|
197
|
+
- lib/cassandra/statements/void.rb
|
198
|
+
- lib/cassandra/table.rb
|
199
|
+
- lib/cassandra/time.rb
|
200
|
+
- lib/cassandra/time_uuid.rb
|
201
|
+
- lib/cassandra/timestamp_generator.rb
|
202
|
+
- lib/cassandra/timestamp_generator/simple.rb
|
203
|
+
- lib/cassandra/timestamp_generator/ticking_on_duplicate.rb
|
204
|
+
- lib/cassandra/trigger.rb
|
205
|
+
- lib/cassandra/tuple.rb
|
206
|
+
- lib/cassandra/types.rb
|
207
|
+
- lib/cassandra/udt.rb
|
208
|
+
- lib/cassandra/util.rb
|
209
|
+
- lib/cassandra/uuid.rb
|
210
|
+
- lib/cassandra/uuid/generator.rb
|
211
|
+
- lib/cassandra/version.rb
|
212
|
+
- lib/datastax/cassandra.rb
|
213
|
+
- lib/ycql.rb
|
214
|
+
homepage: https://github.com/YugaByte/cassandra-ruby-driver
|
215
|
+
licenses:
|
216
|
+
- Apache License 2.0
|
217
|
+
metadata: {}
|
218
|
+
post_install_message:
|
219
|
+
rdoc_options:
|
220
|
+
- "--title"
|
221
|
+
- Ruby Driver for YugaByte DB
|
222
|
+
- "--main"
|
223
|
+
- README.md
|
224
|
+
- "--line-numbers"
|
225
|
+
require_paths:
|
226
|
+
- lib
|
227
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
228
|
+
requirements:
|
229
|
+
- - ">="
|
230
|
+
- !ruby/object:Gem::Version
|
231
|
+
version: 2.2.0
|
232
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
233
|
+
requirements:
|
234
|
+
- - ">="
|
235
|
+
- !ruby/object:Gem::Version
|
236
|
+
version: '0'
|
237
|
+
requirements: []
|
238
|
+
rubyforge_project:
|
239
|
+
rubygems_version: 2.5.1
|
240
|
+
signing_key:
|
241
|
+
specification_version: 4
|
242
|
+
summary: Ruby Driver for YugaByte DB
|
243
|
+
test_files: []
|