forked from apache/cassandra-python-driver
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcassandra.html
More file actions
457 lines (397 loc) · 28.1 KB
/
Copy pathcassandra.html
File metadata and controls
457 lines (397 loc) · 28.1 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>cassandra - Exceptions and Enums — Cassandra Driver 2.7.1 documentation</title>
<link rel="stylesheet" href="../_static/custom.css" type="text/css" />
<link rel="stylesheet" href="../_static/pygments.css" type="text/css" />
<script type="text/javascript">
var DOCUMENTATION_OPTIONS = {
URL_ROOT: '../',
VERSION: '2.7.1',
COLLAPSE_INDEX: false,
FILE_SUFFIX: '.html',
HAS_SOURCE: true
};
</script>
<script type="text/javascript" src="../_static/jquery.js"></script>
<script type="text/javascript" src="../_static/underscore.js"></script>
<script type="text/javascript" src="../_static/doctools.js"></script>
<link rel="top" title="Cassandra Driver 2.7.1 documentation" href="../index.html" />
<link rel="up" title="API Documentation" href="index.html" />
<link rel="next" title="cassandra.cluster - Clusters and Sessions" href="cassandra/cluster.html" />
<link rel="prev" title="API Documentation" href="index.html" />
</head>
<body role="document">
<div class="related" role="navigation" aria-label="related navigation">
<h3>Navigation</h3>
<ul>
<li class="right" style="margin-right: 10px">
<a href="../genindex.html" title="General Index"
accesskey="I">index</a></li>
<li class="right" >
<a href="../py-modindex.html" title="Python Module Index"
>modules</a> |</li>
<li class="right" >
<a href="cassandra/cluster.html" title="cassandra.cluster - Clusters and Sessions"
accesskey="N">next</a> |</li>
<li class="right" >
<a href="index.html" title="API Documentation"
accesskey="P">previous</a> |</li>
<li class="nav-item nav-item-0"><a href="../index.html">Cassandra Driver 2.7.1 documentation</a> »</li>
<li class="nav-item nav-item-1"><a href="index.html" accesskey="U">API Documentation</a> »</li>
</ul>
</div>
<div class="sphinxsidebar" role="navigation" aria-label="main navigation">
<div class="sphinxsidebarwrapper">
<h4>Previous topic</h4>
<p class="topless"><a href="index.html"
title="previous chapter">API Documentation</a></p>
<h4>Next topic</h4>
<p class="topless"><a href="cassandra/cluster.html"
title="next chapter"><code class="docutils literal"><span class="pre">cassandra.cluster</span></code> - Clusters and Sessions</a></p>
<div role="note" aria-label="source link">
<h3>This Page</h3>
<ul class="this-page-menu">
<li><a href="../_sources/api/cassandra.txt"
rel="nofollow">Show Source</a></li>
</ul>
</div>
<div id="searchbox" style="display: none" role="search">
<h3>Quick search</h3>
<form class="search" action="../search.html" method="get">
<input type="text" name="q" />
<input type="submit" value="Go" />
<input type="hidden" name="check_keywords" value="yes" />
<input type="hidden" name="area" value="default" />
</form>
<p class="searchtip" style="font-size: 90%">
Enter search terms or a module, class or function name.
</p>
</div>
<script type="text/javascript">$('#searchbox').show(0);</script>
</div>
</div>
<div class="document">
<div class="documentwrapper">
<div class="bodywrapper">
<div class="body" role="main">
<div class="section" id="module-cassandra">
<span id="cassandra-exceptions-and-enums"></span><h1><a class="reference internal" href="#module-cassandra" title="cassandra"><code class="xref py py-mod docutils literal"><span class="pre">cassandra</span></code></a> - Exceptions and Enums<a class="headerlink" href="#module-cassandra" title="Permalink to this headline">¶</a></h1>
<dl class="data">
<dt id="cassandra.__version_info__">
<code class="descclassname">cassandra.</code><code class="descname">__version_info__</code><a class="headerlink" href="#cassandra.__version_info__" title="Permalink to this definition">¶</a></dt>
<dd><p>The version of the driver in a tuple format</p>
</dd></dl>
<dl class="data">
<dt id="cassandra.__version__">
<code class="descclassname">cassandra.</code><code class="descname">__version__</code><a class="headerlink" href="#cassandra.__version__" title="Permalink to this definition">¶</a></dt>
<dd><p>The version of the driver in a string format</p>
</dd></dl>
<dl class="class">
<dt id="cassandra.ConsistencyLevel">
<em class="property">class </em><code class="descclassname">cassandra.</code><code class="descname">ConsistencyLevel</code><a class="reference internal" href="../_modules/cassandra.html#ConsistencyLevel"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#cassandra.ConsistencyLevel" title="Permalink to this definition">¶</a></dt>
<dd><p>Spcifies how many replicas must respond for an operation to be considered
a success. By default, <code class="docutils literal"><span class="pre">ONE</span></code> is used for all operations.</p>
<dl class="attribute">
<dt id="cassandra.ConsistencyLevel.ANY">
<code class="descname">ANY</code><em class="property"> = 0</em><a class="headerlink" href="#cassandra.ConsistencyLevel.ANY" title="Permalink to this definition">¶</a></dt>
<dd><p>Only requires that one replica receives the write <em>or</em> the coordinator
stores a hint to replay later. Valid only for writes.</p>
</dd></dl>
<dl class="attribute">
<dt id="cassandra.ConsistencyLevel.ONE">
<code class="descname">ONE</code><em class="property"> = 1</em><a class="headerlink" href="#cassandra.ConsistencyLevel.ONE" title="Permalink to this definition">¶</a></dt>
<dd><p>Only one replica needs to respond to consider the operation a success</p>
</dd></dl>
<dl class="attribute">
<dt id="cassandra.ConsistencyLevel.TWO">
<code class="descname">TWO</code><em class="property"> = 2</em><a class="headerlink" href="#cassandra.ConsistencyLevel.TWO" title="Permalink to this definition">¶</a></dt>
<dd><p>Two replicas must respond to consider the operation a success</p>
</dd></dl>
<dl class="attribute">
<dt id="cassandra.ConsistencyLevel.THREE">
<code class="descname">THREE</code><em class="property"> = 3</em><a class="headerlink" href="#cassandra.ConsistencyLevel.THREE" title="Permalink to this definition">¶</a></dt>
<dd><p>Three replicas must respond to consider the operation a success</p>
</dd></dl>
<dl class="attribute">
<dt id="cassandra.ConsistencyLevel.QUORUM">
<code class="descname">QUORUM</code><em class="property"> = 4</em><a class="headerlink" href="#cassandra.ConsistencyLevel.QUORUM" title="Permalink to this definition">¶</a></dt>
<dd><p><code class="docutils literal"><span class="pre">ceil(RF/2)</span></code> replicas must respond to consider the operation a success</p>
</dd></dl>
<dl class="attribute">
<dt id="cassandra.ConsistencyLevel.ALL">
<code class="descname">ALL</code><em class="property"> = 5</em><a class="headerlink" href="#cassandra.ConsistencyLevel.ALL" title="Permalink to this definition">¶</a></dt>
<dd><p>All replicas must respond to consider the operation a success</p>
</dd></dl>
<dl class="attribute">
<dt id="cassandra.ConsistencyLevel.LOCAL_QUORUM">
<code class="descname">LOCAL_QUORUM</code><em class="property"> = 6</em><a class="headerlink" href="#cassandra.ConsistencyLevel.LOCAL_QUORUM" title="Permalink to this definition">¶</a></dt>
<dd><p>Requires a quorum of replicas in the local datacenter</p>
</dd></dl>
<dl class="attribute">
<dt id="cassandra.ConsistencyLevel.EACH_QUORUM">
<code class="descname">EACH_QUORUM</code><em class="property"> = 7</em><a class="headerlink" href="#cassandra.ConsistencyLevel.EACH_QUORUM" title="Permalink to this definition">¶</a></dt>
<dd><p>Requires a quorum of replicas in each datacenter</p>
</dd></dl>
<dl class="attribute">
<dt id="cassandra.ConsistencyLevel.SERIAL">
<code class="descname">SERIAL</code><em class="property"> = 8</em><a class="headerlink" href="#cassandra.ConsistencyLevel.SERIAL" title="Permalink to this definition">¶</a></dt>
<dd><p>For conditional inserts/updates that utilize Cassandra’s lightweight
transactions, this requires consensus among all replicas for the
modified data.</p>
</dd></dl>
<dl class="attribute">
<dt id="cassandra.ConsistencyLevel.LOCAL_SERIAL">
<code class="descname">LOCAL_SERIAL</code><em class="property"> = 9</em><a class="headerlink" href="#cassandra.ConsistencyLevel.LOCAL_SERIAL" title="Permalink to this definition">¶</a></dt>
<dd><p>Like <a class="reference internal" href="#cassandra.ConsistencyLevel.SERIAL" title="cassandra.ConsistencyLevel.SERIAL"><code class="xref py py-attr docutils literal"><span class="pre">SERIAL</span></code></a>, but only requires consensus
among replicas in the local datacenter.</p>
</dd></dl>
<dl class="attribute">
<dt id="cassandra.ConsistencyLevel.LOCAL_ONE">
<code class="descname">LOCAL_ONE</code><em class="property"> = 10</em><a class="headerlink" href="#cassandra.ConsistencyLevel.LOCAL_ONE" title="Permalink to this definition">¶</a></dt>
<dd><p>Sends a request only to replicas in the local datacenter and waits for
one response.</p>
</dd></dl>
</dd></dl>
<dl class="class">
<dt id="cassandra.UserFunctionDescriptor">
<em class="property">class </em><code class="descclassname">cassandra.</code><code class="descname">UserFunctionDescriptor</code><span class="sig-paren">(</span><em>name</em>, <em>type_signature</em><span class="sig-paren">)</span><a class="reference internal" href="../_modules/cassandra.html#UserFunctionDescriptor"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#cassandra.UserFunctionDescriptor" title="Permalink to this definition">¶</a></dt>
<dd><p>Describes a User function by name and argument signature</p>
<dl class="attribute">
<dt id="cassandra.UserFunctionDescriptor.name">
<code class="descname">name</code><em class="property"> = None</em><a class="headerlink" href="#cassandra.UserFunctionDescriptor.name" title="Permalink to this definition">¶</a></dt>
<dd><p>name of the function</p>
</dd></dl>
<dl class="attribute">
<dt id="cassandra.UserFunctionDescriptor.type_signature">
<code class="descname">type_signature</code><em class="property"> = None</em><a class="headerlink" href="#cassandra.UserFunctionDescriptor.type_signature" title="Permalink to this definition">¶</a></dt>
<dd><p>Ordered list of CQL argument type names comprising the type signature</p>
</dd></dl>
<dl class="attribute">
<dt id="cassandra.UserFunctionDescriptor.signature">
<code class="descname">signature</code><a class="headerlink" href="#cassandra.UserFunctionDescriptor.signature" title="Permalink to this definition">¶</a></dt>
<dd><p>function signature string in the form ‘name([type0[,type1[...]]])’</p>
<p>can be used to uniquely identify overloaded function names within a keyspace</p>
</dd></dl>
</dd></dl>
<dl class="class">
<dt id="cassandra.UserAggregateDescriptor">
<em class="property">class </em><code class="descclassname">cassandra.</code><code class="descname">UserAggregateDescriptor</code><span class="sig-paren">(</span><em>name</em>, <em>type_signature</em><span class="sig-paren">)</span><a class="reference internal" href="../_modules/cassandra.html#UserAggregateDescriptor"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#cassandra.UserAggregateDescriptor" title="Permalink to this definition">¶</a></dt>
<dd><p>Describes a User aggregate function by name and argument signature</p>
<dl class="attribute">
<dt id="cassandra.UserAggregateDescriptor.name">
<code class="descname">name</code><em class="property"> = None</em><a class="headerlink" href="#cassandra.UserAggregateDescriptor.name" title="Permalink to this definition">¶</a></dt>
<dd><p>name of the aggregate</p>
</dd></dl>
<dl class="attribute">
<dt id="cassandra.UserAggregateDescriptor.type_signature">
<code class="descname">type_signature</code><em class="property"> = None</em><a class="headerlink" href="#cassandra.UserAggregateDescriptor.type_signature" title="Permalink to this definition">¶</a></dt>
<dd><p>Ordered list of CQL argument type names comprising the type signature</p>
</dd></dl>
<dl class="attribute">
<dt id="cassandra.UserAggregateDescriptor.signature">
<code class="descname">signature</code><a class="headerlink" href="#cassandra.UserAggregateDescriptor.signature" title="Permalink to this definition">¶</a></dt>
<dd><p>function signature string in the form ‘name([type0[,type1[...]]])’</p>
<p>can be used to uniquely identify overloaded function names within a keyspace</p>
</dd></dl>
</dd></dl>
<dl class="exception">
<dt id="cassandra.Unavailable">
<em class="property">exception </em><code class="descclassname">cassandra.</code><code class="descname">Unavailable</code><a class="reference internal" href="../_modules/cassandra.html#Unavailable"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#cassandra.Unavailable" title="Permalink to this definition">¶</a></dt>
<dd><p>There were not enough live replicas to satisfy the requested consistency
level, so the coordinator node immediately failed the request without
forwarding it to any replicas.</p>
<dl class="attribute">
<dt id="cassandra.Unavailable.consistency">
<code class="descname">consistency</code><em class="property"> = None</em><a class="headerlink" href="#cassandra.Unavailable.consistency" title="Permalink to this definition">¶</a></dt>
<dd><p>The requested <a class="reference internal" href="#cassandra.ConsistencyLevel" title="cassandra.ConsistencyLevel"><code class="xref py py-class docutils literal"><span class="pre">ConsistencyLevel</span></code></a></p>
</dd></dl>
<dl class="attribute">
<dt id="cassandra.Unavailable.required_replicas">
<code class="descname">required_replicas</code><em class="property"> = None</em><a class="headerlink" href="#cassandra.Unavailable.required_replicas" title="Permalink to this definition">¶</a></dt>
<dd><p>The number of replicas that needed to be live to complete the operation</p>
</dd></dl>
<dl class="attribute">
<dt id="cassandra.Unavailable.alive_replicas">
<code class="descname">alive_replicas</code><em class="property"> = None</em><a class="headerlink" href="#cassandra.Unavailable.alive_replicas" title="Permalink to this definition">¶</a></dt>
<dd><p>The number of replicas that were actually alive</p>
</dd></dl>
</dd></dl>
<dl class="exception">
<dt id="cassandra.Timeout">
<em class="property">exception </em><code class="descclassname">cassandra.</code><code class="descname">Timeout</code><a class="reference internal" href="../_modules/cassandra.html#Timeout"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#cassandra.Timeout" title="Permalink to this definition">¶</a></dt>
<dd><p>Replicas failed to respond to the coordinator node before timing out.</p>
<dl class="attribute">
<dt id="cassandra.Timeout.consistency">
<code class="descname">consistency</code><em class="property"> = None</em><a class="headerlink" href="#cassandra.Timeout.consistency" title="Permalink to this definition">¶</a></dt>
<dd><p>The requested <a class="reference internal" href="#cassandra.ConsistencyLevel" title="cassandra.ConsistencyLevel"><code class="xref py py-class docutils literal"><span class="pre">ConsistencyLevel</span></code></a></p>
</dd></dl>
<dl class="attribute">
<dt id="cassandra.Timeout.required_responses">
<code class="descname">required_responses</code><em class="property"> = None</em><a class="headerlink" href="#cassandra.Timeout.required_responses" title="Permalink to this definition">¶</a></dt>
<dd><p>The number of required replica responses</p>
</dd></dl>
<dl class="attribute">
<dt id="cassandra.Timeout.received_responses">
<code class="descname">received_responses</code><em class="property"> = None</em><a class="headerlink" href="#cassandra.Timeout.received_responses" title="Permalink to this definition">¶</a></dt>
<dd><p>The number of replicas that responded before the coordinator timed out
the operation</p>
</dd></dl>
</dd></dl>
<dl class="exception">
<dt id="cassandra.ReadTimeout">
<em class="property">exception </em><code class="descclassname">cassandra.</code><code class="descname">ReadTimeout</code><a class="reference internal" href="../_modules/cassandra.html#ReadTimeout"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#cassandra.ReadTimeout" title="Permalink to this definition">¶</a></dt>
<dd><p>A subclass of <a class="reference internal" href="#cassandra.Timeout" title="cassandra.Timeout"><code class="xref py py-exc docutils literal"><span class="pre">Timeout</span></code></a> for read operations.</p>
<p>This indicates that the replicas failed to respond to the coordinator
node before the configured timeout. This timeout is configured in
<code class="docutils literal"><span class="pre">cassandra.yaml</span></code> with the <code class="docutils literal"><span class="pre">read_request_timeout_in_ms</span></code>
and <code class="docutils literal"><span class="pre">range_request_timeout_in_ms</span></code> options.</p>
<dl class="attribute">
<dt id="cassandra.ReadTimeout.data_retrieved">
<code class="descname">data_retrieved</code><em class="property"> = None</em><a class="headerlink" href="#cassandra.ReadTimeout.data_retrieved" title="Permalink to this definition">¶</a></dt>
<dd><p>A boolean indicating whether the requested data was retrieved
by the coordinator from any replicas before it timed out the
operation</p>
</dd></dl>
</dd></dl>
<dl class="exception">
<dt id="cassandra.WriteTimeout">
<em class="property">exception </em><code class="descclassname">cassandra.</code><code class="descname">WriteTimeout</code><a class="reference internal" href="../_modules/cassandra.html#WriteTimeout"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#cassandra.WriteTimeout" title="Permalink to this definition">¶</a></dt>
<dd><p>A subclass of <a class="reference internal" href="#cassandra.Timeout" title="cassandra.Timeout"><code class="xref py py-exc docutils literal"><span class="pre">Timeout</span></code></a> for write operations.</p>
<p>This indicates that the replicas failed to respond to the coordinator
node before the configured timeout. This timeout is configured in
<code class="docutils literal"><span class="pre">cassandra.yaml</span></code> with the <code class="docutils literal"><span class="pre">write_request_timeout_in_ms</span></code>
option.</p>
<dl class="attribute">
<dt id="cassandra.WriteTimeout.write_type">
<code class="descname">write_type</code><em class="property"> = None</em><a class="headerlink" href="#cassandra.WriteTimeout.write_type" title="Permalink to this definition">¶</a></dt>
<dd><p>The type of write operation, enum on <a class="reference internal" href="cassandra/policies.html#cassandra.policies.WriteType" title="cassandra.policies.WriteType"><code class="xref py py-class docutils literal"><span class="pre">WriteType</span></code></a></p>
</dd></dl>
</dd></dl>
<dl class="exception">
<dt id="cassandra.ReadFailure">
<em class="property">exception </em><code class="descclassname">cassandra.</code><code class="descname">ReadFailure</code><a class="reference internal" href="../_modules/cassandra.html#ReadFailure"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#cassandra.ReadFailure" title="Permalink to this definition">¶</a></dt>
<dd><p>A subclass of <code class="xref py py-exc docutils literal"><span class="pre">CoordinationFailure</span></code> for read operations.</p>
<p>This indicates that the replicas sent a failure message to the coordinator.</p>
<dl class="attribute">
<dt id="cassandra.ReadFailure.data_retrieved">
<code class="descname">data_retrieved</code><em class="property"> = None</em><a class="headerlink" href="#cassandra.ReadFailure.data_retrieved" title="Permalink to this definition">¶</a></dt>
<dd><p>A boolean indicating whether the requested data was retrieved
by the coordinator from any replicas before it timed out the
operation</p>
</dd></dl>
</dd></dl>
<dl class="exception">
<dt id="cassandra.WriteFailure">
<em class="property">exception </em><code class="descclassname">cassandra.</code><code class="descname">WriteFailure</code><a class="reference internal" href="../_modules/cassandra.html#WriteFailure"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#cassandra.WriteFailure" title="Permalink to this definition">¶</a></dt>
<dd><p>A subclass of <code class="xref py py-exc docutils literal"><span class="pre">CoordinationFailure</span></code> for write operations.</p>
<p>This indicates that the replicas sent a failure message to the coordinator.</p>
<dl class="attribute">
<dt id="cassandra.WriteFailure.write_type">
<code class="descname">write_type</code><em class="property"> = None</em><a class="headerlink" href="#cassandra.WriteFailure.write_type" title="Permalink to this definition">¶</a></dt>
<dd><p>The type of write operation, enum on <a class="reference internal" href="cassandra/policies.html#cassandra.policies.WriteType" title="cassandra.policies.WriteType"><code class="xref py py-class docutils literal"><span class="pre">WriteType</span></code></a></p>
</dd></dl>
</dd></dl>
<dl class="exception">
<dt id="cassandra.FunctionFailure">
<em class="property">exception </em><code class="descclassname">cassandra.</code><code class="descname">FunctionFailure</code><a class="reference internal" href="../_modules/cassandra.html#FunctionFailure"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#cassandra.FunctionFailure" title="Permalink to this definition">¶</a></dt>
<dd><p>User Defined Function failed during execution</p>
<dl class="attribute">
<dt id="cassandra.FunctionFailure.keyspace">
<code class="descname">keyspace</code><em class="property"> = None</em><a class="headerlink" href="#cassandra.FunctionFailure.keyspace" title="Permalink to this definition">¶</a></dt>
<dd><p>Keyspace of the function</p>
</dd></dl>
<dl class="attribute">
<dt id="cassandra.FunctionFailure.function">
<code class="descname">function</code><em class="property"> = None</em><a class="headerlink" href="#cassandra.FunctionFailure.function" title="Permalink to this definition">¶</a></dt>
<dd><p>Name of the function</p>
</dd></dl>
<dl class="attribute">
<dt id="cassandra.FunctionFailure.arg_types">
<code class="descname">arg_types</code><em class="property"> = None</em><a class="headerlink" href="#cassandra.FunctionFailure.arg_types" title="Permalink to this definition">¶</a></dt>
<dd><p>List of argument type names of the function</p>
</dd></dl>
</dd></dl>
<dl class="exception">
<dt id="cassandra.AlreadyExists">
<em class="property">exception </em><code class="descclassname">cassandra.</code><code class="descname">AlreadyExists</code><a class="reference internal" href="../_modules/cassandra.html#AlreadyExists"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#cassandra.AlreadyExists" title="Permalink to this definition">¶</a></dt>
<dd><p>An attempt was made to create a keyspace or table that already exists.</p>
<dl class="attribute">
<dt id="cassandra.AlreadyExists.keyspace">
<code class="descname">keyspace</code><em class="property"> = None</em><a class="headerlink" href="#cassandra.AlreadyExists.keyspace" title="Permalink to this definition">¶</a></dt>
<dd><p>The name of the keyspace that already exists, or, if an attempt was
made to create a new table, the keyspace that the table is in.</p>
</dd></dl>
<dl class="attribute">
<dt id="cassandra.AlreadyExists.table">
<code class="descname">table</code><em class="property"> = None</em><a class="headerlink" href="#cassandra.AlreadyExists.table" title="Permalink to this definition">¶</a></dt>
<dd><p>The name of the table that already exists, or, if an attempt was
make to create a keyspace, <code class="xref py py-const docutils literal"><span class="pre">None</span></code>.</p>
</dd></dl>
</dd></dl>
<dl class="exception">
<dt id="cassandra.InvalidRequest">
<em class="property">exception </em><code class="descclassname">cassandra.</code><code class="descname">InvalidRequest</code><a class="reference internal" href="../_modules/cassandra.html#InvalidRequest"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#cassandra.InvalidRequest" title="Permalink to this definition">¶</a></dt>
<dd><p>A query was made that was invalid for some reason, such as trying to set
the keyspace for a connection to a nonexistent keyspace.</p>
</dd></dl>
<dl class="exception">
<dt id="cassandra.Unauthorized">
<em class="property">exception </em><code class="descclassname">cassandra.</code><code class="descname">Unauthorized</code><a class="reference internal" href="../_modules/cassandra.html#Unauthorized"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#cassandra.Unauthorized" title="Permalink to this definition">¶</a></dt>
<dd><p>The current user is not authorized to perfom the requested operation.</p>
</dd></dl>
<dl class="exception">
<dt id="cassandra.AuthenticationFailed">
<em class="property">exception </em><code class="descclassname">cassandra.</code><code class="descname">AuthenticationFailed</code><a class="reference internal" href="../_modules/cassandra.html#AuthenticationFailed"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#cassandra.AuthenticationFailed" title="Permalink to this definition">¶</a></dt>
<dd><p>Failed to authenticate.</p>
</dd></dl>
<dl class="exception">
<dt id="cassandra.OperationTimedOut">
<em class="property">exception </em><code class="descclassname">cassandra.</code><code class="descname">OperationTimedOut</code><a class="reference internal" href="../_modules/cassandra.html#OperationTimedOut"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#cassandra.OperationTimedOut" title="Permalink to this definition">¶</a></dt>
<dd><p>The operation took longer than the specified (client-side) timeout
to complete. This is not an error generated by Cassandra, only
the driver.</p>
<dl class="attribute">
<dt id="cassandra.OperationTimedOut.errors">
<code class="descname">errors</code><em class="property"> = None</em><a class="headerlink" href="#cassandra.OperationTimedOut.errors" title="Permalink to this definition">¶</a></dt>
<dd><p>A dict of errors keyed by the <a class="reference internal" href="cassandra/pool.html#cassandra.pool.Host" title="cassandra.pool.Host"><code class="xref py py-class docutils literal"><span class="pre">Host</span></code></a> against which they occurred.</p>
</dd></dl>
<dl class="attribute">
<dt id="cassandra.OperationTimedOut.last_host">
<code class="descname">last_host</code><em class="property"> = None</em><a class="headerlink" href="#cassandra.OperationTimedOut.last_host" title="Permalink to this definition">¶</a></dt>
<dd><p>The last <a class="reference internal" href="cassandra/pool.html#cassandra.pool.Host" title="cassandra.pool.Host"><code class="xref py py-class docutils literal"><span class="pre">Host</span></code></a> this operation was attempted against.</p>
</dd></dl>
</dd></dl>
</div>
</div>
</div>
</div>
<div class="clearer"></div>
</div>
<div class="related" role="navigation" aria-label="related navigation">
<h3>Navigation</h3>
<ul>
<li class="right" style="margin-right: 10px">
<a href="../genindex.html" title="General Index"
>index</a></li>
<li class="right" >
<a href="../py-modindex.html" title="Python Module Index"
>modules</a> |</li>
<li class="right" >
<a href="cassandra/cluster.html" title="cassandra.cluster - Clusters and Sessions"
>next</a> |</li>
<li class="right" >
<a href="index.html" title="API Documentation"
>previous</a> |</li>
<li class="nav-item nav-item-0"><a href="../index.html">Cassandra Driver 2.7.1 documentation</a> »</li>
<li class="nav-item nav-item-1"><a href="index.html" >API Documentation</a> »</li>
</ul>
</div>
<div class="footer" role="contentinfo">
© Copyright 2014, DataStax.
Created using <a href="http://sphinx-doc.org/">Sphinx</a> 1.3.1.
</div>
</body>
</html>