Struct gremlin_client::process::traversal::TraversalBuilder [−][src]
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]
T: Into<GIDs>,
pub fn has_label<L>(self, labels: L) -> Self where
L: Into<Labels>, [src]
L: Into<Labels>,
pub fn add_v<A>(self, label: A) -> Self where
A: Into<Labels>, [src]
A: Into<Labels>,
pub fn property<K, A>(self, key: K, value: A) -> Self where
K: Into<GValue>,
A: Into<GValue>, [src]
K: Into<GValue>,
A: Into<GValue>,
pub fn property_many<A>(self, values: Vec<(String, A)>) -> Self where
A: Into<GValue>, [src]
A: Into<GValue>,
pub fn property_with_cardinality<A>(
self,
cardinality: Cardinality,
key: &str,
value: A
) -> Self where
A: Into<GValue>, [src]
self,
cardinality: Cardinality,
key: &str,
value: A
) -> Self where
A: Into<GValue>,
pub fn has<A>(self, step: A) -> Self where
A: Into<HasStep>, [src]
A: Into<HasStep>,
pub fn has_many<A>(self, steps: Vec<A>) -> Self where
A: Into<HasStep>, [src]
A: Into<HasStep>,
pub fn has_not<A>(self, key: A) -> Self where
A: Into<String>, [src]
A: Into<String>,
pub fn as_<A>(self, alias: A) -> Self where
A: Into<String>, [src]
A: Into<String>,
pub fn add_e<A>(self, label: A) -> Self where
A: Into<String>, [src]
A: Into<String>,
pub fn out<A>(self, labels: A) -> Self where
A: Into<Labels>, [src]
A: Into<Labels>,
pub fn out_e<A>(self, labels: A) -> Self where
A: Into<Labels>, [src]
A: Into<Labels>,
pub fn out_v(self) -> Self[src]
pub fn in_<A>(self, labels: A) -> Self where
A: Into<Labels>, [src]
A: Into<Labels>,
pub fn in_e<A>(self, labels: A) -> Self where
A: Into<Labels>, [src]
A: Into<Labels>,
pub fn in_v(self) -> Self[src]
pub fn both<A>(self, labels: A) -> Self where
A: Into<Labels>, [src]
A: Into<Labels>,
pub fn both_e<A>(self, labels: A) -> Self where
A: Into<Labels>, [src]
A: Into<Labels>,
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]
A: Into<FromStep>,
pub fn to<A>(self, step: A) -> Self where
A: Into<ToStep>, [src]
A: Into<ToStep>,
pub fn properties<L>(self, labels: L) -> Self where
L: Into<Labels>, [src]
L: Into<Labels>,
pub fn property_map<L>(self, labels: L) -> Self where
L: Into<Labels>, [src]
L: Into<Labels>,
pub fn values<L>(self, labels: L) -> Self where
L: Into<Labels>, [src]
L: Into<Labels>,
pub fn value_map<L>(self, labels: L) -> Self where
L: Into<Labels>, [src]
L: Into<Labels>,
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]
A: Into<ByStep>,
pub fn select<A>(self, step: A) -> Self where
A: Into<SelectStep>, [src]
A: Into<SelectStep>,
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]
A: Into<LimitStep>,
pub fn dedup<A>(self, limit: A) -> Self where
A: Into<DedupStep>, [src]
A: Into<DedupStep>,
pub fn sum<A>(self, scope: A) -> Self where
A: Into<Scope>, [src]
A: Into<Scope>,
pub fn max<A>(self, scope: A) -> Self where
A: Into<Scope>, [src]
A: Into<Scope>,
pub fn mean<A>(self, scope: A) -> Self where
A: Into<Scope>, [src]
A: Into<Scope>,
pub fn min<A>(self, scope: A) -> Self where
A: Into<Scope>, [src]
A: Into<Scope>,
pub fn is<A>(self, val: A) -> Self where
A: IntoPredicate, [src]
A: IntoPredicate,
pub fn where_<A>(self, step: A) -> Self where
A: Into<WhereStep>, [src]
A: Into<WhereStep>,
pub fn not<A>(self, step: A) -> Self where
A: Into<NotStep>, [src]
A: Into<NotStep>,
pub fn order<A>(self, scope: A) -> Self where
A: Into<Scope>, [src]
A: Into<Scope>,
pub fn match_<A>(self, step: A) -> Self where
A: Into<MatchStep>, [src]
A: Into<MatchStep>,
pub fn drop(self) -> Self[src]
pub fn or<A>(self, step: A) -> Self where
A: Into<OrStep>, [src]
A: Into<OrStep>,
pub fn project<A>(self, step: A) -> Self where
A: Into<SelectStep>, [src]
A: Into<SelectStep>,
pub fn map<A>(self, step: A) -> Self where
A: Into<ByStep>, [src]
A: Into<ByStep>,
pub fn repeat<A>(self, step: A) -> Self where
A: Into<RepeatStep>, [src]
A: Into<RepeatStep>,
pub fn until<A>(self, step: A) -> Self where
A: Into<UntilStep>, [src]
A: Into<UntilStep>,
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]
A: Into<LoopsStep>,
pub fn local<A>(self, step: A) -> Self where
A: Into<LocalStep>, [src]
A: Into<LocalStep>,
pub fn aggregate<A>(self, alias: A) -> Self where
A: Into<String>, [src]
A: Into<String>,
pub fn value(self) -> Self[src]
pub fn choose<A>(self, step: A) -> Self where
A: IntoChooseStep, [src]
A: IntoChooseStep,
pub fn coalesce<A>(self, coalesce: A) -> Self where
A: Into<CoalesceStep>, [src]
A: Into<CoalesceStep>,
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]
A: Into<GValue>,
pub fn emit(self) -> Self[src]
Trait Implementations
impl Clone for TraversalBuilder[src]
fn clone(&self) -> TraversalBuilder[src]
pub fn clone_from(&mut self, source: &Self)1.0.0[src]
impl Default for TraversalBuilder[src]
impl From<TraversalBuilder> for ByStep[src]
fn from(param: TraversalBuilder) -> Self[src]
impl From<TraversalBuilder> for CoalesceStep[src]
fn from(param: TraversalBuilder) -> Self[src]
impl From<TraversalBuilder> for UntilStep[src]
fn from(param: TraversalBuilder) -> Self[src]
impl From<TraversalBuilder> for WhereStep[src]
fn from(param: TraversalBuilder) -> WhereStep[src]
impl From<TraversalBuilder> for FromStep[src]
fn from(param: TraversalBuilder) -> Self[src]
impl From<TraversalBuilder> for LocalStep[src]
fn from(param: TraversalBuilder) -> LocalStep[src]
impl From<TraversalBuilder> for MatchStep[src]
fn from(param: TraversalBuilder) -> MatchStep[src]
impl From<TraversalBuilder> for NotStep[src]
fn from(param: TraversalBuilder) -> Self[src]
impl From<TraversalBuilder> for OrStep[src]
fn from(param: TraversalBuilder) -> Self[src]
impl From<TraversalBuilder> for RepeatStep[src]
fn from(param: TraversalBuilder) -> RepeatStep[src]
impl From<TraversalBuilder> for SelectStep[src]
fn from(param: TraversalBuilder) -> SelectStep[src]
impl From<TraversalBuilder> for ToStep[src]
fn from(param: TraversalBuilder) -> Self[src]
impl IntoChooseStep for TraversalBuilder[src]
Auto Trait Implementations
impl RefUnwindSafe for TraversalBuilder
impl Send for TraversalBuilder
impl Sync for TraversalBuilder
impl Unpin for TraversalBuilder
impl UnwindSafe for TraversalBuilder
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized, [src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized, [src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T[src]
impl<T> From<T> for T[src]
impl<T, U> Into<U> for T where
U: From<T>, [src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone, [src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T[src]
pub fn clone_into(&self, target: &mut T)[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>, [src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>, [src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>[src]
impl<T> Typeable for T where
T: Any,
T: Any,