Package ghidra.program.database.module

# Class ParentChildDBAdapterV0

java.lang.Object
ghidra.program.database.module.ParentChildDBAdapterV0

public class ParentChildDBAdapterV0 extends Object

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `ParentChildDBAdapterV0(DBHandle handle, boolean create, long treeID)`
  Gets a version 0 adapter for the program tree parent/child database table.

- ## Method Summary

  Modifier and Type
  Method
  Description
  `DBRecord`
  `addParentChildRecord(long moduleID, long childID)`

  ### Methods inherited from class java.lang.Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- ## Constructor Details

  - ### ParentChildDBAdapterV0

    public ParentChildDBAdapterV0(DBHandle handle, boolean create, long treeID) throws VersionException, IOException
    Gets a version 0 adapter for the program tree parent/child database table.
    Parameters:
      `handle` - handle to the database containing the table.
      `create` - true if this constructor should create the table.
      `treeID` - associated program tree ID
    Throws:
      `VersionException` - if the the table's version does not match the expected version for this adapter.
      `IOException` - if database IO error occurs

- ## Method Details

  - ### addParentChildRecord

    public DBRecord addParentChildRecord(long moduleID, long childID) throws IOException
    Throws:
      `IOException`