Interface HistorianRpcFunctions
- All Known Implementing Classes:
GatewayRpcFunctions
public interface HistorianRpcFunctions
Defines the RPC (Remote Procedure Call) functions for the Historian module.
This interface provides methods for browsing, querying, and storing data points,
annotations, and metadata, as well as applying changes to annotations and historical sources.
It is annotated with RpcInterface
to indicate its use in remote communication.
-
Method Summary
Modifier and TypeMethodDescriptionapplyAnnotationChanges
(List<AnnotationChangePoint> changes) Applies the provided list of annotation changes.Applies the provided list of historical source changes.browse
(QualifiedPath path, BrowseFilter filter) Browses the specified path using the provided filter.queryAnnotations
(AnnotationQueryOptions queryOptions) Queries annotations based on the provided query options.void
queryDataPoints
(DataPointQueryOptions<?> queryOptions, ResultWriterOptions writerOptions) Queries data points based on the provided query options and writes the results using the specified writer options.queryMetadata
(MetadataQueryOptions queryOptions) Queries metadata points based on the provided query options.storeAnnotations
(List<AnnotationPoint> annotations) Stores the provided list of annotations.storeDataPoints
(List<AtomicPoint<?>> dataPoints) Stores the provided list of data points.storeMetadata
(List<MetadataPoint> metadata) Stores the provided list of metadata points.
-
Method Details
-
browse
Browses the specified path using the provided filter.- Parameters:
path
- TheQualifiedPath
to browse.filter
- TheBrowseFilter
to apply during browsing.- Returns:
- A
Results
object containing the browse results.
-
queryDataPoints
Queries data points based on the provided query options and writes the results using the specified writer options.- Parameters:
queryOptions
- TheDataPointQueryOptions
specifying the query parameters.writerOptions
- TheResultWriterOptions
specifying how to write the results.
-
queryAnnotations
Queries annotations based on the provided query options.- Parameters:
queryOptions
- TheAnnotationQueryOptions
specifying the query parameters.- Returns:
- A
Results
object containing the queried annotations.
-
queryMetadata
Queries metadata points based on the provided query options.- Parameters:
queryOptions
- TheMetadataQueryOptions
specifying the query parameters.- Returns:
- A
Results
object containing the queried metadata points.
-
storeDataPoints
Stores the provided list of data points.- Parameters:
dataPoints
- AList
ofAtomicPoint
objects to store.- Returns:
- A
QualityCode
indicating the result of the operation.
-
storeAnnotations
Stores the provided list of annotations.- Parameters:
annotations
- AList
ofAnnotationPoint
objects to store.- Returns:
- A
QualityCode
indicating the result of the operation.
-
storeMetadata
Stores the provided list of metadata points.- Parameters:
metadata
- AList
ofMetadataPoint
objects to store.- Returns:
- A
QualityCode
indicating the result of the operation.
-
applyAnnotationChanges
Applies the provided list of annotation changes.- Parameters:
changes
- AList
ofAnnotationChangePoint
objects representing the changes to apply.- Returns:
- A
QualityCode
indicating the result of the operation.
-
applyHistoricalSourceChanges
Applies the provided list of historical source changes.- Parameters:
changes
- AList
ofSourceChangePoint
objects representing the changes to apply.- Returns:
- A
QualityCode
indicating the result of the operation.
-