Package step.plugins.timeseries
Class TimeSeriesService
java.lang.Object
step.framework.server.AbstractServices<User>
step.core.deployment.AbstractStepServices
step.plugins.timeseries.TimeSeriesService
-
Field Summary
Fields inherited from class step.core.deployment.AbstractStepServices
configuration, SESSION
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiondiscoverMeasurements
(String oqlFilter, int limit, int skip) getBuckets
(FetchBucketsRequest request) getMeasurementsAttributes
(String oqlFilter) getRawMeasurementsStats
(String oqlFilter) void
init()
boolean
timeSeriesIsBuilt
(String executionId) Return details about the provided OQL, like if it's valid or not, found attributes, etcMethods inherited from class step.core.deployment.AbstractStepServices
checkRightsOnBehalfOf, getAuthorizationManager, getContext, getExecutionRunnable, getObjectEnricher, getObjectFilter, getScheduler
Methods inherited from class step.framework.server.AbstractServices
getAbstractContext, getHttpSession, getSession, getSession, invalidateSession, setHttpServletRequest, setSession
-
Constructor Details
-
TimeSeriesService
public TimeSeriesService()
-
-
Method Details
-
init
- Overrides:
init
in classAbstractStepServices
- Throws:
Exception
-
getBuckets
@POST @Path("/buckets") @Consumes("application/json") @Produces("application/json") public TimeSeriesAPIResponse getBuckets(FetchBucketsRequest request) -
verifyOql
@GET @Path("/oql-verify") @Consumes("application/json") @Produces("application/json") public OQLVerifyResponse verifyOql(@NotNull @QueryParam("oql") @NotNull String oql) Return details about the provided OQL, like if it's valid or not, found attributes, etc -
rebuildTimeSeries
@POST @Path("/rebuild") @Consumes("application/json") @Produces("application/json") public AsyncTaskStatus<Object> rebuildTimeSeries(TimeSeriesRebuildRequest request) -
timeSeriesIsBuilt
@GET @Path("/execution/{executionId}/exists") @Consumes("application/json") @Produces("application/json") public boolean timeSeriesIsBuilt(@PathParam("executionId") String executionId) -
getMeasurementsAttributes
-
discoverMeasurements
@GET @Path("/raw-measurements") @Consumes("application/json") @Produces("application/json") public List<Measurement> discoverMeasurements(@QueryParam("filter") String oqlFilter, @QueryParam("limit") int limit, @QueryParam("skip") int skip) -
getRawMeasurementsStats
@GET @Path("/raw-measurements/stats") @Consumes("application/json") @Produces("application/json") public MeasurementsStats getRawMeasurementsStats(@QueryParam("filter") String oqlFilter)
-