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

pub struct TraversalBuilder { /* fields omitted */ }

Implementations

impl TraversalBuilder[src]

pub fn new(bytecode: Bytecode) -> Self[src]

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

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

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

pub fn add_v<A>(self, label: A) -> Self where
    A: Into<Labels>, 
[src]

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

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

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

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

pub fn has_many<A>(self, steps: Vec<A>) -> Self where
    A: Into<HasStep>, 
[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) -> Self where
    A: Into<String>, 
[src]

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

pub fn group_count(self, key: Option<String>) -> Self[src]

pub fn group(self, key: Option<String>) -> Self[src]

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

pub fn until<A>(self, step: A) -> Self where
    A: Into<UntilStep>, 
[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: Into<LocalStep>, 
[src]

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

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

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

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

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

pub fn range(self, step: i64, step2: i64) -> Self[src]

pub fn cap(self, step: &'static str) -> Self[src]

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

pub fn optional(self, step: TraversalBuilder) -> Self[src]

pub fn constant<A>(self, value: A) -> Self where
    A: Into<GValue>, 
[src]

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

Trait Implementations

impl Clone for TraversalBuilder[src]

impl Default for TraversalBuilder[src]

impl From<TraversalBuilder> for ByStep[src]

impl From<TraversalBuilder> for CoalesceStep[src]

impl From<TraversalBuilder> for UntilStep[src]

impl From<TraversalBuilder> for WhereStep[src]

impl From<TraversalBuilder> for FromStep[src]

impl From<TraversalBuilder> for LocalStep[src]

impl From<TraversalBuilder> for MatchStep[src]

impl From<TraversalBuilder> for NotStep[src]

impl From<TraversalBuilder> for OrStep[src]

impl From<TraversalBuilder> for RepeatStep[src]

impl From<TraversalBuilder> for SelectStep[src]

impl From<TraversalBuilder> for ToStep[src]

impl IntoChooseStep for TraversalBuilder[src]

Auto Trait Implementations

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