Package co.arago.hiro.client.rest
Class GraphAPI.GetTimeseriesHistoryCommand
- java.lang.Object
-
- co.arago.hiro.client.rest.AuthenticatedAPIHandler.APIRequestConf<GraphAPI.GetTimeseriesHistoryCommand,HiroMessage>
-
- co.arago.hiro.client.rest.GraphAPI.GetTimeseriesHistoryCommand
-
- Enclosing class:
- GraphAPI
public class GraphAPI.GetTimeseriesHistoryCommand extends AuthenticatedAPIHandler.APIRequestConf<GraphAPI.GetTimeseriesHistoryCommand,HiroMessage>
get timeseries history of an entity (vertex / edge)API GET /api/graph/[version]/{ogit/_id}/values/history
- See Also:
- API Documentation
-
-
Field Summary
-
Fields inherited from class co.arago.hiro.client.rest.AuthenticatedAPIHandler.APIRequestConf
fragment, headers, httpRequestTimeout, maxRetries, path, query
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedGetTimeseriesHistoryCommand(java.lang.String ogitId, long timestamp)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description HiroMessageexecute()protected GraphAPI.GetTimeseriesHistoryCommandself()GraphAPI.GetTimeseriesHistoryCommandsetIncludeDeleted(boolean includeDeleted)-
Methods inherited from class co.arago.hiro.client.rest.AuthenticatedAPIHandler.APIRequestConf
setHttpHeaders, setHttpRequestTimeout, setMaxRetries, setUrlFragment, setUrlQuery
-
-
-
-
Method Detail
-
setIncludeDeleted
public GraphAPI.GetTimeseriesHistoryCommand setIncludeDeleted(boolean includeDeleted)
- Parameters:
includeDeleted- allow getting if ogit/_is-deleted=true- Returns:
- this
-
self
protected GraphAPI.GetTimeseriesHistoryCommand self()
- Specified by:
selfin classAuthenticatedAPIHandler.APIRequestConf<GraphAPI.GetTimeseriesHistoryCommand,HiroMessage>
-
execute
public HiroMessage execute() throws HiroException, java.io.IOException, java.lang.InterruptedException
- Specified by:
executein classAuthenticatedAPIHandler.APIRequestConf<GraphAPI.GetTimeseriesHistoryCommand,HiroMessage>- Returns:
- A
HiroMessagewith the Json result data. - 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.
-
-