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, 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.
-
Constructor Details
-
GatewayRpcFunctions
public GatewayRpcFunctions(com.inductiveautomation.historian.gateway.scripting.GatewayHistorianFunctions functions)
-
-
Method Details
-
browse
Description copied from interface:HistorianRpcFunctionsBrowses the specified path using the provided filter.- Specified by:
browsein interfaceHistorianRpcFunctions- Parameters:
path- TheQualifiedPathto browse.filter- TheBrowseFilterto apply during browsing.- Returns:
- A
Resultsobject containing the browse results.
-
queryDataPoints
public void queryDataPoints(DataPointQueryOptions<?> queryOptions, ResultWriterOptions writerOptions) Description copied from interface:HistorianRpcFunctionsQueries data points based on the provided query options and writes the results using the specified writer options.- Specified by:
queryDataPointsin interfaceHistorianRpcFunctions- Parameters:
queryOptions- TheDataPointQueryOptionsspecifying the query parameters.writerOptions- TheResultWriterOptionsspecifying how to write the results.
-
queryAnnotations
Description copied from interface:HistorianRpcFunctionsQueries annotations based on the provided query options.- Specified by:
queryAnnotationsin interfaceHistorianRpcFunctions- Parameters:
queryOptions- TheAnnotationQueryOptionsspecifying the query parameters.- Returns:
- A
Resultsobject containing the queried annotations.
-
queryMetadata
Description copied from interface:HistorianRpcFunctionsQueries metadata points based on the provided query options.- Specified by:
queryMetadatain interfaceHistorianRpcFunctions- Parameters:
queryOptions- TheMetadataQueryOptionsspecifying the query parameters.- Returns:
- A
Resultsobject containing the queried metadata points.
-
storeDataPoints
Description copied from interface:HistorianRpcFunctionsStores the provided list of data points.- Specified by:
storeDataPointsin interfaceHistorianRpcFunctions- 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
Description copied from interface:HistorianRpcFunctionsStores the provided list of annotations.- Specified by:
storeAnnotationsin interfaceHistorianRpcFunctions- 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
Description copied from interface:HistorianRpcFunctionsStores the provided list of metadata points.- Specified by:
storeMetadatain interfaceHistorianRpcFunctions- 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
public QualityCode applyAnnotationChanges(List<AnnotationChangePoint> changes, boolean blockForResult) Description copied from interface:HistorianRpcFunctionsApplies the provided list of annotation changes.- Specified by:
applyAnnotationChangesin interfaceHistorianRpcFunctions- 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
public QualityCode applyHistoricalSourceChanges(List<SourceChangePoint> changes, boolean blockForResult) Description copied from interface:HistorianRpcFunctionsApplies the provided list of historical source changes.- Specified by:
applyHistoricalSourceChangesin interfaceHistorianRpcFunctions- 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.
-