| 1 |
``cassandra.datastax.graph`` - Graph Statements, Options, and Row Factories |
| 2 |
=========================================================================== |
| 3 |
|
| 4 |
.. _api-datastax-graph: |
| 5 |
|
| 6 |
.. module:: cassandra.datastax.graph |
| 7 |
|
| 8 |
.. autofunction:: single_object_row_factory |
| 9 |
|
| 10 |
.. autofunction:: graph_result_row_factory |
| 11 |
|
| 12 |
.. autofunction:: graph_object_row_factory |
| 13 |
|
| 14 |
.. autofunction:: graph_graphson2_row_factory |
| 15 |
|
| 16 |
.. autofunction:: graph_graphson3_row_factory |
| 17 |
|
| 18 |
.. function:: to_int(value) |
| 19 |
|
| 20 |
Wraps a value to be explicitly serialized as a graphson Int. |
| 21 |
|
| 22 |
.. function:: to_bigint(value) |
| 23 |
|
| 24 |
Wraps a value to be explicitly serialized as a graphson Bigint. |
| 25 |
|
| 26 |
.. function:: to_smallint(value) |
| 27 |
|
| 28 |
Wraps a value to be explicitly serialized as a graphson Smallint. |
| 29 |
|
| 30 |
.. function:: to_float(value) |
| 31 |
|
| 32 |
Wraps a value to be explicitly serialized as a graphson Float. |
| 33 |
|
| 34 |
.. function:: to_double(value) |
| 35 |
|
| 36 |
Wraps a value to be explicitly serialized as a graphson Double. |
| 37 |
|
| 38 |
.. autoclass:: GraphProtocol |
| 39 |
:members: |
| 40 |
|
| 41 |
.. autoclass:: GraphOptions |
| 42 |
|
| 43 |
.. autoattribute:: graph_name |
| 44 |
|
| 45 |
.. autoattribute:: graph_source |
| 46 |
|
| 47 |
.. autoattribute:: graph_language |
| 48 |
|
| 49 |
.. autoattribute:: graph_read_consistency_level |
| 50 |
|
| 51 |
.. autoattribute:: graph_write_consistency_level |
| 52 |
|
| 53 |
.. autoattribute:: is_default_source |
| 54 |
|
| 55 |
.. autoattribute:: is_analytics_source |
| 56 |
|
| 57 |
.. autoattribute:: is_graph_source |
| 58 |
|
| 59 |
.. automethod:: set_source_default |
| 60 |
|
| 61 |
.. automethod:: set_source_analytics |
| 62 |
|
| 63 |
.. automethod:: set_source_graph |
| 64 |
|
| 65 |
|
| 66 |
.. autoclass:: SimpleGraphStatement |
| 67 |
:members: |
| 68 |
|
| 69 |
.. autoclass:: Result |
| 70 |
:members: |
| 71 |
|
| 72 |
.. autoclass:: Vertex |
| 73 |
:members: |
| 74 |
|
| 75 |
.. autoclass:: VertexProperty |
| 76 |
:members: |
| 77 |
|
| 78 |
.. autoclass:: Edge |
| 79 |
:members: |
| 80 |
|
| 81 |
.. autoclass:: Path |
| 82 |
:members: |
| 83 |
|
| 84 |
.. autoclass:: T |
| 85 |
:members: |
| 86 |
|
| 87 |
.. autoclass:: GraphSON1Serializer |
| 88 |
:members: |
| 89 |
|
| 90 |
.. autoclass:: GraphSON1Deserializer |
| 91 |
|
| 92 |
.. automethod:: deserialize_date |
| 93 |
|
| 94 |
.. automethod:: deserialize_timestamp |
| 95 |
|
| 96 |
.. automethod:: deserialize_time |
| 97 |
|
| 98 |
.. automethod:: deserialize_duration |
| 99 |
|
| 100 |
.. automethod:: deserialize_int |
| 101 |
|
| 102 |
.. automethod:: deserialize_bigint |
| 103 |
|
| 104 |
.. automethod:: deserialize_double |
| 105 |
|
| 106 |
.. automethod:: deserialize_float |
| 107 |
|
| 108 |
.. automethod:: deserialize_uuid |
| 109 |
|
| 110 |
.. automethod:: deserialize_blob |
| 111 |
|
| 112 |
.. automethod:: deserialize_decimal |
| 113 |
|
| 114 |
.. automethod:: deserialize_point |
| 115 |
|
| 116 |
.. automethod:: deserialize_linestring |
| 117 |
|
| 118 |
.. automethod:: deserialize_polygon |
| 119 |
|
| 120 |
.. autoclass:: GraphSON2Reader |
| 121 |
:members: |