Class Lambda
Provides methods to create lambdas.
Inherited Members
Namespace: Gremlin.Net.Process.Traversal
Assembly: Gremlin.Net.dll
Syntax
public static class Lambda
Methods
Groovy(string)
Creates a new Groovy lambda.
Declaration
public static ILambda Groovy(string expression)
Parameters
Type | Name | Description |
---|---|---|
string | expression | The lambda expression. |
Returns
Type | Description |
---|---|
ILambda | The created lambda. |
Groovy(string, int)
Creates a new Groovy lambda with the specified number of lambda arguments.
Declaration
public static ILambda Groovy(string expression, int arguments)
Parameters
Type | Name | Description |
---|---|---|
string | expression | The lambda expression. |
int | arguments | The number of lambda arguments. |
Returns
Type | Description |
---|---|
ILambda | The created lambda. |
Python(string)
Creates a new Python lambda.
Declaration
public static ILambda Python(string expression)
Parameters
Type | Name | Description |
---|---|---|
string | expression | The lambda expression. |
Returns
Type | Description |
---|---|
ILambda | The created lambda. |