Class GraphTraversal<S, E>
Graph traversals are the primary way in which graphs are processed.
Inheritance
GraphTraversal<S, E>
Assembly: Gremlin.Net.dll
Syntax
public class GraphTraversal<S, E> : DefaultTraversal<S, E>, ITraversal<S, E>, ITraversal, IEnumerator<E>, IEnumerator, IDisposable
Type Parameters
Constructors
GraphTraversal()
Declaration
GraphTraversal(ICollection<ITraversalStrategy>, Bytecode)
Declaration
public GraphTraversal(ICollection<ITraversalStrategy> traversalStrategies, Bytecode bytecode)
Parameters
Type |
Name |
Description |
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 |
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 |
string |
vertexLabel |
|
Returns
Aggregate(Scope, string)
Declaration
public GraphTraversal<S, E> Aggregate(Scope scope, string sideEffectKey)
Parameters
Returns
Aggregate(string)
Declaration
public GraphTraversal<S, E> Aggregate(string sideEffectKey)
Parameters
Type |
Name |
Description |
string |
sideEffectKey |
|
Returns
And(params ITraversal[])
Declaration
public GraphTraversal<S, E> And(params ITraversal[] andTraversals)
Parameters
Returns
As(string, params string[])
Declaration
public GraphTraversal<S, E> As(string stepLabel, params string[] stepLabels)
Parameters
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(int)
Declaration
public GraphTraversal<S, E> Barrier(int maxBarrierSize)
Parameters
Type |
Name |
Description |
int |
maxBarrierSize |
|
Returns
Both(params string[])
Declaration
public GraphTraversal<S, Vertex> Both(params string[] edgeLabels)
Parameters
Type |
Name |
Description |
string[] |
edgeLabels |
|
Returns
BothE(params string[])
Declaration
public GraphTraversal<S, Edge> BothE(params string[] edgeLabels)
Parameters
Type |
Name |
Description |
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 |
string |
key |
|
Returns
By(string, IComparator)
Declaration
public GraphTraversal<S, E> By(string key, IComparator comparator)
Parameters
Returns
Call<E2>(string)
Declaration
public GraphTraversal<S, E2> Call<E2>(string service)
Parameters
Type |
Name |
Description |
string |
service |
|
Returns
Type Parameters
Call<E2>(string, ITraversal)
Declaration
public GraphTraversal<S, E2> Call<E2>(string service, ITraversal t)
Parameters
Returns
Type Parameters
Call<E2>(string, IDictionary<object, object>)
Declaration
public GraphTraversal<S, E2> Call<E2>(string service, IDictionary<object, object> m)
Parameters
Returns
Type Parameters
Call<E2>(string, IDictionary<object, object>, ITraversal)
Declaration
public GraphTraversal<S, E2> Call<E2>(string service, IDictionary<object, object> m, ITraversal t)
Parameters
Returns
Type Parameters
Cap<E2>(string, params string[])
Declaration
public GraphTraversal<S, E2> Cap<E2>(string sideEffectKey, params string[] sideEffectKeys)
Parameters
Type |
Name |
Description |
string |
sideEffectKey |
|
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
Clone()
Make a copy of a traversal that is reset for iteration.
Declaration
public GraphTraversal<S, E> Clone()
Returns
Coalesce<E2>(params 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 |
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, params string[])
Declaration
public GraphTraversal<S, E> Dedup(Scope scope, params string[] dedupLabels)
Parameters
Returns
Dedup(params string[])
Declaration
public GraphTraversal<S, E> Dedup(params string[] dedupLabels)
Parameters
Type |
Name |
Description |
string[] |
dedupLabels |
|
Returns
Drop()
Declaration
public GraphTraversal<S, E> Drop()
Returns
Element()
Declaration
public GraphTraversal<S, Element> Element()
Returns
ElementMap<E2>(params string[])
Declaration
public GraphTraversal<S, IDictionary<object, E2>> ElementMap<E2>(params string[] propertyKeys)
Parameters
Type |
Name |
Description |
string[] |
propertyKeys |
|
Returns
Type Parameters
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
Fail()
Declaration
public GraphTraversal<S, E> Fail()
Returns
Fail(string)
Declaration
public GraphTraversal<S, E> Fail(string msg)
Parameters
Type |
Name |
Description |
string |
msg |
|
Returns
Fail(string, IDictionary<string, object>)
Declaration
public GraphTraversal<S, E> Fail(string msg, IDictionary<string, object> m)
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
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(Vertex)
Declaration
public GraphTraversal<S, E> From(Vertex fromVertex)
Parameters
Type |
Name |
Description |
Vertex |
fromVertex |
|
Returns
From(string)
Declaration
public GraphTraversal<S, E> From(string fromStepLabel)
Parameters
Type |
Name |
Description |
string |
fromStepLabel |
|
Returns
Group(string)
Declaration
public GraphTraversal<S, E> Group(string sideEffectKey)
Parameters
Type |
Name |
Description |
string |
sideEffectKey |
|
Returns
GroupCount(string)
Declaration
public GraphTraversal<S, E> GroupCount(string sideEffectKey)
Parameters
Type |
Name |
Description |
string |
sideEffectKey |
|
Returns
GroupCount<K>()
Declaration
public GraphTraversal<S, IDictionary<K, long>> GroupCount<K>()
Returns
Type Parameters
Group<K, V>()
Declaration
public GraphTraversal<S, IDictionary<K, V>> Group<K, V>()
Returns
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 |
|
object |
value |
|
Returns
Has(string)
Declaration
public GraphTraversal<S, E> Has(string propertyKey)
Parameters
Type |
Name |
Description |
string |
propertyKey |
|
Returns
Has(string, ITraversal)
Declaration
public GraphTraversal<S, E> Has(string propertyKey, ITraversal propertyTraversal)
Parameters
Returns
Has(string, P)
Declaration
public GraphTraversal<S, E> Has(string propertyKey, P predicate)
Parameters
Type |
Name |
Description |
string |
propertyKey |
|
P |
predicate |
|
Returns
Has(string, object)
Declaration
public GraphTraversal<S, E> Has(string propertyKey, object value)
Parameters
Returns
Has(string, string, P)
Declaration
public GraphTraversal<S, E> Has(string label, string propertyKey, P predicate)
Parameters
Type |
Name |
Description |
string |
label |
|
string |
propertyKey |
|
P |
predicate |
|
Returns
Has(string, string, object)
Declaration
public GraphTraversal<S, E> Has(string label, string propertyKey, object value)
Parameters
Returns
HasId(P)
Declaration
public GraphTraversal<S, E> HasId(P predicate)
Parameters
Type |
Name |
Description |
P |
predicate |
|
Returns
HasId(object, params object[])
Declaration
public GraphTraversal<S, E> HasId(object id, params object[] otherIds)
Parameters
Returns
HasKey(P)
Declaration
public GraphTraversal<S, E> HasKey(P predicate)
Parameters
Type |
Name |
Description |
P |
predicate |
|
Returns
HasKey(string, params string[])
Declaration
public GraphTraversal<S, E> HasKey(string label, params string[] otherLabels)
Parameters
Returns
HasLabel(P)
Declaration
public GraphTraversal<S, E> HasLabel(P predicate)
Parameters
Type |
Name |
Description |
P |
predicate |
|
Returns
HasLabel(string, params string[])
Declaration
public GraphTraversal<S, E> HasLabel(string label, params string[] otherLabels)
Parameters
Returns
HasNot(string)
Declaration
public GraphTraversal<S, E> HasNot(string propertyKey)
Parameters
Type |
Name |
Description |
string |
propertyKey |
|
Returns
HasValue(P)
Declaration
public GraphTraversal<S, E> HasValue(P predicate)
Parameters
Type |
Name |
Description |
P |
predicate |
|
Returns
HasValue(object, params object[])
Declaration
public GraphTraversal<S, E> HasValue(object value, params object[] otherValues)
Parameters
Returns
Id()
Declaration
public GraphTraversal<S, object> Id()
Returns
Identity()
Declaration
public GraphTraversal<S, E> Identity()
Returns
In(params string[])
Declaration
public GraphTraversal<S, Vertex> In(params string[] edgeLabels)
Parameters
Type |
Name |
Description |
string[] |
edgeLabels |
|
Returns
InE(params string[])
Declaration
public GraphTraversal<S, Edge> InE(params string[] edgeLabels)
Parameters
Type |
Name |
Description |
string[] |
edgeLabels |
|
Returns
InV()
Declaration
public GraphTraversal<S, Vertex> InV()
Returns
Index<E2>()
Declaration
public GraphTraversal<S, E2> Index<E2>()
Returns
Type Parameters
Inject(params E[])
Declaration
public GraphTraversal<S, E> Inject(params E[] injections)
Parameters
Type |
Name |
Description |
E[] |
injections |
|
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 |
object |
value |
|
Returns
Key()
Declaration
public GraphTraversal<S, string> Key()
Returns
Label()
Declaration
public GraphTraversal<S, string> Label()
Returns
Limit<E2>(Scope, long)
Declaration
public GraphTraversal<S, E2> Limit<E2>(Scope scope, long limit)
Parameters
Returns
Type Parameters
Limit<E2>(long)
Declaration
public GraphTraversal<S, E2> Limit<E2>(long limit)
Parameters
Type |
Name |
Description |
long |
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 |
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>(params ITraversal[])
Declaration
public GraphTraversal<S, IDictionary<string, E2>> Match<E2>(params ITraversal[] matchTraversals)
Parameters
Type |
Name |
Description |
ITraversal[] |
matchTraversals |
|
Returns
Type Parameters
Math(string)
Declaration
public GraphTraversal<S, double> Math(string expression)
Parameters
Type |
Name |
Description |
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
MergeE()
Declaration
public GraphTraversal<S, Edge> MergeE()
Returns
MergeE(ITraversal)
Declaration
public GraphTraversal<S, Edge> MergeE(ITraversal t)
Parameters
Returns
MergeE(IDictionary<object, object>)
Declaration
public GraphTraversal<S, Edge> MergeE(IDictionary<object, object> m)
Parameters
Returns
MergeV()
Declaration
public GraphTraversal<S, Vertex> MergeV()
Returns
MergeV(ITraversal)
Declaration
public GraphTraversal<S, Vertex> MergeV(ITraversal t)
Parameters
Returns
MergeV(IDictionary<object, object>)
Declaration
public GraphTraversal<S, Vertex> MergeV(IDictionary<object, object> m)
Parameters
Returns
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
None()
Declaration
public GraphTraversal<S, E> None()
Returns
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
Returns
Option(object, IDictionary<object, object>)
Declaration
public GraphTraversal<S, E> Option(object pickToken, IDictionary<object, object> traversalOption)
Parameters
Returns
Optional<E2>(ITraversal)
Declaration
public GraphTraversal<S, E2> Optional<E2>(ITraversal optionalTraversal)
Parameters
Type |
Name |
Description |
ITraversal |
optionalTraversal |
|
Returns
Type Parameters
Or(params 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(params string[])
Declaration
public GraphTraversal<S, Vertex> Out(params string[] edgeLabels)
Parameters
Type |
Name |
Description |
string[] |
edgeLabels |
|
Returns
OutE(params string[])
Declaration
public GraphTraversal<S, Edge> OutE(params string[] edgeLabels)
Parameters
Type |
Name |
Description |
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 |
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 |
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 |
object |
vertexProgram |
|
Returns
Project<E2>(string, params string[])
Declaration
public GraphTraversal<S, IDictionary<string, E2>> Project<E2>(string projectKey, params string[] otherProjectKeys)
Parameters
Type |
Name |
Description |
string |
projectKey |
|
string[] |
otherProjectKeys |
|
Returns
Type Parameters
Properties<E2>(params string[])
Declaration
public GraphTraversal<S, E2> Properties<E2>(params string[] propertyKeys)
Parameters
Type |
Name |
Description |
string[] |
propertyKeys |
|
Returns
Type Parameters
Property(Cardinality, object, object, params object[])
Declaration
public GraphTraversal<S, E> Property(Cardinality cardinality, object key, object value, params object[] keyValues)
Parameters
Returns
Property(IDictionary)
Declaration
public GraphTraversal<S, E> Property(IDictionary value)
Parameters
Returns
Property(object, object, params object[])
Declaration
public GraphTraversal<S, E> Property(object key, object value, params object[] keyValues)
Parameters
Returns
PropertyMap<E2>(params string[])
Declaration
public GraphTraversal<S, IDictionary<string, E2>> PropertyMap<E2>(params string[] propertyKeys)
Parameters
Type |
Name |
Description |
string[] |
propertyKeys |
|
Returns
Type Parameters
Range<E2>(Scope, long, long)
Declaration
public GraphTraversal<S, E2> Range<E2>(Scope scope, long low, long high)
Parameters
Returns
Type Parameters
Range<E2>(long, long)
Declaration
public GraphTraversal<S, E2> Range<E2>(long low, long high)
Parameters
Type |
Name |
Description |
long |
low |
|
long |
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
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, int)
Declaration
public GraphTraversal<S, E> Sample(Scope scope, int amountToSample)
Parameters
Type |
Name |
Description |
Scope |
scope |
|
int |
amountToSample |
|
Returns
Sample(int)
Declaration
public GraphTraversal<S, E> Sample(int amountToSample)
Parameters
Type |
Name |
Description |
int |
amountToSample |
|
Returns
Select<E2>(Column)
Declaration
public GraphTraversal<S, ICollection<E2>> Select<E2>(Column column)
Parameters
Type |
Name |
Description |
Column |
column |
|
Returns
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 |
|
string |
selectKey |
|
Returns
Type Parameters
Select<E2>(Pop, string, string, params string[])
Declaration
public GraphTraversal<S, IDictionary<string, E2>> Select<E2>(Pop pop, string selectKey1, string selectKey2, params string[] otherSelectKeys)
Parameters
Returns
Type Parameters
Select<E2>(string)
Declaration
public GraphTraversal<S, E2> Select<E2>(string selectKey)
Parameters
Type |
Name |
Description |
string |
selectKey |
|
Returns
Type Parameters
Select<E2>(string, string, params string[])
Declaration
public GraphTraversal<S, IDictionary<string, E2>> Select<E2>(string selectKey1, string selectKey2, params string[] otherSelectKeys)
Parameters
Returns
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, long)
Declaration
public GraphTraversal<S, E2> Skip<E2>(Scope scope, long skip)
Parameters
Returns
Type Parameters
Skip<E2>(long)
Declaration
public GraphTraversal<S, E2> Skip<E2>(long skip)
Parameters
Type |
Name |
Description |
long |
skip |
|
Returns
Type Parameters
Store(string)
Declaration
public GraphTraversal<S, E> Store(string sideEffectKey)
Parameters
Type |
Name |
Description |
string |
sideEffectKey |
|
Returns
Subgraph(string)
Declaration
public GraphTraversal<S, Edge> Subgraph(string sideEffectKey)
Parameters
Type |
Name |
Description |
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, long)
Declaration
public GraphTraversal<S, E2> Tail<E2>(Scope scope, long limit)
Parameters
Returns
Type Parameters
Tail<E2>(long)
Declaration
public GraphTraversal<S, E2> Tail<E2>(long limit)
Parameters
Type |
Name |
Description |
long |
limit |
|
Returns
Type Parameters
TimeLimit(long)
Declaration
public GraphTraversal<S, E> TimeLimit(long timeLimit)
Parameters
Type |
Name |
Description |
long |
timeLimit |
|
Returns
Times(int)
Declaration
public GraphTraversal<S, E> Times(int maxLoops)
Parameters
Type |
Name |
Description |
int |
maxLoops |
|
Returns
To(Direction, params string[])
Declaration
public GraphTraversal<S, Vertex> To(Direction direction, params string[] edgeLabels)
Parameters
Returns
To(ITraversal)
Declaration
public GraphTraversal<S, E> To(ITraversal toVertex)
Parameters
Returns
To(Vertex)
Declaration
public GraphTraversal<S, E> To(Vertex toVertex)
Parameters
Type |
Name |
Description |
Vertex |
toVertex |
|
Returns
To(string)
Declaration
public GraphTraversal<S, E> To(string toStepLabel)
Parameters
Type |
Name |
Description |
string |
toStepLabel |
|
Returns
ToE(Direction, params string[])
Declaration
public GraphTraversal<S, Edge> ToE(Direction direction, params string[] edgeLabels)
Parameters
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 |
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>(params 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(params object[])
Declaration
public GraphTraversal<S, Vertex> V(params object[] vertexIdsOrElements)
Parameters
Type |
Name |
Description |
object[] |
vertexIdsOrElements |
|
Returns
ValueMap<TKey, TValue>(bool, params string[])
Declaration
public GraphTraversal<S, IDictionary<TKey, TValue>> ValueMap<TKey, TValue>(bool includeTokens, params string[] propertyKeys)
Parameters
Type |
Name |
Description |
bool |
includeTokens |
|
string[] |
propertyKeys |
|
Returns
Type Parameters
Name |
Description |
TKey |
|
TValue |
|
ValueMap<TKey, TValue>(params string[])
Declaration
public GraphTraversal<S, IDictionary<TKey, TValue>> ValueMap<TKey, TValue>(params string[] propertyKeys)
Parameters
Type |
Name |
Description |
string[] |
propertyKeys |
|
Returns
Type Parameters
Name |
Description |
TKey |
|
TValue |
|
Value<E2>()
Declaration
public GraphTraversal<S, E2> Value<E2>()
Returns
Type Parameters
Values<E2>(params string[])
Declaration
public GraphTraversal<S, E2> Values<E2>(params string[] propertyKeys)
Parameters
Type |
Name |
Description |
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 |
string |
startKey |
|
P |
predicate |
|
Returns
With(string)
Declaration
public GraphTraversal<S, E> With(string key)
Parameters
Type |
Name |
Description |
string |
key |
|
Returns
With(string, object)
Declaration
public GraphTraversal<S, E> With(string key, object value)
Parameters
Returns
Write()
Declaration
public GraphTraversal<S, E> Write()
Returns
Implements