pub struct CreateGraphRequestOptions
pub merge_tolerance: String,
pub recreate: String,
pub save_persist: String,
pub add_table_monitor: String,
pub graph_table: String,
pub add_turns: String,
pub is_partitioned: String,
pub server_id: String,
pub use_rtree: String,
pub label_delimiter: String,
pub allow_multiple_edges: String,
pub embedding_table: String,
Optional parameters for the /create/graph endpoint.
Default::default() is the empty set: only options set explicitly are sent, and anything left empty falls back to the server’s own default.
Fields
merge_tolerance: StringIf node geospatial positions are input (e.g., WKTPOINT, X, Y), determines the minimum separation allowed between unique nodes. If nodes are within the tolerance of each other, they will be merged as a single node. Server default: 1.0E-5.
recreate: StringIf set to true and the graph (using graph_name) already exists, the graph is deleted and recreated. Server default: false.
save_persist: StringIf set to true, the graph will be saved in the persist directory (see the config reference for more information). If set to false, the graph will be removed when the graph server is shutdown. Server default: false.
add_table_monitor: StringAdds a table monitor to every table used in the creation of the graph; this table monitor will trigger the graph to update dynamically upon inserts to the source table(s). Note that upon database restart, if save_persist is also set to true, the graph will be fully reconstructed and the table monitors will be reattached. For more details on table monitors, see /create/tablemonitor. Server default: false.
graph_table: StringIf specified, the created graph is also created as a table with the given name, in [schema_name.]table_name format, using standard name resolution rules and meeting table naming criteria. The table will have the following identifier columns: ‘EDGE_ID’, ‘EDGE_NODE1_ID’, ‘EDGE_NODE2_ID’. If left blank, no table is created.
add_turns: StringAdds dummy ‘pillowed’ edges around intersection nodes where there are more than three edges so that additional weight penalties can be imposed by the solve endpoints. (increases the total number of edges). Server default: false.
is_partitioned: StringServer default: false.
server_id: StringIndicates which graph server(s) to send the request to. Default is to send to the server with the most available memory.
use_rtree: StringUse an range tree structure to accelerate and improve the accuracy of snapping, especially to edges. Server default: true.
label_delimiter: StringIf provided the label string will be split according to this delimiter and each sub-string will be applied as a separate label onto the specified edge.
allow_multiple_edges: StringMultigraph choice; allowing multiple edges with the same node pairs if set to true, otherwise, new edges with existing same node pairs will not be inserted. Server default: true.
embedding_table: StringIf table exists (should be generated by the match/graph match_embedding solver), the vector embeddings for the newly inserted nodes will be appended into this table.
Implementations
Trait Implementations
impl Clone for CreateGraphRequestOptions
fn clone(&self) -> CreateGraphRequestOptions
fn clone_from(&mut self, source: &Self)
source. Read more