Class GatewayRpcFunctions
java.lang.Object
com.inductiveautomation.historian.gateway.rpc.GatewayRpcFunctions
- All Implemented Interfaces:
HistorianRpcFunctions
-
Constructor Summary
ConstructorsConstructorDescriptionGatewayRpcFunctions
(com.inductiveautomation.historian.gateway.scripting.GatewayHistorianFunctions functions) -
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.
-
Constructor Details
-
GatewayRpcFunctions
public GatewayRpcFunctions(com.inductiveautomation.historian.gateway.scripting.GatewayHistorianFunctions functions)
-
-
Method Details
-
browse
Description copied from interface:HistorianRpcFunctions
Browses the specified path using the provided filter.- Specified by:
browse
in interfaceHistorianRpcFunctions
- Parameters:
path
- TheQualifiedPath
to browse.filter
- TheBrowseFilter
to apply during browsing.- Returns:
- A
Results
object containing the browse results.
-
queryDataPoints
public void queryDataPoints(DataPointQueryOptions<?> queryOptions, ResultWriterOptions writerOptions) Description copied from interface:HistorianRpcFunctions
Queries data points based on the provided query options and writes the results using the specified writer options.- Specified by:
queryDataPoints
in interfaceHistorianRpcFunctions
- Parameters:
queryOptions
- TheDataPointQueryOptions
specifying the query parameters.writerOptions
- TheResultWriterOptions
specifying how to write the results.
-
queryAnnotations
Description copied from interface:HistorianRpcFunctions
Queries annotations based on the provided query options.- Specified by:
queryAnnotations
in interfaceHistorianRpcFunctions
- Parameters:
queryOptions
- TheAnnotationQueryOptions
specifying the query parameters.- Returns:
- A
Results
object containing the queried annotations.
-
queryMetadata
Description copied from interface:HistorianRpcFunctions
Queries metadata points based on the provided query options.- Specified by:
queryMetadata
in interfaceHistorianRpcFunctions
- Parameters:
queryOptions
- TheMetadataQueryOptions
specifying the query parameters.- Returns:
- A
Results
object containing the queried metadata points.
-
storeDataPoints
Description copied from interface:HistorianRpcFunctions
Stores the provided list of data points.- Specified by:
storeDataPoints
in interfaceHistorianRpcFunctions
- Parameters:
dataPoints
- AList
ofAtomicPoint
objects to store.- Returns:
- A
QualityCode
indicating the result of the operation.
-
storeAnnotations
Description copied from interface:HistorianRpcFunctions
Stores the provided list of annotations.- Specified by:
storeAnnotations
in interfaceHistorianRpcFunctions
- Parameters:
annotations
- AList
ofAnnotationPoint
objects to store.- Returns:
- A
QualityCode
indicating the result of the operation.
-
storeMetadata
Description copied from interface:HistorianRpcFunctions
Stores the provided list of metadata points.- Specified by:
storeMetadata
in interfaceHistorianRpcFunctions
- Parameters:
metadata
- AList
ofMetadataPoint
objects to store.- Returns:
- A
QualityCode
indicating the result of the operation.
-
applyAnnotationChanges
Description copied from interface:HistorianRpcFunctions
Applies the provided list of annotation changes.- Specified by:
applyAnnotationChanges
in interfaceHistorianRpcFunctions
- Parameters:
changes
- AList
ofAnnotationChangePoint
objects representing the changes to apply.- Returns:
- A
QualityCode
indicating the result of the operation.
-
applyHistoricalSourceChanges
Description copied from interface:HistorianRpcFunctions
Applies the provided list of historical source changes.- Specified by:
applyHistoricalSourceChanges
in interfaceHistorianRpcFunctions
- Parameters:
changes
- AList
ofSourceChangePoint
objects representing the changes to apply.- Returns:
- A
QualityCode
indicating the result of the operation.
-