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
|
``cassandra.graph`` - Graph Statements, Options, and Row Factories
==================================================================
.. note:: This module is only for backward compatibility for dse-driver users. Consider using :ref:`cassandra.datastax.graph <api-datastax-graph>`.
.. module:: cassandra.graph
.. autofunction:: single_object_row_factory
.. autofunction:: graph_result_row_factory
.. autofunction:: graph_object_row_factory
.. autofunction:: graph_graphson2_row_factory
.. autofunction:: graph_graphson3_row_factory
.. function:: to_int(value)
Wraps a value to be explicitly serialized as a graphson Int.
.. function:: to_bigint(value)
Wraps a value to be explicitly serialized as a graphson Bigint.
.. function:: to_smallint(value)
Wraps a value to be explicitly serialized as a graphson Smallint.
.. function:: to_float(value)
Wraps a value to be explicitly serialized as a graphson Float.
.. function:: to_double(value)
Wraps a value to be explicitly serialized as a graphson Double.
.. autoclass:: GraphProtocol
:members:
.. autoclass:: GraphOptions
.. autoattribute:: graph_name
.. autoattribute:: graph_source
.. autoattribute:: graph_language
.. autoattribute:: graph_read_consistency_level
.. autoattribute:: graph_write_consistency_level
.. autoattribute:: is_default_source
.. autoattribute:: is_analytics_source
.. autoattribute:: is_graph_source
.. automethod:: set_source_default
.. automethod:: set_source_analytics
.. automethod:: set_source_graph
.. autoclass:: SimpleGraphStatement
:members:
.. autoclass:: Result
:members:
.. autoclass:: Vertex
:members:
.. autoclass:: VertexProperty
:members:
.. autoclass:: Edge
:members:
.. autoclass:: Path
:members:
.. autoclass:: GraphSON1Serializer
:members:
.. autoclass:: GraphSON1Deserializer
.. automethod:: deserialize_date
.. automethod:: deserialize_timestamp
.. automethod:: deserialize_time
.. automethod:: deserialize_duration
.. automethod:: deserialize_int
.. automethod:: deserialize_bigint
.. automethod:: deserialize_double
.. automethod:: deserialize_float
.. automethod:: deserialize_uuid
.. automethod:: deserialize_blob
.. automethod:: deserialize_decimal
.. automethod:: deserialize_point
.. automethod:: deserialize_linestring
.. automethod:: deserialize_polygon
.. autoclass:: GraphSON2Reader
:members:
.. autoclass:: GraphSON3Reader
:members:
|