Class RequestMessage
The model for a request message sent to the server.
Inheritance
Inherited Members
Namespace: Gremlin.Net.Driver.Messages
Assembly: cs.temp.dll.dll
Syntax
public class RequestMessage
Properties
Arguments
Gets arguments of the RequestMessage.
Declaration
public Dictionary<string, object> Arguments { get; }
Property Value
Type | Description |
---|---|
Dictionary<System.String, System.Object> |
Operation
Gets the name of the operation that should be executed by the Gremlin Server.
Declaration
public string Operation { get; }
Property Value
Type | Description |
---|---|
System.String | The name of the "operation" to execute based on the available OpProcessor configured in the Gremlin Server. This defaults to "eval" which evaluates a request script. |
Processor
Gets the name of the OpProcessor to utilize.
Declaration
public string Processor { get; }
Property Value
Type | Description |
---|---|
System.String | The name of the OpProcessor to utilize. This defaults to an empty string which represents the default OpProcessor for evaluating scripts. |
RequestId
Gets the ID of this request message.
Declaration
public Guid RequestId { get; }
Property Value
Type | Description |
---|---|
System.Guid | A UUID representing the unique identification for the request. |
Methods
Build(String)
Initializes a RequestMessage.Builder to build a RequestMessage.
Declaration
public static RequestMessage.Builder Build(string operation)
Parameters
Type | Name | Description |
---|---|---|
System.String | operation | The name of the OpProcessor to utilize. |
Returns
Type | Description |
---|---|
RequestMessage.Builder | A RequestMessage.Builder to build a RequestMessage. |