[−][src]Struct gremlin_client::process::traversal::GraphTraversal
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]
L: Into<Labels>,
pub fn add_v<A>(self, label: A) -> GraphTraversal<Vertex, Vertex, T> where
A: Into<Labels>,
T: Terminator<Vertex>, [src]
A: Into<Labels>,
T: Terminator<Vertex>,
pub fn property<A>(self, key: &str, value: A) -> Self where
A: Into<GValue>, [src]
A: Into<GValue>,
pub fn property_many<A>(self, values: Vec<(String, A)>) -> Self where
A: Into<GValue>, [src]
A: Into<GValue>,
pub fn has<A>(self, step: A) -> Self where
A: IntoHasStep, [src]
A: IntoHasStep,
pub fn has_many<A>(self, steps: Vec<A>) -> Self where
A: IntoHasStep, [src]
A: IntoHasStep,
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) -> GraphTraversal<S, Edge, T> where
A: Into<String>,
T: Terminator<Edge>, [src]
A: Into<String>,
T: Terminator<Edge>,
pub fn out<A>(self, labels: A) -> GraphTraversal<S, Vertex, T> where
A: Into<Labels>,
T: Terminator<Vertex>, [src]
A: Into<Labels>,
T: Terminator<Vertex>,
pub fn out_e<A>(self, labels: A) -> GraphTraversal<S, Edge, T> where
A: Into<Labels>,
T: Terminator<Edge>, [src]
A: Into<Labels>,
T: Terminator<Edge>,
pub fn out_v(self) -> GraphTraversal<S, Vertex, T> where
T: Terminator<Vertex>, [src]
T: Terminator<Vertex>,
pub fn in_<A>(self, labels: A) -> GraphTraversal<S, Vertex, T> where
A: Into<Labels>,
T: Terminator<Vertex>, [src]
A: Into<Labels>,
T: Terminator<Vertex>,
pub fn in_e<A>(self, labels: A) -> GraphTraversal<S, Edge, T> where
A: Into<Labels>,
T: Terminator<Edge>, [src]
A: Into<Labels>,
T: Terminator<Edge>,
pub fn in_v(self) -> GraphTraversal<S, Vertex, T> where
T: Terminator<Vertex>, [src]
T: Terminator<Vertex>,
pub fn label(self) -> GraphTraversal<S, String, T> where
T: Terminator<String>, [src]
T: Terminator<String>,
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]
A: IntoFromStep,
pub fn to<A>(self, target: A) -> Self where
A: IntoToStep, [src]
A: IntoToStep,
pub fn properties<L>(self, labels: L) -> GraphTraversal<S, GProperty, T> where
L: Into<Labels>,
T: Terminator<GProperty>, [src]
L: Into<Labels>,
T: Terminator<GProperty>,
pub fn property_map<L>(self, labels: L) -> GraphTraversal<S, Map, T> where
L: Into<Labels>,
T: Terminator<Map>, [src]
L: Into<Labels>,
T: Terminator<Map>,
pub fn values<L>(self, labels: L) -> GraphTraversal<S, GValue, T> where
L: Into<Labels>,
T: Terminator<GValue>, [src]
L: Into<Labels>,
T: Terminator<GValue>,
pub fn value_map<L>(self, labels: L) -> GraphTraversal<S, Map, T> where
L: Into<Labels>,
T: Terminator<Map>, [src]
L: Into<Labels>,
T: Terminator<Map>,
pub fn count(self) -> GraphTraversal<S, i64, T> where
T: Terminator<i64>, [src]
T: Terminator<i64>,
pub fn group_count(self) -> GraphTraversal<S, Map, T> where
T: Terminator<Map>, [src]
T: Terminator<Map>,
pub fn group_count_as<A>(self, key: A) -> GraphTraversal<S, E, T> where
T: Terminator<Map>,
A: Into<String>, [src]
T: Terminator<Map>,
A: Into<String>,
pub fn group(self) -> GraphTraversal<S, Map, T> where
T: Terminator<Map>, [src]
T: Terminator<Map>,
pub fn group_as<A>(self, key: A) -> GraphTraversal<S, E, T> where
T: Terminator<Map>,
A: Into<String>, [src]
T: Terminator<Map>,
A: Into<String>,
pub fn by<A>(self, step: A) -> Self where
A: IntoByStep, [src]
A: IntoByStep,
pub fn select<A>(self, step: A) -> GraphTraversal<S, GValue, T> where
A: IntoSelectStep,
T: Terminator<GValue>, [src]
A: IntoSelectStep,
T: Terminator<GValue>,
pub fn fold(self) -> GraphTraversal<S, List, T> where
T: Terminator<List>, [src]
T: Terminator<List>,
pub fn unfold(self) -> Self[src]
pub fn path(self) -> GraphTraversal<S, Path, T> where
T: Terminator<Path>, [src]
T: Terminator<Path>,
pub fn limit<A>(self, limit: A) -> Self where
A: Into<LimitStep>, [src]
A: Into<LimitStep>,
pub fn dedup<A>(self, dedup: A) -> Self where
A: Into<DedupStep>, [src]
A: Into<DedupStep>,
pub fn sum<A>(self, scope: A) -> GraphTraversal<S, GValue, T> where
A: Into<Scope>,
T: Terminator<GValue>, [src]
A: Into<Scope>,
T: Terminator<GValue>,
pub fn max<A>(self, scope: A) -> GraphTraversal<S, GValue, T> where
A: Into<Scope>,
T: Terminator<GValue>, [src]
A: Into<Scope>,
T: Terminator<GValue>,
pub fn mean<A>(self, scope: A) -> GraphTraversal<S, GValue, T> where
A: Into<Scope>,
T: Terminator<GValue>, [src]
A: Into<Scope>,
T: Terminator<GValue>,
pub fn min<A>(self, scope: A) -> GraphTraversal<S, GValue, T> where
A: Into<Scope>,
T: Terminator<GValue>, [src]
A: Into<Scope>,
T: Terminator<GValue>,
pub fn is<A>(self, val: A) -> Self where
A: IntoPredicate, [src]
A: IntoPredicate,
pub fn where_<A>(self, step: A) -> Self where
A: IntoWhereStep, [src]
A: IntoWhereStep,
pub fn not<A>(self, step: A) -> Self where
A: IntoNotStep, [src]
A: IntoNotStep,
pub fn order<A>(self, scope: A) -> Self where
A: Into<Scope>, [src]
A: Into<Scope>,
pub fn match_<A>(self, step: A) -> GraphTraversal<S, Map, T> where
A: IntoMatchStep,
T: Terminator<Map>, [src]
A: IntoMatchStep,
T: Terminator<Map>,
pub fn drop(self) -> Self[src]
pub fn or<A>(self, step: A) -> Self where
A: IntoOrStep, [src]
A: IntoOrStep,
pub fn map<A>(self, step: A) -> Self where
A: IntoByStep, [src]
A: IntoByStep,
pub fn project<A>(self, step: A) -> GraphTraversal<S, GValue, T> where
A: IntoSelectStep,
T: Terminator<GValue>, [src]
A: IntoSelectStep,
T: Terminator<GValue>,
pub fn v<VT>(self, ids: VT) -> Self where
VT: Into<GIDs>, [src]
VT: Into<GIDs>,
pub fn repeat<A>(self, step: A) -> Self where
A: IntoRepeatStep, [src]
A: IntoRepeatStep,
pub fn until<A>(self, step: A) -> Self where
A: IntoUntilStep, [src]
A: IntoUntilStep,
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: IntoLocalStep, [src]
A: IntoLocalStep,
Trait Implementations
impl<S: Clone, E: Clone + FromGValue, T: Clone + Terminator<E>> Clone for GraphTraversal<S, E, T>[src]
fn clone(&self) -> GraphTraversal<S, E, T>[src]
fn clone_from(&mut self, source: &Self)1.0.0[src]
Auto Trait Implementations
impl<S, E, T> RefUnwindSafe for GraphTraversal<S, E, T> where
E: RefUnwindSafe,
S: RefUnwindSafe,
T: RefUnwindSafe,
E: RefUnwindSafe,
S: RefUnwindSafe,
T: RefUnwindSafe,
impl<S, E, T> Send for GraphTraversal<S, E, T> where
E: Send,
S: Send,
T: Send,
E: Send,
S: Send,
T: Send,
impl<S, E, T> Sync for GraphTraversal<S, E, T> where
E: Sync,
S: Sync,
T: Sync,
E: Sync,
S: Sync,
T: Sync,
impl<S, E, T> Unpin for GraphTraversal<S, E, T> where
E: Unpin,
S: Unpin,
T: Unpin,
E: Unpin,
S: Unpin,
T: Unpin,
impl<S, E, T> UnwindSafe for GraphTraversal<S, E, T> where
E: UnwindSafe,
S: UnwindSafe,
T: UnwindSafe,
E: UnwindSafe,
S: UnwindSafe,
T: UnwindSafe,
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,
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.
fn to_owned(&self) -> T[src]
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.
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.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>[src]
impl<T> Typeable for T where
T: Any,
T: Any,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,