4.9 SDO_TOPO_MAP.CLEAR_TOPO_MAP
Format
SDO_TOPO_MAP.CLEAR_TOPO_MAP( topo_map IN VARCHAR2);
Description
Clears all objects and changes in the cache associated with a TopoMap object.
Parameters
- topo_map
-
Name of the TopoMap object. (TopoMap objects are explained in TopoMap Objects.)
Usage Notes
If the TopoMap object is updatable, this procedure changes it to be read-only.
For information about using an in-memory cache to edit topological elements, see Approaches for Editing Topology Data.
Contrast this procedure with the SDO_TOPO_MAP.UPDATE_TOPO_MAP procedure, which applies the changes in the cache associated with the TopoMap object to the topology. You cannot call the SDO_TOPO_MAP.CLEAR_TOPO_MAP procedure if you previously used the SDO_TOPO_MAP.UPDATE_TOPO_MAP procedure on the specified TopoMap object.
This procedure is equivalent to using the clearCache
method of the TopoMap
class of the client-side Java API (described in Topology Data Model Java Interface).
Examples
The following example clears the cache associated with the TopoMap object named CITY_DATA_TOPOMAP
, which is associated with the topology named CITY_DATA
. (The example refers to definitions and data from Topology Built from Topology Data.)
CALL SDO_TOPO_MAP.CLEAR_TOPO_MAP('CITY_DATA_TOPOMAP');
Parent topic: SDO_TOPO_MAP Package Subprograms