Show / Hide Table of Contents

Interface IGremlinClient

Provides a mechanism for submitting Gremlin requests.

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

Methods

| Improve this Doc View Source

SubmitAsync<T>(ScriptRequestMessage)

Submits a request message as an asynchronous operation.

Declaration
Task<IEnumerable<T>> SubmitAsync<T>(ScriptRequestMessage requestMessage)
Parameters
Type Name Description
ScriptRequestMessage requestMessage

The ScriptRequestMessage to send.

Returns
Type Description
System.Threading.Tasks.Task<System.Collections.Generic.IEnumerable<T>>

An enumerable collection of the data 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.

Extension Methods

GremlinClientExtensions.SubmitWithSingleResultAsync<T>(IGremlinClient, String, Dictionary<String, Object>)
GremlinClientExtensions.SubmitWithSingleResultAsync<T>(IGremlinClient, ScriptRequestMessage)
GremlinClientExtensions.SubmitAsync(IGremlinClient, String, Dictionary<String, Object>)
GremlinClientExtensions.SubmitAsync(IGremlinClient, ScriptRequestMessage)
GremlinClientExtensions.SubmitAsync<T>(IGremlinClient, String, Dictionary<String, Object>)
  • Improve this Doc
  • View Source
Back to top Copyright © 2015-2017 Microsoft
Generated by DocFX