Search Results for

    Show / Hide Table of Contents

    Class RequestMessage

    The model for a request message sent to the server.

    Inheritance
    object
    RequestMessage
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Gremlin.Net.Driver.Messages
    Assembly: Gremlin.Net.dll
    Syntax
    public class RequestMessage

    Properties

    Arguments

    Gets arguments of the RequestMessage.

    Declaration
    public Dictionary<string, object> Arguments { get; }
    Property Value
    Type Description
    Dictionary<string, 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
    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
    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
    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
    string operation

    The name of the OpProcessor to utilize.

    Returns
    Type Description
    RequestMessage.Builder

    A RequestMessage.Builder to build a RequestMessage.

    In this article
    Back to top Copyright © 2018 The Apache Software Foundation