pub trait GraphCommands<'a> {
// Provided methods
fn graph_config_get<N, V, R>(
self,
name: impl SingleArg,
) -> PreparedCommand<'a, Self, R>
where Self: Sized,
N: PrimitiveResponse,
V: PrimitiveResponse,
R: KeyValueCollectionResponse<N, V> { ... }
fn graph_config_set(
self,
name: impl SingleArg,
value: impl SingleArg,
) -> PreparedCommand<'a, Self, ()>
where Self: Sized { ... }
fn graph_delete(
self,
graph: impl SingleArg,
) -> PreparedCommand<'a, Self, String>
where Self: Sized { ... }
fn graph_explain<R: PrimitiveResponse + DeserializeOwned, RR: CollectionResponse<R>>(
self,
graph: impl SingleArg,
query: impl SingleArg,
) -> PreparedCommand<'a, Self, RR>
where Self: Sized { ... }
fn graph_list<R: PrimitiveResponse + DeserializeOwned, RR: CollectionResponse<R>>(
self,
) -> PreparedCommand<'a, Self, RR>
where Self: Sized { ... }
fn graph_profile<R: PrimitiveResponse + DeserializeOwned, RR: CollectionResponse<R>>(
self,
graph: impl SingleArg,
query: impl SingleArg,
options: GraphQueryOptions,
) -> PreparedCommand<'a, Self, RR>
where Self: Sized { ... }
fn graph_query(
self,
graph: impl SingleArg,
query: impl SingleArg,
options: GraphQueryOptions,
) -> PreparedCommand<'a, Self, GraphResultSet>
where Self: Sized { ... }
fn graph_ro_query(
self,
graph: impl SingleArg,
query: impl SingleArg,
options: GraphQueryOptions,
) -> PreparedCommand<'a, Self, GraphResultSet>
where Self: Sized { ... }
fn graph_slowlog<R: CollectionResponse<GraphSlowlogResult>>(
self,
graph: impl SingleArg,
) -> PreparedCommand<'a, Self, R>
where Self: Sized { ... }
}
Available on crate feature
redis-graph
only.Expand description
Provided Methods§
Sourcefn graph_config_get<N, V, R>(
self,
name: impl SingleArg,
) -> PreparedCommand<'a, Self, R>
fn graph_config_get<N, V, R>( self, name: impl SingleArg, ) -> PreparedCommand<'a, Self, R>
Sourcefn graph_config_set(
self,
name: impl SingleArg,
value: impl SingleArg,
) -> PreparedCommand<'a, Self, ()>where
Self: Sized,
fn graph_config_set(
self,
name: impl SingleArg,
value: impl SingleArg,
) -> PreparedCommand<'a, Self, ()>where
Self: Sized,
Sourcefn graph_delete(
self,
graph: impl SingleArg,
) -> PreparedCommand<'a, Self, String>where
Self: Sized,
fn graph_delete(
self,
graph: impl SingleArg,
) -> PreparedCommand<'a, Self, String>where
Self: Sized,
Sourcefn graph_explain<R: PrimitiveResponse + DeserializeOwned, RR: CollectionResponse<R>>(
self,
graph: impl SingleArg,
query: impl SingleArg,
) -> PreparedCommand<'a, Self, RR>where
Self: Sized,
fn graph_explain<R: PrimitiveResponse + DeserializeOwned, RR: CollectionResponse<R>>(
self,
graph: impl SingleArg,
query: impl SingleArg,
) -> PreparedCommand<'a, Self, RR>where
Self: Sized,
Sourcefn graph_list<R: PrimitiveResponse + DeserializeOwned, RR: CollectionResponse<R>>(
self,
) -> PreparedCommand<'a, Self, RR>where
Self: Sized,
fn graph_list<R: PrimitiveResponse + DeserializeOwned, RR: CollectionResponse<R>>(
self,
) -> PreparedCommand<'a, Self, RR>where
Self: Sized,
Sourcefn graph_profile<R: PrimitiveResponse + DeserializeOwned, RR: CollectionResponse<R>>(
self,
graph: impl SingleArg,
query: impl SingleArg,
options: GraphQueryOptions,
) -> PreparedCommand<'a, Self, RR>where
Self: Sized,
fn graph_profile<R: PrimitiveResponse + DeserializeOwned, RR: CollectionResponse<R>>(
self,
graph: impl SingleArg,
query: impl SingleArg,
options: GraphQueryOptions,
) -> PreparedCommand<'a, Self, RR>where
Self: Sized,
Executes a query and produces an execution plan augmented with metrics for each operation’s execution.
§Arguments
graph
- graph name.query
- query to profileoptions
- SeeGraphQueryOptions
§Return
String representation of a query execution plan, with details on results produced by and time spent in each operation.
§See Also
Sourcefn graph_query(
self,
graph: impl SingleArg,
query: impl SingleArg,
options: GraphQueryOptions,
) -> PreparedCommand<'a, Self, GraphResultSet>where
Self: Sized,
fn graph_query(
self,
graph: impl SingleArg,
query: impl SingleArg,
options: GraphQueryOptions,
) -> PreparedCommand<'a, Self, GraphResultSet>where
Self: Sized,
Executes the given query against a specified graph.
§Arguments
graph
- graph name.query
- query to executeoptions
- SeeGraphQueryOptions
§Return
returns a result set
§See Also
Sourcefn graph_ro_query(
self,
graph: impl SingleArg,
query: impl SingleArg,
options: GraphQueryOptions,
) -> PreparedCommand<'a, Self, GraphResultSet>where
Self: Sized,
fn graph_ro_query(
self,
graph: impl SingleArg,
query: impl SingleArg,
options: GraphQueryOptions,
) -> PreparedCommand<'a, Self, GraphResultSet>where
Self: Sized,
Executes a given read only query against a specified graph
§Arguments
graph
- graph name.query
- query to executeoptions
- SeeGraphQueryOptions
§Return
returns a result set