Class StringGremlinClient

java.lang.Object
com.Lomikel.Januser.GremlinClient
com.Lomikel.Januser.StringGremlinClient

public class StringGremlinClient extends GremlinClient
Submits complete Gremlin scripts to a remote Gremlin server.

This API is deliberately separate from typed traversal recipes: the server evaluates each string and the client converts driver results for callers that explicitly need script submission.

Author:
J.Hrivnac
  • Field Details

    • _client

      private Client _client
    • _mapper

      private org.apache.tinkerpop.shaded.jackson.databind.ObjectMapper _mapper
    • log

      private static org.apache.logging.log4j.Logger log
      Logging .
  • Constructor Details

    • StringGremlinClient

      public StringGremlinClient(String hostname, int port)
      Create with connection parameters, using the GraphSON serializer.
      Parameters:
      hostname - The Gremlin hostname.
      port - The Gremlin port.
  • Method Details