Package co.arago.hiro.client.rest
Class GraphAPI.QueryGremlinCommand
- java.lang.Object
-
- co.arago.hiro.client.rest.AuthenticatedAPIHandler.APIRequestConf<T,R>
-
- co.arago.hiro.client.rest.AuthenticatedAPIHandler.SendBodyAPIRequestConf<T,R>
-
- co.arago.hiro.client.rest.GraphAPI.QueryBodyConf<GraphAPI.QueryGremlinCommand,HiroVertexListMessage>
-
- co.arago.hiro.client.rest.GraphAPI.QueryGremlinCommand
-
- Enclosing class:
- GraphAPI
public class GraphAPI.QueryGremlinCommand extends GraphAPI.QueryBodyConf<GraphAPI.QueryGremlinCommand,HiroVertexListMessage>
query gremlinAPI POST /api/graph/[version]/query/gremlin
- See Also:
- API Documentation, Gremlin query syntax
-
-
Field Summary
-
Fields inherited from class co.arago.hiro.client.rest.GraphAPI.QueryBodyConf
bodyMap
-
Fields inherited from class co.arago.hiro.client.rest.AuthenticatedAPIHandler.SendBodyAPIRequestConf
body
-
Fields inherited from class co.arago.hiro.client.rest.AuthenticatedAPIHandler.APIRequestConf
fragment, headers, httpRequestTimeout, maxRetries, path, query
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedQueryGremlinCommand(java.lang.String ogitId, java.lang.String query)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description HiroVertexListMessageexecute()protected GraphAPI.QueryGremlinCommandself()-
Methods inherited from class co.arago.hiro.client.rest.GraphAPI.QueryBodyConf
addToBody, createBody, setFields, setIncludeDeleted, setListMeta
-
Methods inherited from class co.arago.hiro.client.rest.AuthenticatedAPIHandler.SendBodyAPIRequestConf
setBody, setJsonBodyFromMap, setJsonBodyFromMessage
-
Methods inherited from class co.arago.hiro.client.rest.AuthenticatedAPIHandler.APIRequestConf
setHttpHeaders, setHttpRequestTimeout, setMaxRetries, setUrlFragment, setUrlQuery
-
-
-
-
Method Detail
-
self
protected GraphAPI.QueryGremlinCommand self()
- Specified by:
selfin classAuthenticatedAPIHandler.APIRequestConf<GraphAPI.QueryGremlinCommand,HiroVertexListMessage>
-
execute
public HiroVertexListMessage execute() throws HiroException, java.io.IOException, java.lang.InterruptedException
- Specified by:
executein classAuthenticatedAPIHandler.APIRequestConf<GraphAPI.QueryGremlinCommand,HiroVertexListMessage>- Returns:
HiroVertexListMessageThe Json Response- Throws:
HiroException- When the call returns a http status error.java.io.IOException- When the call got an IO error.java.lang.InterruptedException- When the call gets interrupted.
-
-