http://git-wip-us.apache.org/repos/asf/tinkerpop/blob/2f1920fa/gremlin-dotnet/src/Gremlin.Net/Process/Traversal/__.cs
----------------------------------------------------------------------
diff --git a/gremlin-dotnet/src/Gremlin.Net/Process/Traversal/__.cs
b/gremlin-dotnet/src/Gremlin.Net/Process/Traversal/__.cs
index 0baef77..0a3856e 100644
--- a/gremlin-dotnet/src/Gremlin.Net/Process/Traversal/__.cs
+++ b/gremlin-dotnet/src/Gremlin.Net/Process/Traversal/__.cs
@@ -51,17 +51,17 @@ namespace Gremlin.Net.Process.Traversal
/// <summary>
/// Spawns a <see cref="GraphTraversal{SType, EType}" /> and adds
the addE step to that traversal.
/// </summary>
- public static GraphTraversal<object, Edge> AddE(string edgeLabel)
+ public static GraphTraversal<object, Edge> AddE(Direction direction,
string firstVertexKeyOrEdgeLabel, string edgeLabelOrSecondVertexKey, params
object[] propertyKeyValues)
{
- return new GraphTraversal<object, Edge>().AddE(edgeLabel);
+ return new GraphTraversal<object, Edge>().AddE(direction,
firstVertexKeyOrEdgeLabel, edgeLabelOrSecondVertexKey, propertyKeyValues);
}
/// <summary>
/// Spawns a <see cref="GraphTraversal{SType, EType}" /> and adds
the addE step to that traversal.
/// </summary>
- public static GraphTraversal<object, Edge> AddE(Direction direction,
string firstVertexKeyOrEdgeLabel, string edgeLabelOrSecondVertexKey, params
object[] propertyKeyValues)
+ public static GraphTraversal<object, Edge> AddE(string edgeLabel)
{
- return new GraphTraversal<object, Edge>().AddE(direction,
firstVertexKeyOrEdgeLabel, edgeLabelOrSecondVertexKey, propertyKeyValues);
+ return new GraphTraversal<object, Edge>().AddE(edgeLabel);
}
/// <summary>
@@ -83,25 +83,25 @@ namespace Gremlin.Net.Process.Traversal
/// <summary>
/// Spawns a <see cref="GraphTraversal{SType, EType}" /> and adds
the addV step to that traversal.
/// </summary>
- public static GraphTraversal<object, Vertex> AddV(string vertexLabel)
+ public static GraphTraversal<object, Vertex> AddV()
{
- return new GraphTraversal<object, Vertex>().AddV(vertexLabel);
+ return new GraphTraversal<object, Vertex>().AddV();
}
/// <summary>
/// Spawns a <see cref="GraphTraversal{SType, EType}" /> and adds
the addV step to that traversal.
/// </summary>
- public static GraphTraversal<object, Vertex> AddV()
+ public static GraphTraversal<object, Vertex> AddV(params object[]
propertyKeyValues)
{
- return new GraphTraversal<object, Vertex>().AddV();
+ return new GraphTraversal<object,
Vertex>().AddV(propertyKeyValues);
}
/// <summary>
/// Spawns a <see cref="GraphTraversal{SType, EType}" /> and adds
the addV step to that traversal.
/// </summary>
- public static GraphTraversal<object, Vertex> AddV(params object[]
propertyKeyValues)
+ public static GraphTraversal<object, Vertex> AddV(string vertexLabel)
{
- return new GraphTraversal<object,
Vertex>().AddV(propertyKeyValues);
+ return new GraphTraversal<object, Vertex>().AddV(vertexLabel);
}
/// <summary>
@@ -131,25 +131,25 @@ namespace Gremlin.Net.Process.Traversal
/// <summary>
/// Spawns a <see cref="GraphTraversal{SType, EType}" /> and adds
the barrier step to that traversal.
/// </summary>
- public static GraphTraversal<object, object> Barrier(int
maxBarrierSize)
+ public static GraphTraversal<object, object> Barrier()
{
- return new GraphTraversal<object,
object>().Barrier(maxBarrierSize);
+ return new GraphTraversal<object, object>().Barrier();
}
/// <summary>
/// Spawns a <see cref="GraphTraversal{SType, EType}" /> and adds
the barrier step to that traversal.
/// </summary>
- public static GraphTraversal<object, object> Barrier()
+ public static GraphTraversal<object, object> Barrier(object
barrierConsumer)
{
- return new GraphTraversal<object, object>().Barrier();
+ return new GraphTraversal<object,
object>().Barrier(barrierConsumer);
}
/// <summary>
/// Spawns a <see cref="GraphTraversal{SType, EType}" /> and adds
the barrier step to that traversal.
/// </summary>
- public static GraphTraversal<object, object> Barrier(object
barrierConsumer)
+ public static GraphTraversal<object, object> Barrier(int
maxBarrierSize)
{
- return new GraphTraversal<object,
object>().Barrier(barrierConsumer);
+ return new GraphTraversal<object,
object>().Barrier(maxBarrierSize);
}
/// <summary>
@@ -203,17 +203,17 @@ namespace Gremlin.Net.Process.Traversal
/// <summary>
/// Spawns a <see cref="GraphTraversal{SType, EType}" /> and adds
the choose step to that traversal.
/// </summary>
- public static GraphTraversal<object, E2> Choose<E2>(TraversalPredicate
choosePredicate, ITraversal trueChoice)
+ public static GraphTraversal<object, E2> Choose<E2>(object
choiceFunction)
{
- return new GraphTraversal<object,
E2>().Choose<E2>(choosePredicate, trueChoice);
+ return new GraphTraversal<object, E2>().Choose<E2>(choiceFunction);
}
/// <summary>
/// Spawns a <see cref="GraphTraversal{SType, EType}" /> and adds
the choose step to that traversal.
/// </summary>
- public static GraphTraversal<object, E2> Choose<E2>(ITraversal
traversalPredicate, ITraversal trueChoice, ITraversal falseChoice)
+ public static GraphTraversal<object, E2> Choose<E2>(TraversalPredicate
choosePredicate, ITraversal trueChoice)
{
- return new GraphTraversal<object,
E2>().Choose<E2>(traversalPredicate, trueChoice, falseChoice);
+ return new GraphTraversal<object,
E2>().Choose<E2>(choosePredicate, trueChoice);
}
/// <summary>
@@ -227,25 +227,25 @@ namespace Gremlin.Net.Process.Traversal
/// <summary>
/// Spawns a <see cref="GraphTraversal{SType, EType}" /> and adds
the choose step to that traversal.
/// </summary>
- public static GraphTraversal<object, E2> Choose<E2>(object
choiceFunction)
+ public static GraphTraversal<object, E2> Choose<E2>(ITraversal
traversalFunction)
{
- return new GraphTraversal<object, E2>().Choose<E2>(choiceFunction);
+ return new GraphTraversal<object,
E2>().Choose<E2>(traversalFunction);
}
/// <summary>
/// Spawns a <see cref="GraphTraversal{SType, EType}" /> and adds
the choose step to that traversal.
/// </summary>
- public static GraphTraversal<object, E2> Choose<E2>(ITraversal
traversalFunction)
+ public static GraphTraversal<object, E2> Choose<E2>(ITraversal
traversalPredicate, ITraversal trueChoice)
{
- return new GraphTraversal<object,
E2>().Choose<E2>(traversalFunction);
+ return new GraphTraversal<object,
E2>().Choose<E2>(traversalPredicate, trueChoice);
}
/// <summary>
/// Spawns a <see cref="GraphTraversal{SType, EType}" /> and adds
the choose step to that traversal.
/// </summary>
- public static GraphTraversal<object, E2> Choose<E2>(ITraversal
traversalPredicate, ITraversal trueChoice)
+ public static GraphTraversal<object, E2> Choose<E2>(ITraversal
traversalPredicate, ITraversal trueChoice, ITraversal falseChoice)
{
- return new GraphTraversal<object,
E2>().Choose<E2>(traversalPredicate, trueChoice);
+ return new GraphTraversal<object,
E2>().Choose<E2>(traversalPredicate, trueChoice, falseChoice);
}
/// <summary>
@@ -275,17 +275,17 @@ namespace Gremlin.Net.Process.Traversal
/// <summary>
/// Spawns a <see cref="GraphTraversal{SType, EType}" /> and adds
the count step to that traversal.
/// </summary>
- public static GraphTraversal<object, long> Count(Scope scope)
+ public static GraphTraversal<object, long> Count()
{
- return new GraphTraversal<object, long>().Count(scope);
+ return new GraphTraversal<object, long>().Count();
}
/// <summary>
/// Spawns a <see cref="GraphTraversal{SType, EType}" /> and adds
the count step to that traversal.
/// </summary>
- public static GraphTraversal<object, long> Count()
+ public static GraphTraversal<object, long> Count(Scope scope)
{
- return new GraphTraversal<object, long>().Count();
+ return new GraphTraversal<object, long>().Count(scope);
}
/// <summary>
@@ -323,41 +323,41 @@ namespace Gremlin.Net.Process.Traversal
/// <summary>
/// Spawns a <see cref="GraphTraversal{SType, EType}" /> and adds
the emit step to that traversal.
/// </summary>
- public static GraphTraversal<object, object> Emit(ITraversal
emitTraversal)
+ public static GraphTraversal<object, object> Emit()
{
- return new GraphTraversal<object, object>().Emit(emitTraversal);
+ return new GraphTraversal<object, object>().Emit();
}
/// <summary>
/// Spawns a <see cref="GraphTraversal{SType, EType}" /> and adds
the emit step to that traversal.
/// </summary>
- public static GraphTraversal<object, object> Emit()
+ public static GraphTraversal<object, object> Emit(TraversalPredicate
emitPredicate)
{
- return new GraphTraversal<object, object>().Emit();
+ return new GraphTraversal<object, object>().Emit(emitPredicate);
}
/// <summary>
/// Spawns a <see cref="GraphTraversal{SType, EType}" /> and adds
the emit step to that traversal.
/// </summary>
- public static GraphTraversal<object, object> Emit(TraversalPredicate
emitPredicate)
+ public static GraphTraversal<object, object> Emit(ITraversal
emitTraversal)
{
- return new GraphTraversal<object, object>().Emit(emitPredicate);
+ return new GraphTraversal<object, object>().Emit(emitTraversal);
}
/// <summary>
/// Spawns a <see cref="GraphTraversal{SType, EType}" /> and adds
the filter step to that traversal.
/// </summary>
- public static GraphTraversal<object, object> Filter(ITraversal
filterTraversal)
+ public static GraphTraversal<object, object> Filter(TraversalPredicate
predicate)
{
- return new GraphTraversal<object,
object>().Filter(filterTraversal);
+ return new GraphTraversal<object, object>().Filter(predicate);
}
/// <summary>
/// Spawns a <see cref="GraphTraversal{SType, EType}" /> and adds
the filter step to that traversal.
/// </summary>
- public static GraphTraversal<object, object> Filter(TraversalPredicate
predicate)
+ public static GraphTraversal<object, object> Filter(ITraversal
filterTraversal)
{
- return new GraphTraversal<object, object>().Filter(predicate);
+ return new GraphTraversal<object,
object>().Filter(filterTraversal);
}
/// <summary>
@@ -379,49 +379,49 @@ namespace Gremlin.Net.Process.Traversal
/// <summary>
/// Spawns a <see cref="GraphTraversal{SType, EType}" /> and adds
the fold step to that traversal.
/// </summary>
- public static GraphTraversal<object, E2> Fold<E2>(object seed, object
foldFunction)
+ public static GraphTraversal<object, IList<E2>> Fold<E2>()
{
- return new GraphTraversal<object, E2>().Fold<E2>(seed,
foldFunction);
+ return new GraphTraversal<object, E2>().Fold();
}
/// <summary>
/// Spawns a <see cref="GraphTraversal{SType, EType}" /> and adds
the fold step to that traversal.
/// </summary>
- public static GraphTraversal<object, IList<E2>> Fold<E2>()
+ public static GraphTraversal<object, E2> Fold<E2>(object seed, object
foldFunction)
{
- return new GraphTraversal<object, E2>().Fold();
+ return new GraphTraversal<object, E2>().Fold<E2>(seed,
foldFunction);
}
/// <summary>
/// Spawns a <see cref="GraphTraversal{SType, EType}" /> and adds
the group step to that traversal.
/// </summary>
- public static GraphTraversal<object, object> Group(string
sideEffectKey)
+ public static GraphTraversal<object, IDictionary<K, V>> Group<K, V>()
{
- return new GraphTraversal<object, object>().Group(sideEffectKey);
+ return new GraphTraversal<object, IDictionary<K, V>>().Group<K,
V>();
}
/// <summary>
/// Spawns a <see cref="GraphTraversal{SType, EType}" /> and adds
the group step to that traversal.
/// </summary>
- public static GraphTraversal<object, IDictionary<K, V>> Group<K, V>()
+ public static GraphTraversal<object, object> Group(string
sideEffectKey)
{
- return new GraphTraversal<object, IDictionary<K, V>>().Group<K,
V>();
+ return new GraphTraversal<object, object>().Group(sideEffectKey);
}
/// <summary>
/// Spawns a <see cref="GraphTraversal{SType, EType}" /> and adds
the groupCount step to that traversal.
/// </summary>
- public static GraphTraversal<object, object> GroupCount(string
sideEffectKey)
+ public static GraphTraversal<object, IDictionary<K, long>>
GroupCount<K>()
{
- return new GraphTraversal<object,
object>().GroupCount(sideEffectKey);
+ return new GraphTraversal<object, IDictionary<K,
long>>().GroupCount<K>();
}
/// <summary>
/// Spawns a <see cref="GraphTraversal{SType, EType}" /> and adds
the groupCount step to that traversal.
/// </summary>
- public static GraphTraversal<object, IDictionary<K, long>>
GroupCount<K>()
+ public static GraphTraversal<object, object> GroupCount(string
sideEffectKey)
{
- return new GraphTraversal<object, IDictionary<K,
long>>().GroupCount<K>();
+ return new GraphTraversal<object,
object>().GroupCount(sideEffectKey);
}
/// <summary>
@@ -443,49 +443,49 @@ namespace Gremlin.Net.Process.Traversal
/// <summary>
/// Spawns a <see cref="GraphTraversal{SType, EType}" /> and adds
the has step to that traversal.
/// </summary>
- public static GraphTraversal<object, object> Has(string propertyKey,
object value)
+ public static GraphTraversal<object, object> Has(string propertyKey)
{
- return new GraphTraversal<object, object>().Has(propertyKey,
value);
+ return new GraphTraversal<object, object>().Has(propertyKey);
}
/// <summary>
/// Spawns a <see cref="GraphTraversal{SType, EType}" /> and adds
the has step to that traversal.
/// </summary>
- public static GraphTraversal<object, object> Has(string propertyKey,
ITraversal propertyTraversal)
+ public static GraphTraversal<object, object> Has(string propertyKey,
object value)
{
- return new GraphTraversal<object, object>().Has(propertyKey,
propertyTraversal);
+ return new GraphTraversal<object, object>().Has(propertyKey,
value);
}
/// <summary>
/// Spawns a <see cref="GraphTraversal{SType, EType}" /> and adds
the has step to that traversal.
/// </summary>
- public static GraphTraversal<object, object> Has(T accessor,
TraversalPredicate predicate)
+ public static GraphTraversal<object, object> Has(string propertyKey,
TraversalPredicate predicate)
{
- return new GraphTraversal<object, object>().Has(accessor,
predicate);
+ return new GraphTraversal<object, object>().Has(propertyKey,
predicate);
}
/// <summary>
/// Spawns a <see cref="GraphTraversal{SType, EType}" /> and adds
the has step to that traversal.
/// </summary>
- public static GraphTraversal<object, object> Has(string label, string
propertyKey, TraversalPredicate predicate)
+ public static GraphTraversal<object, object> Has(string label, string
propertyKey, object value)
{
- return new GraphTraversal<object, object>().Has(label,
propertyKey, predicate);
+ return new GraphTraversal<object, object>().Has(label,
propertyKey, value);
}
/// <summary>
/// Spawns a <see cref="GraphTraversal{SType, EType}" /> and adds
the has step to that traversal.
/// </summary>
- public static GraphTraversal<object, object> Has(string label, string
propertyKey, object value)
+ public static GraphTraversal<object, object> Has(string label, string
propertyKey, TraversalPredicate predicate)
{
- return new GraphTraversal<object, object>().Has(label,
propertyKey, value);
+ return new GraphTraversal<object, object>().Has(label,
propertyKey, predicate);
}
/// <summary>
/// Spawns a <see cref="GraphTraversal{SType, EType}" /> and adds
the has step to that traversal.
/// </summary>
- public static GraphTraversal<object, object> Has(string propertyKey,
TraversalPredicate predicate)
+ public static GraphTraversal<object, object> Has(string propertyKey,
ITraversal propertyTraversal)
{
- return new GraphTraversal<object, object>().Has(propertyKey,
predicate);
+ return new GraphTraversal<object, object>().Has(propertyKey,
propertyTraversal);
}
/// <summary>
@@ -499,49 +499,49 @@ namespace Gremlin.Net.Process.Traversal
/// <summary>
/// Spawns a <see cref="GraphTraversal{SType, EType}" /> and adds
the has step to that traversal.
/// </summary>
- public static GraphTraversal<object, object> Has(T accessor,
ITraversal propertyTraversal)
+ public static GraphTraversal<object, object> Has(T accessor,
TraversalPredicate predicate)
{
- return new GraphTraversal<object, object>().Has(accessor,
propertyTraversal);
+ return new GraphTraversal<object, object>().Has(accessor,
predicate);
}
/// <summary>
/// Spawns a <see cref="GraphTraversal{SType, EType}" /> and adds
the has step to that traversal.
/// </summary>
- public static GraphTraversal<object, object> Has(string propertyKey)
+ public static GraphTraversal<object, object> Has(T accessor,
ITraversal propertyTraversal)
{
- return new GraphTraversal<object, object>().Has(propertyKey);
+ return new GraphTraversal<object, object>().Has(accessor,
propertyTraversal);
}
/// <summary>
/// Spawns a <see cref="GraphTraversal{SType, EType}" /> and adds
the hasId step to that traversal.
/// </summary>
- public static GraphTraversal<object, object> HasId(TraversalPredicate
predicate)
+ public static GraphTraversal<object, object> HasId(object id, params
object[] otherIds)
{
- return new GraphTraversal<object, object>().HasId(predicate);
+ return new GraphTraversal<object, object>().HasId(id, otherIds);
}
/// <summary>
/// Spawns a <see cref="GraphTraversal{SType, EType}" /> and adds
the hasId step to that traversal.
/// </summary>
- public static GraphTraversal<object, object> HasId(object id, params
object[] otherIds)
+ public static GraphTraversal<object, object> HasId(TraversalPredicate
predicate)
{
- return new GraphTraversal<object, object>().HasId(id, otherIds);
+ return new GraphTraversal<object, object>().HasId(predicate);
}
/// <summary>
/// Spawns a <see cref="GraphTraversal{SType, EType}" /> and adds
the hasKey step to that traversal.
/// </summary>
- public static GraphTraversal<object, object> HasKey(string label,
params string[] otherLabels)
+ public static GraphTraversal<object, object> HasKey(TraversalPredicate
predicate)
{
- return new GraphTraversal<object, object>().HasKey(label,
otherLabels);
+ return new GraphTraversal<object, object>().HasKey(predicate);
}
/// <summary>
/// Spawns a <see cref="GraphTraversal{SType, EType}" /> and adds
the hasKey step to that traversal.
/// </summary>
- public static GraphTraversal<object, object> HasKey(TraversalPredicate
predicate)
+ public static GraphTraversal<object, object> HasKey(string label,
params string[] otherLabels)
{
- return new GraphTraversal<object, object>().HasKey(predicate);
+ return new GraphTraversal<object, object>().HasKey(label,
otherLabels);
}
/// <summary>
@@ -571,17 +571,17 @@ namespace Gremlin.Net.Process.Traversal
/// <summary>
/// Spawns a <see cref="GraphTraversal{SType, EType}" /> and adds
the hasValue step to that traversal.
/// </summary>
- public static GraphTraversal<object, object>
HasValue(TraversalPredicate predicate)
+ public static GraphTraversal<object, object> HasValue(object value,
params object[] values)
{
- return new GraphTraversal<object, object>().HasValue(predicate);
+ return new GraphTraversal<object, object>().HasValue(value,
values);
}
/// <summary>
/// Spawns a <see cref="GraphTraversal{SType, EType}" /> and adds
the hasValue step to that traversal.
/// </summary>
- public static GraphTraversal<object, object> HasValue(object value,
params object[] values)
+ public static GraphTraversal<object, object>
HasValue(TraversalPredicate predicate)
{
- return new GraphTraversal<object, object>().HasValue(value,
values);
+ return new GraphTraversal<object, object>().HasValue(predicate);
}
/// <summary>
@@ -739,33 +739,33 @@ namespace Gremlin.Net.Process.Traversal
/// <summary>
/// Spawns a <see cref="GraphTraversal{SType, EType}" /> and adds
the max step to that traversal.
/// </summary>
- public static GraphTraversal<object, E2> Max<E2>(Scope scope)
+ public static GraphTraversal<object, E2> Max<E2>()
{
- return new GraphTraversal<object, E2>().Max<E2>(scope);
+ return new GraphTraversal<object, E2>().Max<E2>();
}
/// <summary>
/// Spawns a <see cref="GraphTraversal{SType, EType}" /> and adds
the max step to that traversal.
/// </summary>
- public static GraphTraversal<object, E2> Max<E2>()
+ public static GraphTraversal<object, E2> Max<E2>(Scope scope)
{
- return new GraphTraversal<object, E2>().Max<E2>();
+ return new GraphTraversal<object, E2>().Max<E2>(scope);
}
/// <summary>
/// Spawns a <see cref="GraphTraversal{SType, EType}" /> and adds
the mean step to that traversal.
/// </summary>
- public static GraphTraversal<object, E2> Mean<E2>(Scope scope)
+ public static GraphTraversal<object, E2> Mean<E2>()
{
- return new GraphTraversal<object, E2>().Mean<E2>(scope);
+ return new GraphTraversal<object, E2>().Mean<E2>();
}
/// <summary>
/// Spawns a <see cref="GraphTraversal{SType, EType}" /> and adds
the mean step to that traversal.
/// </summary>
- public static GraphTraversal<object, E2> Mean<E2>()
+ public static GraphTraversal<object, E2> Mean<E2>(Scope scope)
{
- return new GraphTraversal<object, E2>().Mean<E2>();
+ return new GraphTraversal<object, E2>().Mean<E2>(scope);
}
/// <summary>
@@ -931,6 +931,14 @@ namespace Gremlin.Net.Process.Traversal
/// <summary>
/// Spawns a <see cref="GraphTraversal{SType, EType}" /> and adds
the sack step to that traversal.
/// </summary>
+ public static GraphTraversal<object, E2> Sack<E2>()
+ {
+ return new GraphTraversal<object, E2>().Sack<E2>();
+ }
+
+ /// <summary>
+ /// Spawns a <see cref="GraphTraversal{SType, EType}" /> and adds
the sack step to that traversal.
+ /// </summary>
public static GraphTraversal<object, object> Sack(object sackOperator)
{
return new GraphTraversal<object, object>().Sack(sackOperator);
@@ -945,11 +953,11 @@ namespace Gremlin.Net.Process.Traversal
}
/// <summary>
- /// Spawns a <see cref="GraphTraversal{SType, EType}" /> and adds
the sack step to that traversal.
+ /// Spawns a <see cref="GraphTraversal{SType, EType}" /> and adds
the sample step to that traversal.
/// </summary>
- public static GraphTraversal<object, E2> Sack<E2>()
+ public static GraphTraversal<object, object> Sample(Scope scope, int
amountToSample)
{
- return new GraphTraversal<object, E2>().Sack<E2>();
+ return new GraphTraversal<object, object>().Sample(scope,
amountToSample);
}
/// <summary>
@@ -961,11 +969,11 @@ namespace Gremlin.Net.Process.Traversal
}
/// <summary>
- /// Spawns a <see cref="GraphTraversal{SType, EType}" /> and adds
the sample step to that traversal.
+ /// Spawns a <see cref="GraphTraversal{SType, EType}" /> and adds
the select step to that traversal.
/// </summary>
- public static GraphTraversal<object, object> Sample(Scope scope, int
amountToSample)
+ public static GraphTraversal<object, ICollection<E2>>
Select<E2>(Column column)
{
- return new GraphTraversal<object, object>().Sample(scope,
amountToSample);
+ return new GraphTraversal<object,
ICollection<E2>>().Select<E2>(column);
}
/// <summary>
@@ -979,17 +987,17 @@ namespace Gremlin.Net.Process.Traversal
/// <summary>
/// Spawns a <see cref="GraphTraversal{SType, EType}" /> and adds
the select step to that traversal.
/// </summary>
- public static GraphTraversal<object, ICollection<E2>>
Select<E2>(Column column)
+ public static GraphTraversal<object, IDictionary<string, E2>>
Select<E2>(Pop pop, string selectKey1, string selectKey2, params string[]
otherSelectKeys)
{
- return new GraphTraversal<object,
ICollection<E2>>().Select<E2>(column);
+ return new GraphTraversal<object, IDictionary<string,
E2>>().Select<E2>(pop, selectKey1, selectKey2, otherSelectKeys);
}
/// <summary>
/// Spawns a <see cref="GraphTraversal{SType, EType}" /> and adds
the select step to that traversal.
/// </summary>
- public static GraphTraversal<object, IDictionary<string, E2>>
Select<E2>(Pop pop, string selectKey1, string selectKey2, params string[]
otherSelectKeys)
+ public static GraphTraversal<object, E2> Select<E2>(string selectKey)
{
- return new GraphTraversal<object, IDictionary<string,
E2>>().Select<E2>(pop, selectKey1, selectKey2, otherSelectKeys);
+ return new GraphTraversal<object, E2>().Select<E2>(selectKey);
}
/// <summary>
@@ -1001,11 +1009,11 @@ namespace Gremlin.Net.Process.Traversal
}
/// <summary>
- /// Spawns a <see cref="GraphTraversal{SType, EType}" /> and adds
the select step to that traversal.
+ /// Spawns a <see cref="GraphTraversal{SType, EType}" /> and adds
the sideEffect step to that traversal.
/// </summary>
- public static GraphTraversal<object, E2> Select<E2>(string selectKey)
+ public static GraphTraversal<object, object> SideEffect(object
consumer)
{
- return new GraphTraversal<object, E2>().Select<E2>(selectKey);
+ return new GraphTraversal<object, object>().SideEffect(consumer);
}
/// <summary>
@@ -1017,14 +1025,6 @@ namespace Gremlin.Net.Process.Traversal
}
/// <summary>
- /// Spawns a <see cref="GraphTraversal{SType, EType}" /> and adds
the sideEffect step to that traversal.
- /// </summary>
- public static GraphTraversal<object, object> SideEffect(object
consumer)
- {
- return new GraphTraversal<object, object>().SideEffect(consumer);
- }
-
- /// <summary>
/// Spawns a <see cref="GraphTraversal{SType, EType}" /> and adds
the simplePath step to that traversal.
/// </summary>
public static GraphTraversal<object, object> SimplePath()
@@ -1067,33 +1067,33 @@ namespace Gremlin.Net.Process.Traversal
/// <summary>
/// Spawns a <see cref="GraphTraversal{SType, EType}" /> and adds
the tail step to that traversal.
/// </summary>
- public static GraphTraversal<object, E2> Tail<E2>(long limit)
+ public static GraphTraversal<object, E2> Tail<E2>()
{
- return new GraphTraversal<object, E2>().Tail(limit);
+ return new GraphTraversal<object, E2>().Tail();
}
/// <summary>
/// Spawns a <see cref="GraphTraversal{SType, EType}" /> and adds
the tail step to that traversal.
/// </summary>
- public static GraphTraversal<object, E2> Tail<E2>(Scope scope, long
limit)
+ public static GraphTraversal<object, E2> Tail<E2>(Scope scope)
{
- return new GraphTraversal<object, E2>().Tail<E2>(scope, limit);
+ return new GraphTraversal<object, E2>().Tail<E2>(scope);
}
/// <summary>
/// Spawns a <see cref="GraphTraversal{SType, EType}" /> and adds
the tail step to that traversal.
/// </summary>
- public static GraphTraversal<object, E2> Tail<E2>()
+ public static GraphTraversal<object, E2> Tail<E2>(Scope scope, long
limit)
{
- return new GraphTraversal<object, E2>().Tail();
+ return new GraphTraversal<object, E2>().Tail<E2>(scope, limit);
}
/// <summary>
/// Spawns a <see cref="GraphTraversal{SType, EType}" /> and adds
the tail step to that traversal.
/// </summary>
- public static GraphTraversal<object, E2> Tail<E2>(Scope scope)
+ public static GraphTraversal<object, E2> Tail<E2>(long limit)
{
- return new GraphTraversal<object, E2>().Tail<E2>(scope);
+ return new GraphTraversal<object, E2>().Tail(limit);
}
/// <summary>
@@ -1139,17 +1139,17 @@ namespace Gremlin.Net.Process.Traversal
/// <summary>
/// Spawns a <see cref="GraphTraversal{SType, EType}" /> and adds
the tree step to that traversal.
/// </summary>
- public static GraphTraversal<object, object> Tree(string sideEffectKey)
+ public static GraphTraversal<object, E2> Tree<E2>()
{
- return new GraphTraversal<object, object>().Tree(sideEffectKey);
+ return new GraphTraversal<object, E2>().Tree<E2>();
}
/// <summary>
/// Spawns a <see cref="GraphTraversal{SType, EType}" /> and adds
the tree step to that traversal.
/// </summary>
- public static GraphTraversal<object, E2> Tree<E2>()
+ public static GraphTraversal<object, object> Tree(string sideEffectKey)
{
- return new GraphTraversal<object, E2>().Tree<E2>();
+ return new GraphTraversal<object, object>().Tree(sideEffectKey);
}
/// <summary>
@@ -1171,17 +1171,17 @@ namespace Gremlin.Net.Process.Traversal
/// <summary>
/// Spawns a <see cref="GraphTraversal{SType, EType}" /> and adds
the until step to that traversal.
/// </summary>
- public static GraphTraversal<object, object> Until(ITraversal
untilTraversal)
+ public static GraphTraversal<object, object> Until(TraversalPredicate
untilPredicate)
{
- return new GraphTraversal<object, object>().Until(untilTraversal);
+ return new GraphTraversal<object, object>().Until(untilPredicate);
}
/// <summary>
/// Spawns a <see cref="GraphTraversal{SType, EType}" /> and adds
the until step to that traversal.
/// </summary>
- public static GraphTraversal<object, object> Until(TraversalPredicate
untilPredicate)
+ public static GraphTraversal<object, object> Until(ITraversal
untilTraversal)
{
- return new GraphTraversal<object, object>().Until(untilPredicate);
+ return new GraphTraversal<object, object>().Until(untilTraversal);
}
/// <summary>
@@ -1219,25 +1219,25 @@ namespace Gremlin.Net.Process.Traversal
/// <summary>
/// Spawns a <see cref="GraphTraversal{SType, EType}" /> and adds
the where step to that traversal.
/// </summary>
- public static GraphTraversal<object, object> Where(string startKey,
TraversalPredicate predicate)
+ public static GraphTraversal<object, object> Where(TraversalPredicate
predicate)
{
- return new GraphTraversal<object, object>().Where(startKey,
predicate);
+ return new GraphTraversal<object, object>().Where(predicate);
}
/// <summary>
/// Spawns a <see cref="GraphTraversal{SType, EType}" /> and adds
the where step to that traversal.
/// </summary>
- public static GraphTraversal<object, object> Where(ITraversal
whereTraversal)
+ public static GraphTraversal<object, object> Where(string startKey,
TraversalPredicate predicate)
{
- return new GraphTraversal<object, object>().Where(whereTraversal);
+ return new GraphTraversal<object, object>().Where(startKey,
predicate);
}
/// <summary>
/// Spawns a <see cref="GraphTraversal{SType, EType}" /> and adds
the where step to that traversal.
/// </summary>
- public static GraphTraversal<object, object> Where(TraversalPredicate
predicate)
+ public static GraphTraversal<object, object> Where(ITraversal
whereTraversal)
{
- return new GraphTraversal<object, object>().Where(predicate);
+ return new GraphTraversal<object, object>().Where(whereTraversal);
}
}