Show / Hide Table of Contents

    Interface IGremlinClient

    Provides a mechanism for submitting Gremlin requests.

    Inherited Members
    System.IDisposable.Dispose()
    Namespace: Gremlin.Net.Driver
    Assembly: cs.temp.dll.dll
    Syntax
    public interface IGremlinClient : IDisposable

    Methods

    SubmitAsync<T>(RequestMessage)

    Submits a request message as an asynchronous operation.

    Declaration
    Task<ResultSet<T>> SubmitAsync<T>(RequestMessage requestMessage)
    Parameters
    Type Name Description
    RequestMessage requestMessage

    The to send.

    Returns
    Type Description
    System.Threading.Tasks.Task<ResultSet<T>>

    A ResultSet<T> containing the data and status attributes returned from the server.

    Type Parameters
    Name Description
    T

    The type of the expected results.

    Exceptions
    Type Condition
    ResponseException

    Thrown when a response is received from Gremlin Server that indicates that an error occurred.

    Back to top Copyright © 2018 The Apache Software Foundation