1 package driexp as
2
3 /*----------------------- get_meta_data ---------------------------*/
4 /*
5 NAME
6 get_meta_data
7 DESCRIPTION
8 see /vobs/rdbms/src/client/tools/exp/prvtpexp.sql and
9 and /vobs/doc/release/rdbms/8.1/function_spec/expimp_extindex_fs.doc
10
11 called during export time.
12
13 construct statements to rebuild index meta-data.
14
15 This procedure is called repeatedly from odcigetmetadata returning
16 no more than varchar2(4000) at a time.
17
18 Constructed statements to regenerate meta-data will be like this:
19 ---------------------------------------------------------
20 driimp.create_index(arguments here);
21
22 driimp.set_object(cla_name1, obj_name1, attribute_count1);
23 driimp.set_value(att_name1, att_value1);
24 driimp.set_value(att_name2, att_value2);
25 ...etc
26
27 driimp.set_object(cla_name2, obj_name2, attribute_count2);
28 driimp.set_value(att_name1, att_value1);
29 driimp.set_value(att_name2, att_value2);
30 ...etc
31
32 ...etc
33
34 commit;
35 ----------------------------------------------------------
36 because cla_id, obj_id and att_id can differ across version
37 cla_name, obj_name and oat_name are being passed instead.
38 ARGUMENTS
39 see /vobs/rdbms/src/client/tools/exp/prvtpexp.sql and
40 and /vobs/doc/release/rdbms/8.1/function_spec/expimp_extindex_fs.doc
41 NOTES
42
43 EXCEPTIONS
44
45 RETURNS
46 */
47 function get_meta_data(
48 p_idx_owner in varchar2,
49 p_idx_name in varchar2,
50 p_new_block in out PLS_INTEGER,
51 IndexInfoFlags in number default NULL
52 )
53 return varchar2;
54
55 end driexp;