Class HistoricalNodeTree<T extends HistoricalNode>
java.lang.Object
com.inductiveautomation.ignition.common.PathTree<QualifiedPath,T>
com.inductiveautomation.historian.gateway.api.query.HistoricalNodeTree<T>
- Type Parameters:
T
- the type of nodes extendingHistoricalNode
that this tree will manage
- All Implemented Interfaces:
Serializable
Represents a specialized tree structure built on top of
PathTree
, where nodes are of a type
extending HistoricalNode
.
This class provides capability for creating and managing nodes
based on customized paths and allows for recursive removal of nodes along with their parent nodes
if certain conditions are met.- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class com.inductiveautomation.ignition.common.PathTree
PathTree.TreeNode
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected PathTree<QualifiedPath,
T>.TreeNode instantiateNode
(PathTree<QualifiedPath, T>.TreeNode parent, QualifiedPath path, int pos) Instantiates a TreeNode under the parent, for the given path position of the path.void
Methods inherited from class com.inductiveautomation.ignition.common.PathTree
browse, clear, computeIfAbsent, findNode, findNode, get, getAllNestedChildren, getBranches, getBranches, getChildren, getRoot, getValuesOfPath, initializeRoot, isCaseSensitive, put, remove, removeIfEmpty, setCaseSensitive, size
-
Constructor Details
-
HistoricalNodeTree
-
-
Method Details
-
instantiateNode
protected PathTree<QualifiedPath,T>.TreeNode instantiateNode(PathTree<QualifiedPath, T>.TreeNode parent, QualifiedPath path, int pos) Description copied from class:PathTree
Instantiates a TreeNode under the parent, for the given path position of the path. Subclasses can override this method to provide custom node types, and to create default values for implicit nodes.- Overrides:
instantiateNode
in classPathTree<QualifiedPath,
T extends HistoricalNode> - Parameters:
parent
- the parent nodepath
- the complete path of the ultimate node being createdpos
- the position in the path that the node is being created for- Returns:
- the new node
-
recursiveRemoveWithParent
-