Interface TagHistoryManager
-
- All Known Subinterfaces:
GatewayTagHistoryManager
- All Known Implementing Classes:
ProjectDefaultTagManagerFacade
public interface TagHistoryManager
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Results<Result>
browseHistoricalTags(QualifiedPath root, BrowseFilter filter)
java.util.List<java.lang.String>
getTagHistoryProviders()
Returns the names of all of the registered tag history providers.void
queryHistory(TagHistoryQueryParams query, StreamingDatasetWriter writer)
Queries the tag history system for the data as defined by the query parameters.void
queryHistoryDensity(StreamingDatasetWriter writer, java.util.List<? extends Path> path, java.util.Date start, java.util.Date end)
Queries the tag store for data density information.
-
-
-
Method Detail
-
getTagHistoryProviders
java.util.List<java.lang.String> getTagHistoryProviders()
Returns the names of all of the registered tag history providers. The return list is immutable.
-
queryHistory
void queryHistory(TagHistoryQueryParams query, StreamingDatasetWriter writer)
Queries the tag history system for the data as defined by the query parameters. The results are written to the providedStreamingDatasetWriter
. This allows results to be streamed and not collected in memory. However, in order to get a simple Dataset result, simply use theBasicStreamingDataset
.
-
queryHistoryDensity
void queryHistoryDensity(StreamingDatasetWriter writer, java.util.List<? extends Path> path, java.util.Date start, java.util.Date end) throws java.lang.Exception
Queries the tag store for data density information. Will return a structure with two columns: a timestamp, and the "weight", which is not really defined, but instead relative across the return set. The weight is valid until the next entry.- Throws:
java.lang.Exception
-
browseHistoricalTags
Results<Result> browseHistoricalTags(QualifiedPath root, BrowseFilter filter)
-
-