[][src]Struct gremlin_client::process::traversal::GraphTraversal

pub struct GraphTraversal<S, E: FromGValue, T: Terminator<E>> { /* fields omitted */ }

Methods

impl<S, E: FromGValue, T: Terminator<E>> GraphTraversal<S, E, T>[src]

pub fn new(terminator: T, builder: TraversalBuilder) -> GraphTraversal<S, E, T>[src]

pub fn bytecode(&self) -> &Bytecode[src]

pub fn has_label<L>(self, labels: L) -> Self where
    L: Into<Labels>, 
[src]

pub fn add_v<A>(self, label: A) -> GraphTraversal<Vertex, Vertex, T> where
    A: Into<Labels>,
    T: Terminator<Vertex>, 
[src]

pub fn property<A>(self, key: &str, value: A) -> Self where
    A: Into<GValue>, 
[src]

pub fn property_many<A>(self, values: Vec<(String, A)>) -> Self where
    A: Into<GValue>, 
[src]

pub fn has<A>(self, step: A) -> Self where
    A: IntoHasStep
[src]

pub fn has_many<A>(self, steps: Vec<A>) -> Self where
    A: IntoHasStep
[src]

pub fn has_not<A>(self, key: A) -> Self where
    A: Into<String>, 
[src]

pub fn as_<A>(self, alias: A) -> Self where
    A: Into<String>, 
[src]

pub fn add_e<A>(self, label: A) -> GraphTraversal<S, Edge, T> where
    A: Into<String>,
    T: Terminator<Edge>, 
[src]

pub fn out<A>(self, labels: A) -> GraphTraversal<S, Vertex, T> where
    A: Into<Labels>,
    T: Terminator<Vertex>, 
[src]

pub fn out_e<A>(self, labels: A) -> GraphTraversal<S, Edge, T> where
    A: Into<Labels>,
    T: Terminator<Edge>, 
[src]

pub fn out_v(self) -> GraphTraversal<S, Vertex, T> where
    T: Terminator<Vertex>, 
[src]

pub fn in_<A>(self, labels: A) -> GraphTraversal<S, Vertex, T> where
    A: Into<Labels>,
    T: Terminator<Vertex>, 
[src]

pub fn in_e<A>(self, labels: A) -> GraphTraversal<S, Edge, T> where
    A: Into<Labels>,
    T: Terminator<Edge>, 
[src]

pub fn in_v(self) -> GraphTraversal<S, Vertex, T> where
    T: Terminator<Vertex>, 
[src]

pub fn label(self) -> GraphTraversal<S, String, T> where
    T: Terminator<String>, 
[src]

pub fn to_list(&self) -> T::List[src]

pub fn next(&self) -> T::Next[src]

pub fn has_next(&self) -> T::HasNext[src]

pub fn iter(&self) -> T::Iter[src]

pub fn from<A>(self, target: A) -> Self where
    A: IntoFromStep
[src]

pub fn to<A>(self, target: A) -> Self where
    A: IntoToStep
[src]

pub fn properties<L>(self, labels: L) -> GraphTraversal<S, GProperty, T> where
    L: Into<Labels>,
    T: Terminator<GProperty>, 
[src]

pub fn property_map<L>(self, labels: L) -> GraphTraversal<S, Map, T> where
    L: Into<Labels>,
    T: Terminator<Map>, 
[src]

pub fn values<L>(self, labels: L) -> GraphTraversal<S, GValue, T> where
    L: Into<Labels>,
    T: Terminator<GValue>, 
[src]

pub fn value_map<L>(self, labels: L) -> GraphTraversal<S, Map, T> where
    L: Into<Labels>,
    T: Terminator<Map>, 
[src]

pub fn count(self) -> GraphTraversal<S, i64, T> where
    T: Terminator<i64>, 
[src]

pub fn group_count(self) -> GraphTraversal<S, Map, T> where
    T: Terminator<Map>, 
[src]

pub fn group_count_as<A>(self, key: A) -> GraphTraversal<S, E, T> where
    T: Terminator<Map>,
    A: Into<String>, 
[src]

pub fn group(self) -> GraphTraversal<S, Map, T> where
    T: Terminator<Map>, 
