Class GraphTraversal<S, E>
Graph traversals are the primary way in which graphs are processed.
Inheritance
System.Object
GraphTraversal<S, E>
Implements
System.Collections.Generic.IEnumerator
System.Collections.Generic.IEnumerator<E>
System.IDisposable
System.Collections.IEnumerator
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ToString()
System.Object.ReferenceEquals(System.Object, System.Object)
Assembly: cs.temp.dll.dll
Syntax
public class GraphTraversal<S, E> : DefaultTraversal<S, E>, ITraversal<S, E>, ITraversal, IEnumerator, IEnumerator<E>, IDisposable, IEnumerator
Type Parameters
Constructors
GraphTraversal()
Declaration
GraphTraversal(ICollection<ITraversalStrategy>, Bytecode)
Declaration
public GraphTraversal(ICollection<ITraversalStrategy> traversalStrategies, Bytecode bytecode)
Parameters
Type |
Name |
Description |
System.Collections.Generic.ICollection<ITraversalStrategy> |
traversalStrategies |
The traversal strategies to be used by this graph traversal at evaluation time.
|
Bytecode |
bytecode |
The Bytecode associated with the construction of this graph traversal.
|
Methods
AddE(ITraversal)
Declaration
public GraphTraversal<S, Edge> AddE(ITraversal edgeLabelTraversal)
Parameters
Type |
Name |
Description |
ITraversal |
edgeLabelTraversal |
|
Returns
AddE(String)
Declaration
public GraphTraversal<S, Edge> AddE(string edgeLabel)
Parameters
Type |
Name |
Description |
System.String |
edgeLabel |
|
Returns
AddV()
Declaration
public GraphTraversal<S, Vertex> AddV()
Returns
AddV(ITraversal)
Declaration
public GraphTraversal<S, Vertex> AddV(ITraversal vertexLabelTraversal)
Parameters
Type |
Name |
Description |
ITraversal |
vertexLabelTraversal |
|
Returns
AddV(String)
Declaration
public GraphTraversal<S, Vertex> AddV(string vertexLabel)
Parameters
Type |
Name |
Description |
System.String |
vertexLabel |
|
Returns
Aggregate(String)
Declaration
public GraphTraversal<S, E> Aggregate(string sideEffectKey)
Parameters
Type |
Name |
Description |
System.String |
sideEffectKey |
|
Returns
And(ITraversal[])
Declaration
public GraphTraversal<S, E> And(params ITraversal[] andTraversals)
Parameters
Returns
As(String, String[])
Declaration
public GraphTraversal<S, E> As(string stepLabel, params string[] stepLabels)
Parameters
Type |
Name |
Description |
System.String |
stepLabel |
|
System.String[] |
stepLabels |
|
Returns
Barrier()
Declaration
public GraphTraversal<S, E> Barrier()
Returns
Barrier(IConsumer)
Declaration
public GraphTraversal<S, E> Barrier(IConsumer barrierConsumer)
Parameters
Type |
Name |
Description |
IConsumer |
barrierConsumer |
|
Returns
Barrier(Int32)
Declaration
public GraphTraversal<S, E> Barrier(int maxBarrierSize)
Parameters
Type |
Name |
Description |
System.Int32 |
maxBarrierSize |
|
Returns
Both(String[])
Declaration
public GraphTraversal<S, Vertex> Both(params string[] edgeLabels)
Parameters
Type |
Name |
Description |
System.String[] |
edgeLabels |
|
Returns
BothE(String[])
Declaration
public GraphTraversal<S, Edge> BothE(params string[] edgeLabels)
Parameters
Type |
Name |
Description |
System.String[] |
edgeLabels |
|
Returns
BothV()
Declaration
public GraphTraversal<S, Vertex> BothV()
Returns
Branch<E2>(IFunction)
Declaration
public GraphTraversal<S, E2> Branch<E2>(IFunction function)
Parameters
Returns
Type Parameters
Branch<E2>(ITraversal)
Declaration
public GraphTraversal<S, E2> Branch<E2>(ITraversal branchTraversal)
Parameters
Returns
Type Parameters
By()
Declaration
public GraphTraversal<S, E> By()
Returns
By(IComparator)
Declaration
public GraphTraversal<S, E> By(IComparator comparator)
Parameters
Returns
By(IFunction)
Declaration
public GraphTraversal<S, E> By(IFunction function)
Parameters
Returns
By(IFunction, IComparator)
Declaration
public GraphTraversal<S, E> By(IFunction function, IComparator comparator)
Parameters
Returns
By(ITraversal)
Declaration
public GraphTraversal<S, E> By(ITraversal traversal)
Parameters
Returns
By(ITraversal, IComparator)
Declaration
public GraphTraversal<S, E> By(ITraversal traversal, IComparator comparator)
Parameters
Returns
By(Order)
Declaration
public GraphTraversal<S, E> By(Order order)
Parameters
Type |
Name |
Description |
Order |
order |
|
Returns
By(T)
Declaration
public GraphTraversal<S, E> By(T token)
Parameters
Type |
Name |
Description |
T |
token |
|
Returns
By(String)
Declaration
public GraphTraversal<S, E> By(string key)
Parameters
Type |
Name |
Description |
System.String |
key |
|
Returns
By(String, IComparator)
Declaration
public GraphTraversal<S, E> By(string key, IComparator comparator)
Parameters
Type |
Name |
Description |
System.String |
key |
|
IComparator |
comparator |
|
Returns
Cap<E2>(String, String[])
Declaration
public GraphTraversal<S, E2> Cap<E2>(string sideEffectKey, params string[] sideEffectKeys)
Parameters
Type |
Name |
Description |
System.String |
sideEffectKey |
|
System.String[] |
sideEffectKeys |
|
Returns
Type Parameters
Choose<E2>(IFunction)
Declaration
public GraphTraversal<S, E2> Choose<E2>(IFunction choiceFunction)
Parameters
Type |
Name |
Description |
IFunction |
choiceFunction |
|
Returns
Type Parameters
Choose<E2>(IPredicate, ITraversal)
Declaration
public GraphTraversal<S, E2> Choose<E2>(IPredicate choosePredicate, ITraversal trueChoice)
Parameters
Returns
Type Parameters
Choose<E2>(IPredicate, ITraversal, ITraversal)
Declaration
public GraphTraversal<S, E2> Choose<E2>(IPredicate choosePredicate, ITraversal trueChoice, ITraversal falseChoice)
Parameters
Returns
Type Parameters
Choose<E2>(ITraversal)
Declaration
public GraphTraversal<S, E2> Choose<E2>(ITraversal choiceTraversal)
Parameters
Returns
Type Parameters
Choose<E2>(ITraversal, ITraversal)
Declaration
public GraphTraversal<S, E2> Choose<E2>(ITraversal traversalPredicate, ITraversal trueChoice)
Parameters
Returns
Type Parameters
Choose<E2>(ITraversal, ITraversal, ITraversal)
Declaration
public GraphTraversal<S, E2> Choose<E2>(ITraversal traversalPredicate, ITraversal trueChoice, ITraversal falseChoice)
Parameters
Returns
Type Parameters
Coalesce<E2>(ITraversal[])
Declaration
public GraphTraversal<S, E2> Coalesce<E2>(params ITraversal[] coalesceTraversals)
Parameters
Type |
Name |
Description |
ITraversal[] |
coalesceTraversals |
|
Returns
Type Parameters
Coin(Double)
Declaration
public GraphTraversal<S, E> Coin(double probability)
Parameters
Type |
Name |
Description |
System.Double |
probability |
|
Returns
ConnectedComponent()
Declaration
public GraphTraversal<S, E> ConnectedComponent()
Returns
Constant<E2>(E2)
Declaration
public GraphTraversal<S, E2> Constant<E2>(E2 e)
Parameters
Type |
Name |
Description |
E2 |
e |
|
Returns
Type Parameters
Count()
Declaration
public GraphTraversal<S, long> Count()
Returns
Count(Scope)
Declaration
public GraphTraversal<S, long> Count(Scope scope)
Parameters
Type |
Name |
Description |
Scope |
scope |
|
Returns
CyclicPath()
Declaration
public GraphTraversal<S, E> CyclicPath()
Returns
Dedup(Scope, String[])
Declaration
public GraphTraversal<S, E> Dedup(Scope scope, params string[] dedupLabels)
Parameters
Type |
Name |
Description |
Scope |
scope |
|
System.String[] |
dedupLabels |
|
Returns
Dedup(String[])
Declaration
public GraphTraversal<S, E> Dedup(params string[] dedupLabels)
Parameters
Type |
Name |
Description |
System.String[] |
dedupLabels |
|
Returns
Drop()
Declaration
public GraphTraversal<S, E> Drop()
Returns
Emit()
Declaration
public GraphTraversal<S, E> Emit()
Returns
Emit(IPredicate)
Declaration
public GraphTraversal<S, E> Emit(IPredicate emitPredicate)
Parameters
Returns
Emit(ITraversal)
Declaration
public GraphTraversal<S, E> Emit(ITraversal emitTraversal)
Parameters
Returns
Filter(IPredicate)
Declaration
public GraphTraversal<S, E> Filter(IPredicate predicate)
Parameters
Returns
Filter(ITraversal)
Declaration
public GraphTraversal<S, E> Filter(ITraversal filterTraversal)
Parameters
Returns
FlatMap<E2>(IFunction)
Declaration
public GraphTraversal<S, E2> FlatMap<E2>(IFunction function)
Parameters
Returns
Type Parameters
FlatMap<E2>(ITraversal)
Declaration
public GraphTraversal<S, E2> FlatMap<E2>(ITraversal flatMapTraversal)
Parameters
Returns
Type Parameters
Fold()
Declaration
public GraphTraversal<S, IList<E>> Fold()
Returns
Type |
Description |
GraphTraversal<S, System.Collections.Generic.IList<E>> |
|
Fold<E2>(E2, IBiFunction)
Declaration
public GraphTraversal<S, E2> Fold<E2>(E2 seed, IBiFunction foldFunction)
Parameters
Returns
Type Parameters
From(ITraversal)
Declaration
public GraphTraversal<S, E> From(ITraversal fromVertex)
Parameters
Returns
From(String)
Declaration
public GraphTraversal<S, E> From(string fromStepLabel)
Parameters
Type |
Name |
Description |
System.String |
fromStepLabel |
|
Returns
From(Vertex)
Declaration
public GraphTraversal<S, E> From(Vertex fromVertex)
Parameters
Type |
Name |
Description |
Vertex |
fromVertex |
|
Returns
Group(String)
Declaration
public GraphTraversal<S, E> Group(string sideEffectKey)
Parameters
Type |
Name |
Description |
System.String |
sideEffectKey |
|
Returns
Group<K, V>()
Declaration
public GraphTraversal<S, IDictionary<K, V>> Group<K, V>()
Returns
Type |
Description |
GraphTraversal<S, System.Collections.Generic.IDictionary<K, V>> |
|
Type Parameters
GroupCount(String)
Declaration
public GraphTraversal<S, E> GroupCount(string sideEffectKey)
Parameters
Type |
Name |
Description |
System.String |
sideEffectKey |
|
Returns
GroupCount<K>()
Declaration
public GraphTraversal<S, IDictionary<K, long>> GroupCount<K>()
Returns
Type |
Description |
GraphTraversal<S, System.Collections.Generic.IDictionary<K, System.Int64>> |
|
Type Parameters
Has(T, ITraversal)
Declaration
public GraphTraversal<S, E> Has(T accessor, ITraversal propertyTraversal)
Parameters
Type |
Name |
Description |
T |
accessor |
|
ITraversal |
propertyTraversal |
|
Returns
Has(T, P)
Declaration
public GraphTraversal<S, E> Has(T accessor, P predicate)
Parameters
Type |
Name |
Description |
T |
accessor |
|
P |
predicate |
|
Returns
Has(T, Object)
Declaration
public GraphTraversal<S, E> Has(T accessor, object value)
Parameters
Type |
Name |
Description |
T |
accessor |
|
System.Object |
value |
|
Returns
Has(String)
Declaration
public GraphTraversal<S, E> Has(string propertyKey)
Parameters
Type |
Name |
Description |
System.String |
propertyKey |
|
Returns
Has(String, ITraversal)
Declaration
public GraphTraversal<S, E> Has(string propertyKey, ITraversal propertyTraversal)
Parameters
Type |
Name |
Description |
System.String |
propertyKey |
|
ITraversal |
propertyTraversal |
|
Returns
Has(String, P)
Declaration
public GraphTraversal<S, E> Has(string propertyKey, P predicate)
Parameters
Type |
Name |
Description |
System.String |
propertyKey |
|
P |
predicate |
|
Returns
Has(String, Object)
Declaration
public GraphTraversal<S, E> Has(string propertyKey, object value)
Parameters
Type |
Name |
Description |
System.String |
propertyKey |
|
System.Object |
value |
|
Returns
Has(String, String, P)
Declaration
public GraphTraversal<S, E> Has(string label, string propertyKey, P predicate)
Parameters
Type |
Name |
Description |
System.String |
label |
|
System.String |
propertyKey |
|
P |
predicate |
|
Returns
Has(String, String, Object)
Declaration
public GraphTraversal<S, E> Has(string label, string propertyKey, object value)
Parameters
Type |
Name |
Description |
System.String |
label |
|
System.String |
propertyKey |
|
System.Object |
value |
|
Returns
HasId(P)
Declaration
public GraphTraversal<S, E> HasId(P predicate)
Parameters
Type |
Name |
Description |
P |
predicate |
|
Returns
HasId(Object, Object[])
Declaration
public GraphTraversal<S, E> HasId(object id, params object[] otherIds)
Parameters
Type |
Name |
Description |
System.Object |
id |
|
System.Object[] |
otherIds |
|
Returns
HasKey(P)
Declaration
public GraphTraversal<S, E> HasKey(P predicate)
Parameters
Type |
Name |
Description |
P |
predicate |
|
Returns
HasKey(String, String[])
Declaration
public GraphTraversal<S, E> HasKey(string label, params string[] otherLabels)
Parameters
Type |
Name |
Description |
System.String |
label |
|
System.String[] |
otherLabels |
|
Returns
HasLabel(P)
Declaration
public GraphTraversal<S, E> HasLabel(P predicate)
Parameters
Type |
Name |
Description |
P |
predicate |
|
Returns
HasLabel(String, String[])
Declaration
public GraphTraversal<S, E> HasLabel(string label, params string[] otherLabels)
Parameters
Type |
Name |
Description |
System.String |
label |
|
System.String[] |
otherLabels |
|
Returns
HasNot(String)
Declaration
public GraphTraversal<S, E> HasNot(string propertyKey)
Parameters
Type |
Name |
Description |
System.String |
propertyKey |
|
Returns
HasValue(P)
Declaration
public GraphTraversal<S, E> HasValue(P predicate)
Parameters
Type |
Name |
Description |
P |
predicate |
|
Returns
HasValue(Object, Object[])
Declaration
public GraphTraversal<S, E> HasValue(object value, params object[] otherValues)
Parameters
Type |
Name |
Description |
System.Object |
value |
|
System.Object[] |
otherValues |
|
Returns
Id()
Declaration
public GraphTraversal<S, object> Id()
Returns
Identity()
Declaration
public GraphTraversal<S, E> Identity()
Returns
In(String[])
Declaration
public GraphTraversal<S, Vertex> In(params string[] edgeLabels)
Parameters
Type |
Name |
Description |
System.String[] |
edgeLabels |
|
Returns
Index<E2>()
Declaration
public GraphTraversal<S, E2> Index<E2>()
Returns
Type Parameters
InE(String[])
Declaration
public GraphTraversal<S, Edge> InE(params string[] edgeLabels)
Parameters
Type |
Name |
Description |
System.String[] |
edgeLabels |
|
Returns
Inject(E[])
Declaration
public GraphTraversal<S, E> Inject(params E[] injections)
Parameters
Type |
Name |
Description |
E[] |
injections |
|
Returns
InV()
Declaration
public GraphTraversal<S, Vertex> InV()
Returns
Is(P)
Declaration
public GraphTraversal<S, E> Is(P predicate)
Parameters
Type |
Name |
Description |
P |
predicate |
|
Returns
Is(Object)
Declaration
public GraphTraversal<S, E> Is(object value)
Parameters
Type |
Name |
Description |
System.Object |
value |
|
Returns
Key()
Declaration
public GraphTraversal<S, string> Key()
Returns
Label()
Declaration
public GraphTraversal<S, string> Label()
Returns
Limit<E2>(Scope, Int64)
Declaration
public GraphTraversal<S, E2> Limit<E2>(Scope scope, long limit)
Parameters
Type |
Name |
Description |
Scope |
scope |
|
System.Int64 |
limit |
|
Returns
Type Parameters
Limit<E2>(Int64)
Declaration
public GraphTraversal<S, E2> Limit<E2>(long limit)
Parameters
Type |
Name |
Description |
System.Int64 |
limit |
|
Returns
Type Parameters
Local<E2>(ITraversal)
Declaration
public GraphTraversal<S, E2> Local<E2>(ITraversal localTraversal)
Parameters
Returns
Type Parameters
Loops()
Declaration
public GraphTraversal<S, int> Loops()
Returns
Loops(String)
Declaration
public GraphTraversal<S, int> Loops(string loopName)
Parameters
Type |
Name |
Description |
System.String |
loopName |
|
Returns
Map<E2>(IFunction)
Declaration
public GraphTraversal<S, E2> Map<E2>(IFunction function)
Parameters
Returns
Type Parameters
Map<E2>(ITraversal)
Declaration
public GraphTraversal<S, E2> Map<E2>(ITraversal mapTraversal)
Parameters
Returns
Type Parameters
Match<E2>(ITraversal[])
Declaration
public GraphTraversal<S, IDictionary<string, E2>> Match<E2>(params ITraversal[] matchTraversals)
Parameters
Type |
Name |
Description |
ITraversal[] |
matchTraversals |
|
Returns
Type |
Description |
GraphTraversal<S, System.Collections.Generic.IDictionary<System.String, E2>> |
|
Type Parameters
Math(String)
Declaration
public GraphTraversal<S, double> Math(string expression)
Parameters
Type |
Name |
Description |
System.String |
expression |
|
Returns
Max<E2>()
Declaration
public GraphTraversal<S, E2> Max<E2>()
Returns
Type Parameters
Max<E2>(Scope)
Declaration
public GraphTraversal<S, E2> Max<E2>(Scope scope)
Parameters
Type |
Name |
Description |
Scope |
scope |
|
Returns
Type Parameters
Mean<E2>()
Declaration
public GraphTraversal<S, E2> Mean<E2>()
Returns
Type Parameters
Mean<E2>(Scope)
Declaration
public GraphTraversal<S, E2> Mean<E2>(Scope scope)
Parameters
Type |
Name |
Description |
Scope |
scope |
|
Returns
Type Parameters
Min<E2>()
Declaration
public GraphTraversal<S, E2> Min<E2>()
Returns
Type Parameters
Min<E2>(Scope)
Declaration
public GraphTraversal<S, E2> Min<E2>(Scope scope)
Parameters
Type |
Name |
Description |
Scope |
scope |
|
Returns
Type Parameters
Not(ITraversal)
Declaration
public GraphTraversal<S, E> Not(ITraversal notTraversal)
Parameters
Returns
Option(ITraversal)
Declaration
public GraphTraversal<S, E> Option(ITraversal traversalOption)
Parameters
Returns
Option(Object, ITraversal)
Declaration
public GraphTraversal<S, E> Option(object pickToken, ITraversal traversalOption)
Parameters
Type |
Name |
Description |
System.Object |
pickToken |
|
ITraversal |
traversalOption |
|
Returns
Optional<E2>(ITraversal)
Declaration
public GraphTraversal<S, E2> Optional<E2>(ITraversal optionalTraversal)
Parameters
Type |
Name |
Description |
ITraversal |
optionalTraversal |
|
Returns
Type Parameters
Or(ITraversal[])
Declaration
public GraphTraversal<S, E> Or(params ITraversal[] orTraversals)
Parameters
Returns
Order()
Declaration
public GraphTraversal<S, E> Order()
Returns
Order(Scope)
Declaration
public GraphTraversal<S, E> Order(Scope scope)
Parameters
Type |
Name |
Description |
Scope |
scope |
|
Returns
OtherV()
Declaration
public GraphTraversal<S, Vertex> OtherV()
Returns
Out(String[])
Declaration
public GraphTraversal<S, Vertex> Out(params string[] edgeLabels)
Parameters
Type |
Name |
Description |
System.String[] |
edgeLabels |
|
Returns
OutE(String[])
Declaration
public GraphTraversal<S, Edge> OutE(params string[] edgeLabels)
Parameters
Type |
Name |
Description |
System.String[] |
edgeLabels |
|
Returns
OutV()
Declaration
public GraphTraversal<S, Vertex> OutV()
Returns
Declaration
public GraphTraversal<S, E> PageRank()
Returns
Declaration
public GraphTraversal<S, E> PageRank(double alpha)
Parameters
Type |
Name |
Description |
System.Double |
alpha |
|
Returns
Path()
Declaration
public GraphTraversal<S, Path> Path()
Returns
PeerPressure()
Declaration
public GraphTraversal<S, E> PeerPressure()
Returns
Profile(String)
Declaration
public GraphTraversal<S, E> Profile(string sideEffectKey)
Parameters
Type |
Name |
Description |
System.String |
sideEffectKey |
|
Returns
Profile<E2>()
Declaration
public GraphTraversal<S, E2> Profile<E2>()
Returns
Type Parameters
Program(Object)
Declaration
public GraphTraversal<S, E> Program(object vertexProgram)
Parameters
Type |
Name |
Description |
System.Object |
vertexProgram |
|
Returns
Project<E2>(String, String[])
Declaration
public GraphTraversal<S, IDictionary<string, E2>> Project<E2>(string projectKey, params string[] otherProjectKeys)
Parameters
Type |
Name |
Description |
System.String |
projectKey |
|
System.String[] |
otherProjectKeys |
|
Returns
Type |
Description |
GraphTraversal<S, System.Collections.Generic.IDictionary<System.String, E2>> |
|
Type Parameters
Properties<E2>(String[])
Declaration
public GraphTraversal<S, E2> Properties<E2>(params string[] propertyKeys)
Parameters
Type |
Name |
Description |
System.String[] |
propertyKeys |
|
Returns
Type Parameters
Property(Cardinality, Object, Object, Object[])
Declaration
public GraphTraversal<S, E> Property(Cardinality cardinality, object key, object value, params object[] keyValues)
Parameters
Type |
Name |
Description |
Cardinality |
cardinality |
|
System.Object |
key |
|
System.Object |
value |
|
System.Object[] |
keyValues |
|
Returns
Property(Object, Object, Object[])
Declaration
public GraphTraversal<S, E> Property(object key, object value, params object[] keyValues)
Parameters
Type |
Name |
Description |
System.Object |
key |
|
System.Object |
value |
|
System.Object[] |
keyValues |
|
Returns
PropertyMap<E2>(String[])
Declaration
public GraphTraversal<S, IDictionary<string, E2>> PropertyMap<E2>(params string[] propertyKeys)
Parameters
Type |
Name |
Description |
System.String[] |
propertyKeys |
|
Returns
Type |
Description |
GraphTraversal<S, System.Collections.Generic.IDictionary<System.String, E2>> |
|
Type Parameters
Range<E2>(Scope, Int64, Int64)
Declaration
public GraphTraversal<S, E2> Range<E2>(Scope scope, long low, long high)
Parameters
Type |
Name |
Description |
Scope |
scope |
|
System.Int64 |
low |
|
System.Int64 |
high |
|
Returns
Type Parameters
Range<E2>(Int64, Int64)
Declaration
public GraphTraversal<S, E2> Range<E2>(long low, long high)
Parameters
Type |
Name |
Description |
System.Int64 |
low |
|
System.Int64 |
high |
|
Returns
Type Parameters
Read()
Declaration
public GraphTraversal<S, E> Read()
Returns
Repeat(ITraversal)
Declaration
public GraphTraversal<S, E> Repeat(ITraversal repeatTraversal)
Parameters
Returns
Repeat(String, ITraversal)
Declaration
public GraphTraversal<S, E> Repeat(string loopName, ITraversal repeatTraversal)
Parameters
Type |
Name |
Description |
System.String |
loopName |
|
ITraversal |
repeatTraversal |
|
Returns
Sack(IBiFunction)
Declaration
public GraphTraversal<S, E> Sack(IBiFunction sackOperator)
Parameters
Returns
Sack<E2>()
Declaration
public GraphTraversal<S, E2> Sack<E2>()
Returns
Type Parameters
Sample(Scope, Int32)
Declaration
public GraphTraversal<S, E> Sample(Scope scope, int amountToSample)
Parameters
Type |
Name |
Description |
Scope |
scope |
|
System.Int32 |
amountToSample |
|
Returns
Sample(Int32)
Declaration
public GraphTraversal<S, E> Sample(int amountToSample)
Parameters
Type |
Name |
Description |
System.Int32 |
amountToSample |
|
Returns
Select<E2>(Column)
Declaration
public GraphTraversal<S, ICollection<E2>> Select<E2>(Column column)
Parameters
Type |
Name |
Description |
Column |
column |
|
Returns
Type |
Description |
GraphTraversal<S, System.Collections.Generic.ICollection<E2>> |
|
Type Parameters
Select<E2>(ITraversal)
Declaration
public GraphTraversal<S, E2> Select<E2>(ITraversal keyTraversal)
Parameters
Returns
Type Parameters
Select<E2>(Pop, ITraversal)
Declaration
public GraphTraversal<S, E2> Select<E2>(Pop pop, ITraversal keyTraversal)
Parameters
Returns
Type Parameters
Select<E2>(Pop, String)
Declaration
public GraphTraversal<S, E2> Select<E2>(Pop pop, string selectKey)
Parameters
Type |
Name |
Description |
Pop |
pop |
|
System.String |
selectKey |
|
Returns
Type Parameters
Select<E2>(Pop, String, String, String[])
Declaration
public GraphTraversal<S, IDictionary<string, E2>> Select<E2>(Pop pop, string selectKey1, string selectKey2, params string[] otherSelectKeys)
Parameters
Type |
Name |
Description |
Pop |
pop |
|
System.String |
selectKey1 |
|
System.String |
selectKey2 |
|
System.String[] |
otherSelectKeys |
|
Returns
Type |
Description |
GraphTraversal<S, System.Collections.Generic.IDictionary<System.String, E2>> |
|
Type Parameters
Select<E2>(String)
Declaration
public GraphTraversal<S, E2> Select<E2>(string selectKey)
Parameters
Type |
Name |
Description |
System.String |
selectKey |
|
Returns
Type Parameters
Select<E2>(String, String, String[])
Declaration
public GraphTraversal<S, IDictionary<string, E2>> Select<E2>(string selectKey1, string selectKey2, params string[] otherSelectKeys)
Parameters
Type |
Name |
Description |
System.String |
selectKey1 |
|
System.String |
selectKey2 |
|
System.String[] |
otherSelectKeys |
|
Returns
Type |
Description |
GraphTraversal<S, System.Collections.Generic.IDictionary<System.String, E2>> |
|
Type Parameters
ShortestPath()
Declaration
public GraphTraversal<S, Path> ShortestPath()
Returns
SideEffect(IConsumer)
Declaration
public GraphTraversal<S, E> SideEffect(IConsumer consumer)
Parameters
Returns
SideEffect(ITraversal)
Declaration
public GraphTraversal<S, E> SideEffect(ITraversal sideEffectTraversal)
Parameters
Type |
Name |
Description |
ITraversal |
sideEffectTraversal |
|
Returns
SimplePath()
Declaration
public GraphTraversal<S, E> SimplePath()
Returns
Skip<E2>(Scope, Int64)
Declaration
public GraphTraversal<S, E2> Skip<E2>(Scope scope, long skip)
Parameters
Type |
Name |
Description |
Scope |
scope |
|
System.Int64 |
skip |
|
Returns
Type Parameters
Skip<E2>(Int64)
Declaration
public GraphTraversal<S, E2> Skip<E2>(long skip)
Parameters
Type |
Name |
Description |
System.Int64 |
skip |
|
Returns
Type Parameters
Store(String)
Declaration
public GraphTraversal<S, E> Store(string sideEffectKey)
Parameters
Type |
Name |
Description |
System.String |
sideEffectKey |
|
Returns
Subgraph(String)
Declaration
public GraphTraversal<S, Edge> Subgraph(string sideEffectKey)
Parameters
Type |
Name |
Description |
System.String |
sideEffectKey |
|
Returns
Sum<E2>()
Declaration
public GraphTraversal<S, E2> Sum<E2>()
Returns
Type Parameters
Sum<E2>(Scope)
Declaration
public GraphTraversal<S, E2> Sum<E2>(Scope scope)
Parameters
Type |
Name |
Description |
Scope |
scope |
|
Returns
Type Parameters
Tail<E2>()
Declaration
public GraphTraversal<S, E2> Tail<E2>()
Returns
Type Parameters
Tail<E2>(Scope)
Declaration
public GraphTraversal<S, E2> Tail<E2>(Scope scope)
Parameters
Type |
Name |
Description |
Scope |
scope |
|
Returns
Type Parameters
Tail<E2>(Scope, Int64)
Declaration
public GraphTraversal<S, E2> Tail<E2>(Scope scope, long limit)
Parameters
Type |
Name |
Description |
Scope |
scope |
|
System.Int64 |
limit |
|
Returns
Type Parameters
Tail<E2>(Int64)
Declaration
public GraphTraversal<S, E2> Tail<E2>(long limit)
Parameters
Type |
Name |
Description |
System.Int64 |
limit |
|
Returns
Type Parameters
TimeLimit(Int64)
Declaration
public GraphTraversal<S, E> TimeLimit(long timeLimit)
Parameters
Type |
Name |
Description |
System.Int64 |
timeLimit |
|
Returns
Times(Int32)
Declaration
public GraphTraversal<S, E> Times(int maxLoops)
Parameters
Type |
Name |
Description |
System.Int32 |
maxLoops |
|
Returns
To(Direction, String[])
Declaration
public GraphTraversal<S, Vertex> To(Direction direction, params string[] edgeLabels)
Parameters
Type |
Name |
Description |
Direction |
direction |
|
System.String[] |
edgeLabels |
|
Returns
To(ITraversal)
Declaration
public GraphTraversal<S, E> To(ITraversal toVertex)
Parameters
Returns
To(String)
Declaration
public GraphTraversal<S, E> To(string toStepLabel)
Parameters
Type |
Name |
Description |
System.String |
toStepLabel |
|
Returns
To(Vertex)
Declaration
public GraphTraversal<S, E> To(Vertex toVertex)
Parameters
Type |
Name |
Description |
Vertex |
toVertex |
|
Returns
ToE(Direction, String[])
Declaration
public GraphTraversal<S, Edge> ToE(Direction direction, params string[] edgeLabels)
Parameters
Type |
Name |
Description |
Direction |
direction |
|
System.String[] |
edgeLabels |
|
Returns
ToV(Direction)
Declaration
public GraphTraversal<S, Vertex> ToV(Direction direction)
Parameters
Returns
Tree(String)
Declaration
public GraphTraversal<S, E> Tree(string sideEffectKey)
Parameters
Type |
Name |
Description |
System.String |
sideEffectKey |
|
Returns
Tree<E2>()
Declaration
public GraphTraversal<S, E2> Tree<E2>()
Returns
Type Parameters
Unfold<E2>()
Declaration
public GraphTraversal<S, E2> Unfold<E2>()
Returns
Type Parameters
Union<E2>(ITraversal[])
Declaration
public GraphTraversal<S, E2> Union<E2>(params ITraversal[] unionTraversals)
Parameters
Type |
Name |
Description |
ITraversal[] |
unionTraversals |
|
Returns
Type Parameters
Until(IPredicate)
Declaration
public GraphTraversal<S, E> Until(IPredicate untilPredicate)
Parameters
Returns
Until(ITraversal)
Declaration
public GraphTraversal<S, E> Until(ITraversal untilTraversal)
Parameters
Returns
V(Object[])
Declaration
public GraphTraversal<S, Vertex> V(params object[] vertexIdsOrElements)
Parameters
Type |
Name |
Description |
System.Object[] |
vertexIdsOrElements |
|
Returns
Value<E2>()
Declaration
public GraphTraversal<S, E2> Value<E2>()
Returns
Type Parameters
ValueMap<TKey, TValue>(Boolean, String[])
Declaration
public GraphTraversal<S, IDictionary<TKey, TValue>> ValueMap<TKey, TValue>(bool includeTokens, params string[] propertyKeys)
Parameters
Type |
Name |
Description |
System.Boolean |
includeTokens |
|
System.String[] |
propertyKeys |
|
Returns
Type |
Description |
GraphTraversal<S, System.Collections.Generic.IDictionary<TKey, TValue>> |
|
Type Parameters
Name |
Description |
TKey |
|
TValue |
|
ValueMap<TKey, TValue>(String[])
Declaration
public GraphTraversal<S, IDictionary<TKey, TValue>> ValueMap<TKey, TValue>(params string[] propertyKeys)
Parameters
Type |
Name |
Description |
System.String[] |
propertyKeys |
|
Returns
Type |
Description |
GraphTraversal<S, System.Collections.Generic.IDictionary<TKey, TValue>> |
|
Type Parameters
Name |
Description |
TKey |
|
TValue |
|
Values<E2>(String[])
Declaration
public GraphTraversal<S, E2> Values<E2>(params string[] propertyKeys)
Parameters
Type |
Name |
Description |
System.String[] |
propertyKeys |
|
Returns
Type Parameters
Where(ITraversal)
Declaration
public GraphTraversal<S, E> Where(ITraversal whereTraversal)
Parameters
Returns
Where(P)
Declaration
public GraphTraversal<S, E> Where(P predicate)
Parameters
Type |
Name |
Description |
P |
predicate |
|
Returns
Where(String, P)
Declaration
public GraphTraversal<S, E> Where(string startKey, P predicate)
Parameters
Type |
Name |
Description |
System.String |
startKey |
|
P |
predicate |
|
Returns
With(String)
Declaration
public GraphTraversal<S, E> With(string key)
Parameters
Type |
Name |
Description |
System.String |
key |
|
Returns
With(String, Object)
Declaration
public GraphTraversal<S, E> With(string key, object value)
Parameters
Type |
Name |
Description |
System.String |
key |
|
System.Object |
value |
|
Returns
Write()
Declaration
public GraphTraversal<S, E> Write()
Returns
Implements
System.Collections.Generic.IEnumerator
System.Collections.Generic.IEnumerator<T>
System.IDisposable
System.Collections.IEnumerator