public interface DataClient
| Modifier and Type | Method and Description |
|---|---|
net.sparkworks.cargo.common.dto.data.SummaryDTO |
getLatestSummary(UUID resourceUuid)
Retrieve latest summary values of a Resource
Retrieve a summary of the data for a specific Resource by its resource ID.
|
net.sparkworks.cargo.common.dto.data.LatestDTO |
getLatestValues(UUID resourceUuid)
Retrieve latest values of a Resource
Retrieve the latest aggregated values for a specific Resource by its resource ID
The response contains the latest aggregated values for intervals of 5 minutes, 1 hour, 1 day and 1 month.
|
net.sparkworks.cargo.common.dto.data.PublishDataListDTO |
publishData(net.sparkworks.cargo.common.dto.data.PublishDataListDTO publishDataListDTO)
Publish data to the provided Resource.
|
net.sparkworks.cargo.common.dto.data.QueryLatestResourceDataResultDTO |
queryLatestResourcesData(net.sparkworks.cargo.common.dto.data.QueryLatestResourceDataDTO queryLatestResourceDataDTO)
Retrieve latest values of criteria matching Resources
Query the latest aggregated values for multiple Resources.
|
net.sparkworks.cargo.common.dto.data.QueryTimeRangeResourceDataResultDTO |
queryTimeRangeResourcesData(net.sparkworks.cargo.common.dto.data.QueryTimeRangeResourceDataDTO queryTimeRangeResourceDataDTO)
Retrieve latest values of criteria matching Resources within a requested time window
Query the aggregated historical values for multiple Resources within a requested time window.
|
net.sparkworks.cargo.common.dto.data.SummaryDTO getLatestSummary(UUID resourceUuid)
resourceUuid - the Resource UUIDSummaryDTO containing the latest summary valuesnet.sparkworks.cargo.common.dto.data.LatestDTO getLatestValues(UUID resourceUuid)
resourceUuid - the Resource UUIDLatestDTO containing latest valuesnet.sparkworks.cargo.common.dto.data.QueryLatestResourceDataResultDTO queryLatestResourcesData(net.sparkworks.cargo.common.dto.data.QueryLatestResourceDataDTO queryLatestResourceDataDTO)
queryLatestResourceDataDTO - contains a list of query criteria QueryResourceDataCriteriaDTOQueryLatestResourceDataResultDTO that contains a Map that holds the requested data response for each query criterianet.sparkworks.cargo.common.dto.data.QueryTimeRangeResourceDataResultDTO queryTimeRangeResourcesData(net.sparkworks.cargo.common.dto.data.QueryTimeRangeResourceDataDTO queryTimeRangeResourceDataDTO)
queryTimeRangeResourceDataDTO - cointains a list of query criteria for time range requestsQueryTimeRangeResourceDataResultDTO that contains a Map that holds the requested data response for each query criterianet.sparkworks.cargo.common.dto.data.PublishDataListDTO publishData(net.sparkworks.cargo.common.dto.data.PublishDataListDTO publishDataListDTO)
publishDataListDTO - PublishDataListDTO that holds the info of the resources and the data to publish on these resourcePublishDataListDTO the list of the published dataCopyright © 2018. All rights reserved.