[src]

pub fn group_as<A>(self, key: A) -> GraphTraversal<S, E, T> where
    T: Terminator<Map>,
    A: Into<String>, 
[src]

pub fn by<A>(self, step: A) -> Self where
    A: IntoByStep
[src]

pub fn select<A>(self, step: A) -> GraphTraversal<S, GValue, T> where
    A: IntoSelectStep,
    T: Terminator<GValue>, 
[src]

pub fn fold(self) -> GraphTraversal<S, List, T> where
    T: Terminator<List>, 
[src]

pub fn unfold(self) -> Self[src]

pub fn path(self) -> GraphTraversal<S, Path, T> where
    T: Terminator<Path>, 
[src]

pub fn limit<A>(self, limit: A) -> Self where
    A: Into<LimitStep>, 
[src]

pub fn dedup<A>(self, dedup: A) -> Self where
    A: Into<DedupStep>, 
[src]

pub fn sum<A>(self, scope: A) -> GraphTraversal<S, GValue, T> where
    A: Into<Scope>,
    T: Terminator<GValue>, 
[src]

pub fn max<A>(self, scope: A) -> GraphTraversal<S, GValue, T> where
    A: Into<Scope>,
    T: Terminator<GValue>, 
[src]

pub fn mean<A>(self, scope: A) -> GraphTraversal<S, GValue, T> where
    A: Into<Scope>,
    T: Terminator<GValue>, 
[src]

pub fn min<A>(self, scope: A) -> GraphTraversal<S, GValue, T> where
    A: Into<Scope>,
    T: Terminator<GValue>, 
[src]

pub fn is<A>(self, val: A) -> Self where
    A: IntoPredicate
[src]

pub fn where_<A>(self, step: A) -> Self where
    A: IntoWhereStep
[src]

pub fn not<A>(self, step: A) -> Self where
    A: IntoNotStep
[src]

pub fn order<A>(self, scope: A) -> Self where
    A: Into<Scope>, 
[src]

pub fn match_<A>(self, step: A) -> GraphTraversal<S, Map, T> where
    A: IntoMatchStep,
    T: Terminator<Map>, 
[src]

pub fn drop(self) -> Self[src]

pub fn or<A>(self, step: A) -> Self where
    A: IntoOrStep
[src]

pub fn map<A>(self, step: A) -> Self where
    A: IntoByStep
[src]

pub fn project<A>(self, step: A) -> GraphTraversal<S, GValue, T> where
    A: IntoSelectStep,
    T: Terminator<GValue>, 
[src]

pub fn v<VT>(self, ids: VT) -> Self where
    VT: Into<GIDs>, 
[src]

pub fn repeat<A>(self, step: A) -> Self where
    A: IntoRepeatStep
[src]

pub fn until<A>(self, step: A) -> Self where
    A: IntoUntilStep
[src]

pub fn simple_path(self) -> Self[src]

pub fn sample(self, step: i32) -> Self[src]

pub fn loops<A>(self, step: A) -> Self where
    A: Into<LoopsStep>, 
[src]

pub fn local<A>(self, step: A) -> Self where
    A: IntoLocalStep
[src]

Trait Implementations

impl<S: Clone, E: Clone + FromGValue, T: Clone + Terminator<E>> Clone for GraphTraversal<S, E, T>[src]

Auto Trait Implementations

impl<S, E, T> RefUnwindSafe for GraphTraversal<S, E, T> where
    E: RefUnwindSafe,
    S: RefUnwindSafe,
    T: RefUnwindSafe

impl<S, E, T> Send for GraphTraversal<S, E, T> where
    E: Send,
    S: Send,
    T: Send

impl<S, E, T> Sync for GraphTraversal<S, E, T> where
    E: Sync,
    S: Sync,
    T: Sync

impl<S, E, T> Unpin for GraphTraversal<S, E, T> where
    E: Unpin,
    S: Unpin,
    T: Unpin

impl<S, E, T> UnwindSafe for GraphTraversal<S, E, T> where
    E: UnwindSafe,
    S: UnwindSafe,
    T: UnwindSafe

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Typeable for T where
    T: Any

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,