Represents a tree of geographic locations. This is
a relationship table of GEONODE, such as country -> state ->
city
Column Descriptions:
Name | Type | Description |
GEOTREE_ID | INTEGER NOT NULL | Geo tree Id. |
CHILD_GEONODE_ID | INTEGER NOT NULL | Child geo node. Foreign key to
GEONODE.GEONODE_ID. |
PARENT_GEONODE_ID | INTEGER | Parent geo node Id. Foreign key to
GEONODE.GEONODE_ID. if this column is null, the child geo node is
the root node of the tree. |
SEQUENCE | DOUBLE | The display sequence. |
OPTCOUNTER | SMALLINT NOT NULL DEFAULT 0 | The optimistic concurrency control counter for
the table. Every time there is an update to the table, the counter
is incremented. |
Indexes:
Name | Column Names | Type |
<SYSTEM-GENERATED> | GEOTREE_ID | Primary Key |
I0001217 | CHILD_GEONODE_ID+PARENT_GEONODE_ID | Unique Index |
I0001218 | PARENT_GEONODE_ID | Non-Unique Index |
Constrained By Parent Tables:
Constraint | Columns | Parent Table | Parent Columns | Type |
F_3576 | CHILD_GEONODE_ID | GEONODE | GEONODE_ID | Cascade |
F_3577 | PARENT_GEONODE_ID | GEONODE | GEONODE_ID | Cascade |