struct DseGraphObject
Graph object builder for constructing a collection of member pairs.
Functions
DseGraphObject *
dse_graph_object_new
( )Creates a new instance of graph object.
Frees a graph object instance.
Reset a graph object. This function must be called after previously finishing an object (DseGraphObject::dse_graph_object_finish
). This can be used to resuse an instance of DseGraphObject
to create multiple objects.
Finish a graph object. This function must be called before adding an object to another object, array or binding to a statement.
Add null to an object with the specified name.
CassError
dse_graph_object_add_null_n
(DseGraphObject *
object, const char *
name, size_t
name_length )
Same as DseGraphObject::dse_graph_object_add_null
, but with lengths for string parameters.
CassError
dse_graph_object_add_bool
(DseGraphObject *
object, const char *
name, cass_bool_t
value )
Add boolean to an object with the specified name.
CassError
dse_graph_object_add_bool_n
(DseGraphObject *
object, const char *
name, size_t
name_length, cass_bool_t
value )
Same as DseGraphObject::dse_graph_object_add_bool
, but with lengths for string parameters.
CassError
dse_graph_object_add_int32
(DseGraphObject *
object, const char *
name, cass_int32_t
value )
Add integer (32-bit) to an object with the specified name.
CassError
dse_graph_object_add_int32_n
(DseGraphObject *
object, const char *
name, size_t
name_length, cass_int32_t
value )
Same as DseGraphObject::dse_graph_object_add_int32
, but with lengths for string parameters.
CassError
dse_graph_object_add_int64
(DseGraphObject *
object, const char *
name, cass_int64_t
value )
Add integer (64-bit) to an object with the specified name.
CassError
dse_graph_object_add_int64_n
(DseGraphObject *
object, const char *
name, size_t
name_length, cass_int64_t
value )
Same as DseGraphObject::dse_graph_object_add_int64
, but with lengths for string parameters.
CassError
dse_graph_object_add_double
(DseGraphObject *
object, const char *
name, cass_double_t
value )
Add double to an object with the specified name.
CassError
dse_graph_object_add_double_n
(DseGraphObject *
object, const char *
name, size_t
name_length, cass_double_t
value )
Same as DseGraphObject::dse_graph_object_add_double
, but with lengths for string parameters.
CassError
dse_graph_object_add_string
(DseGraphObject *
object, const char *
name, const char *
value )
Add string to an object with the specified name.
CassError
dse_graph_object_add_string_n
(DseGraphObject *
object, const char *
name, size_t
name_length, const char *
value, size_t
value_length )
Same as DseGraphObject::dse_graph_object_add_string
, but with lengths for string parameters.
CassError
dse_graph_object_add_object
(DseGraphObject *
object, const char *
name, const DseGraphObject *
value )
Add object to an object with the specified name.
CassError
dse_graph_object_add_object_n
(DseGraphObject *
object, const char *
name, size_t
name_length, const DseGraphObject *
value )
Same as DseGraphObject::dse_graph_object_add_object
, but with lengths for string parameters.
CassError
dse_graph_object_add_array
(DseGraphObject *
object, const char *
name, const DseGraphArray *
value )
Add array to an object with the specified name.
CassError
dse_graph_object_add_array_n
(DseGraphObject *
object, const char *
name, size_t
name_length, const DseGraphArray *
value )
Same as DseGraphObject::dse_graph_object_add_array
, but with lengths for string parameters.
CassError
dse_graph_object_add_point
(DseGraphObject *
object, const char *
name, cass_double_t
x, cass_double_t
y )
Add point geometric type to an object with the specified name.
CassError
dse_graph_object_add_point_n
(DseGraphObject *
object, const char *
name, size_t
name_length, cass_double_t
x, cass_double_t
y )
Same as DseGraphObject::dse_graph_object_add_point
, but with lengths for string parameters.
CassError
dse_graph_object_add_line_string
(DseGraphObject *
object, const char *
name, const DseLineString *
value )
Add line string geometric type to an object with the specified name.
CassError
dse_graph_object_add_line_string_n
(DseGraphObject *
object, const char *
name, size_t
name_length, const DseLineString *
value )
Same as DseGraphObject::dse_graph_object_add_line_string
, but with lengths for string parameters.
CassError
dse_graph_object_add_polygon
(DseGraphObject *
object, const char *
name, const DsePolygon *
value )
Add polygon geometric type to an object with the specified name.
CassError
dse_graph_object_add_polygon_n
(DseGraphObject *
object, const char *
name, size_t
name_length, const DsePolygon *
value )
Same as DseGraphObject::dse_graph_object_add_polygon
, but with lengths for string parameters.