[−][src]Trait hson::Query
Required methods
fn query(&mut self, q: &str) -> Result<Vec<u64>, Error>
fn query_nodes(&mut self, q: &str) -> Result<Vec<&Node>, Error>
fn query_on(
&mut self,
node_id: u64,
q: &str,
recursive: bool
) -> Result<Vec<u64>, Error>
&mut self,
node_id: u64,
q: &str,
recursive: bool
) -> Result<Vec<u64>, Error>
fn query_on_nodes(
&mut self,
node: &Node,
q: &str,
recursive: bool
) -> Result<Vec<&Node>, Error>
&mut self,
node: &Node,
q: &str,
recursive: bool
) -> Result<Vec<&Node>, Error>
Implementors
impl Query for Hson
[src]
fn query(&mut self, q: &str) -> Result<Vec<u64>, Error>
[src]
Public method to query the data
fn query_nodes(&mut self, q: &str) -> Result<Vec<&Node>, Error>
[src]
Same as query
but return nodes structures instead of their ids
fn query_on(
&mut self,
node_id: u64,
q: &str,
recursive: bool
) -> Result<Vec<u64>, Error>
[src]
&mut self,
node_id: u64,
q: &str,
recursive: bool
) -> Result<Vec<u64>, Error>
Same as query
but constrain the search in the provided node's childs only
fn query_on_nodes(
&mut self,
node: &Node,
q: &str,
recursive: bool
) -> Result<Vec<&Node>, Error>
[src]
&mut self,
node: &Node,
q: &str,
recursive: bool
) -> Result<Vec<&Node>, Error>
Same as query_on
but return nodes structures instead of their ids