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 extending HistoricalNode that this tree will manage
All Implemented Interfaces:
Serializable

public class HistoricalNodeTree<T extends HistoricalNode> extends PathTree<QualifiedPath,T>
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:
  • Constructor Details

  • 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 class PathTree<QualifiedPath,T extends HistoricalNode>
      Parameters:
      parent - the parent node
      path - the complete path of the ultimate node being created
      pos - the position in the path that the node is being created for
      Returns:
      the new node
    • recursiveRemoveWithParent

      public void recursiveRemoveWithParent(QualifiedPath path)