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, boolean blockForResult) Applies the provided list of annotation changes.applyHistoricalSourceChanges(List<SourceChangePoint> changes, boolean blockForResult) 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.voidqueryDataPoints(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, boolean blockForResult) Stores the provided list of annotations.storeDataPoints(List<AtomicPoint<?>> dataPoints, boolean blockForResult) Stores the provided list of data points.storeMetadata(List<MetadataPoint> metadata, boolean blockForResult) Stores the provided list of metadata points.
-
Method Details
-
browse
Browses the specified path using the provided filter.- Parameters:
path- TheQualifiedPathto browse.filter- TheBrowseFilterto apply during browsing.- Returns:
- A
Resultsobject 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- TheDataPointQueryOptionsspecifying the query parameters.writerOptions- TheResultWriterOptionsspecifying how to write the results.
-
queryAnnotations
Queries annotations based on the provided query options.- Parameters:
queryOptions- TheAnnotationQueryOptionsspecifying the query parameters.- Returns:
- A
Resultsobject containing the queried annotations.
-
queryMetadata
Queries metadata points based on the provided query options.- Parameters:
queryOptions- TheMetadataQueryOptionsspecifying the query parameters.- Returns:
- A
Resultsobject containing the queried metadata points.
-
storeDataPoints
Stores the provided list of data points.- Parameters:
dataPoints- AListofAtomicPointobjects to store.blockForResult- A flag indicating whether the result should be obtained after confirmation that storage has been attempted.- Returns:
- A
QualityCodeindicating the result of the operation.
-
storeAnnotations
Stores the provided list of annotations.- Parameters:
annotations- AListofAnnotationPointobjects to store.blockForResult- A flag indicating whether the result should be obtained after confirmation that storage has been attempted.- Returns:
- A
QualityCodeindicating the result of the operation.
-
storeMetadata
Stores the provided list of metadata points.- Parameters:
metadata- AListofMetadataPointobjects to store.blockForResult- A flag indicating whether the result should be obtained after confirmation that storage has been attempted.- Returns:
- A
QualityCodeindicating the result of the operation.
-
applyAnnotationChanges
Applies the provided list of annotation changes.- Parameters:
changes- AListofAnnotationChangePointobjects representing the changes to apply.blockForResult- A flag indicating whether the result should be obtained after confirmation that the changes have been applied.- Returns:
- A
QualityCodeindicating the result of the operation.
-
applyHistoricalSourceChanges
Applies the provided list of historical source changes.- Parameters:
changes- AListofSourceChangePointobjects representing the changes to apply.blockForResult- A flag indicating whether the result should be obtained after confirmation that the changes have been applied.- Returns:
- A
QualityCodeindicating the result of the operation.
-