6 #ifndef TURI_UNITY_GRAPH_INTERFACE_HPP 7 #define TURI_UNITY_GRAPH_INTERFACE_HPP 11 #include <core/data/flexible_type/flexible_type.hpp> 12 #include <model_server/lib/options_map.hpp> 13 #include <model_server/lib/api/unity_sframe_interface.hpp> 14 #include <core/system/cppipc/magic_macros.hpp> 19 #if DOXYGEN_DOCUMENTATION 32 std::vector<std::string> get_fields();
33 std::shared_ptr<unity_sframe_base> get_vertices(
const std::vector<flexible_type>&,
35 std::shared_ptr<unity_sframe_base> get_edges(
const std::vector<flexible_type>&
36 const std::vector<flexible_type>&
38 bool save_graph(std::string)
39 bool load_graph(std::string)
40 std::shared_ptr<unity_sgraph_base> clone()
41 std::shared_ptr<unity_sgraph_base> add_vertices(
dataframe_t&,
const std::string&)
42 std::shared_ptr<unity_sgraph_base> add_vertices(
unity_sframe&,
const std::string&)
43 std::shared_ptr<unity_sgraph_base> add_vertices_from_file(
const std::string&,
const std::string&,
char,
bool)
44 std::shared_ptr<unity_sgraph_base> add_edges_from_file(
const std::string&,
const std::string&,
const std::string&,
char,
bool)
45 std::shared_ptr<unity_sgraph_base> add_edges(
dataframe_t&,
const std::string&,
const std::string&)
46 std::shared_ptr<unity_sgraph_base> select_fields(
const std::vector<std::string>&)
47 std::shared_ptr<unity_sgraph_base> copy_field(std::string, std::string)
48 std::shared_ptr<unity_sgraph_base> delete_field(std::string)
55 (std::vector<std::string>, get_vertex_fields, (
size_t))
56 (std::vector<std::string>, get_edge_fields, (
size_t)(
size_t))
57 (std::vector<flex_type_enum>, get_vertex_field_types, (
size_t))
58 (std::vector<flex_type_enum>, get_edge_field_types, (
size_t)(
size_t))
60 (std::shared_ptr<unity_sframe_base>, get_vertices,
61 (
const std::vector<flexible_type>&)(
const options_map_t&)(
size_t))
62 (std::shared_ptr<unity_sframe_base>, get_edges,
63 (
const std::vector<flexible_type>&)
64 (
const std::vector<flexible_type>&)
67 (
bool, save_graph, (std::string)(std::string))
68 (
bool, load_graph, (std::string))
69 (std::shared_ptr<unity_sgraph_base>, clone, )
70 (std::shared_ptr<unity_sgraph_base>, add_vertices, (std::shared_ptr<unity_sframe_base>)(
const std::string&)(
size_t))
71 (std::shared_ptr<unity_sgraph_base>, add_edges, (std::shared_ptr<unity_sframe_base>)(
const std::string&)(
const std::string&)(
size_t)(
size_t))
73 (std::shared_ptr<unity_sgraph_base>, select_vertex_fields, (
const std::vector<std::string>&)(
size_t))
74 (std::shared_ptr<unity_sgraph_base>, copy_vertex_field, (std::string)(std::string)(
size_t))
75 (std::shared_ptr<unity_sgraph_base>, add_vertex_field, (std::shared_ptr<unity_sarray_base>)(std::string))
76 (std::shared_ptr<unity_sgraph_base>, delete_vertex_field, (std::string)(
size_t))
77 (std::shared_ptr<unity_sgraph_base>, rename_vertex_fields, (
const std::vector<std::string>&)(
const std::vector<std::string>&))
78 (std::shared_ptr<unity_sgraph_base>, swap_vertex_fields, (
const std::string&)(
const std::string&))
80 (std::shared_ptr<unity_sgraph_base>, select_edge_fields, (
const std::vector<std::string>&)(
size_t)(
size_t))
81 (std::shared_ptr<unity_sgraph_base>, add_edge_field, (std::shared_ptr<unity_sarray_base>)(std::string))
82 (std::shared_ptr<unity_sgraph_base>, copy_edge_field, (std::string)(std::string)(
size_t)(
size_t))
83 (std::shared_ptr<unity_sgraph_base>, delete_edge_field, (std::string)(
size_t)(
size_t))
84 (std::shared_ptr<unity_sgraph_base>, rename_edge_fields, (
const std::vector<std::string>&)(
const std::vector<std::string>&))
85 (std::shared_ptr<unity_sgraph_base>, swap_edge_fields, (
const std::string&)(
const std::string&))
87 (std::shared_ptr<unity_sgraph_base>, lambda_triple_apply, (
const std::string&)(
const std::vector<std::string>&))
88 (std::shared_ptr<unity_sgraph_base>, lambda_triple_apply_native, (
const function_closure_info&)(
const std::vector<std::string>&))
92 #endif // TURI_UNITY_GRAPH_INTERFACE_HPP
std::map< std::string, flexible_type > options_map_t
#define GENERATE_INTERFACE_AND_PROXY(base_name, proxy_name, functions)