KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > apache > derby > iapi > services > io > StoredFormatIds


1 /*
2
3    Derby - Class org.apache.derby.iapi.services.io.StoredFormatIds
4
5    Licensed to the Apache Software Foundation (ASF) under one or more
6    contributor license agreements. See the NOTICE file distributed with
7    this work for additional information regarding copyright ownership.
8    The ASF licenses this file to you under the Apache License, Version 2.0
9    (the "License"); you may not use this file except in compliance with
10    the License. You may obtain a copy of the License at
11
12       http://www.apache.org/licenses/LICENSE-2.0
13
14    Unless required by applicable law or agreed to in writing, software
15    distributed under the License is distributed on an "AS IS" BASIS,
16    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
17    See the License for the specific language governing permissions and
18    limitations under the License.
19
20  */

21
22 //depot/main/java/org.apache.derby.iapi.services.io/StoredFormatIds.java#211 - edit change 20974 (text)
23
package org.apache.derby.iapi.services.io;
24 /**
25   A format id identifies a stored form of an object for the
26   purposes of locating a class which can read the stored form and
27   reconstruct the object using the java.io.Externalizable interface.
28
29   <P>An important aspect of the format id concept is that it does
30   not impose an implementation on the stored object. Rather,
31   multiple implementations of an object (or interface) may share a
32   format id. One implementation may store (write) an object
33   and another may restore (read) the object. The implication of this
34   is that a format id specifies the following properties of a
35   stored object.
36
37   <UL>
38   <LI>The interface(s) the stored object must support. Any implementation
39   which reads the object must support these interfaces.
40   <LI>The format of the stored object. All implementaions which support
41   the format must be able to read and write it.
42   </UL>
43
44   <P>An object should implement the Formatable inteface to support a
45   stored format. In addition, the module which contains the object
46   should register the object's class with the Monitor (See
47   FormatIdUtil.register.)
48
49   <P>When you add a format id to this file, please include the list
50   of interfaces an implementaion must support when it supports
51   the format id. When Cloudscape code reads a stored form it returns an
52   object of a Class which supports the stored form. A reader may
53   cast this object to any interface listed in this file. It is an error for
54   the reader to cast the object to a class or interface not listed in this
55   file.
56
57   <P>When you implement a class that supports a format, add a comment that
58   states the name of the class. The first implementation of a format defines
59   the stored form.
60
61   <P>This interface defines all the format ids for Cloudscape software.
62   If you define a format id please be sure to declare it in this
63   file. If you remove support for a one please document that the
64   format id is deprecated. Never remove or re-use a format id.
65  */

66 public interface StoredFormatIds {
67
68         /** Byte length of a two byt format id. */
69         int TWO_BYTE_FORMAT_ID_BYTE_LENGTH = 2;
70
71         /** Minimum value for a two byte format id. */
72         int MIN_TWO_BYTE_FORMAT_ID = 0; //16384
73
/** Maximum value for a two byte format id. */
74         int MAX_TWO_BYTE_FORMAT_ID = 0x7FFF; //32767
75

76         int MIN_ID_2 = MIN_TWO_BYTE_FORMAT_ID;
77
78         // TEMP DJD
79
int MIN_ID_4 = MIN_ID_2 + 403;
80
81         /******************************************************************
82         **
83         ** How to add an ID for another Formatable class
84     **
85         ** o In the list of constants below, identify the module that
86         ** defines your class.
87         **
88         ** o Add your class to the list to the end of that module
89         ** use a number that is one greater than all existing formats
90         ** in that module, see MAX_ID_2 or MAX_ID_4 at the end of the
91         ** file, these are the largest existing formatId.
92         **
93         ** o update MAX_ID_2 and MAX_ID_4
94         **
95         **
96         ** o Make sure that the getFormatId() method for your class
97         ** returns the constant that you just made up.
98         **
99         ** o Now find your module startup code that registers Format
100         ** IDs. Add your class to that list.
101         **
102         ** o Add a test for your new format ID to T_StoredFormat.java
103         **
104         ******************************************************************/

105
106
107         /******************************************************************
108         **
109         ** Formats for the StoredFormatModule
110         **
111         **
112         **
113         ******************************************************************/

114
115         /** Special format id for any null referance */
116         static public final int NULL_FORMAT_ID =
117                 (MIN_ID_2 + 0);
118
119         /** Special format id for tagging UTF8 strings */
120         static public final int STRING_FORMAT_ID =
121                 (MIN_ID_2 + 1);
122
123         /** Special format id for tagging Serializable objects. */
124         static public final int SERIALIZABLE_FORMAT_ID =
125                 (MIN_ID_2 + 2);
126         
127         /******************************************************************
128         **
129         ** DataDictionary Formats
130         **
131         **
132         **
133         ******************************************************************/

134         /**
135             class org.apache.derby.iapi.types.BooleanTypeId
136          */

137         static public final int BOOLEAN_TYPE_ID =
138                 (MIN_ID_2 + 4);
139         
140         /**
141             class org.apache.derby.iapi.types.BooleanTypeId
142          */

143         static public final int BOOLEAN_COMPILATION_TYPE_ID =
144                 (MIN_ID_2 + 260);
145         
146         /**
147             class org.apache.derby.iapi.types.CharTypeId
148          */

149         static public final int CHAR_TYPE_ID =
150                 (MIN_ID_2 + 5);
151
152         /**
153             class org.apache.derby.iapi.types.CharTypeId
154          */

155         static public final int CHAR_COMPILATION_TYPE_ID =
156                 (MIN_ID_2 + 244);
157
158         /**
159             class org.apache.derby.iapi.types.DoubleTypeId
160          */

161         static public final int DOUBLE_TYPE_ID =
162                 (MIN_ID_2 + 6);
163         
164         /**
165             class org.apache.derby.iapi.types.DoubleTypeId
166          */

167         static public final int DOUBLE_COMPILATION_TYPE_ID =
168                 (MIN_ID_2 + 245);
169         
170         /**
171             class org.apache.derby.iapi.types.IntTypeId
172          */

173         static public final int INT_TYPE_ID =
174                 (MIN_ID_2 + 7);
175
176         /**
177             class org.apache.derby.iapi.types.IntTypeId
178          */

179         static public final int INT_COMPILATION_TYPE_ID =
180                 (MIN_ID_2 + 246);
181
182         /**
183             class org.apache.derby.iapi.types.RealTypeId
184          */

185         static public final int REAL_TYPE_ID =
186                 (MIN_ID_2 + 8);
187
188         /**
189             class org.apache.derby.iapi.types.RealTypeId
190          */

191         static public final int REAL_COMPILATION_TYPE_ID =
192                 (MIN_ID_2 + 247);
193
194         /**
195             class org.apache.derby.iapi.types.RefTypeId
196          */

197         static public final int REF_TYPE_ID =
198                 (MIN_ID_2 + 9);
199
200         /**
201             class org.apache.derby.iapi.types.RefTypeId
202          */

203         static public final int REF_COMPILATION_TYPE_ID =
204                 (MIN_ID_2 + 248);
205         
206         /**
207             class org.apache.derby.iapi.types.SmallintTypeId
208          */

209         static public final int SMALLINT_TYPE_ID =
210                 (MIN_ID_2 + 10);
211         
212         /**
213             class org.apache.derby.iapi.types.SmallintTypeId
214          */

215         static public final int SMALLINT_COMPILATION_TYPE_ID =
216                 (MIN_ID_2 + 249);
217         
218         /**
219             class org.apache.derby.iapi.types.LongintTypeId
220          */

221         static public final int LONGINT_TYPE_ID =
222                 (MIN_ID_2 + 11);
223         
224         /**
225             class org.apache.derby.iapi.types.LongintTypeId
226          */

227         static public final int LONGINT_COMPILATION_TYPE_ID =
228                 (MIN_ID_2 + 250);
229         
230         /**
231             class org.apache.derby.iapi.types.UserDefinedTypeId
232          */

233         //static public final int USERDEFINED_TYPE_ID =
234
// (MIN_ID_2 + 12);
235

236         /**
237             class org.apache.derby.iapi.types.UserDefinedTypeIdV2
238          */

239         //static public final int USERDEFINED_TYPE_ID_V2 =
240
// (MIN_ID_2 + 267);
241
/**
242             class org.apache.derby.iapi.types.UserDefinedTypeIdV3
243          */

244         static public final int USERDEFINED_TYPE_ID_V3 =
245                 (MIN_ID_2 + 267);
246         
247         /**
248             class org.apache.derby.iapi.types.UserDefinedTypeId
249          */

250         static public final int USERDEFINED_COMPILATION_TYPE_ID =
251                 (MIN_ID_2 + 251);
252         
253         /**
254             class org.apache.derby.iapi.types.UserDefinedTypeIdV2
255          */

256         static public final int USERDEFINED_COMPILATION_TYPE_ID_V2 =
257                 (MIN_ID_2 + 265);
258         
259         /**
260             class org.apache.derby.iapi.types.VarcharTypeId
261          */

262         static public final int VARCHAR_TYPE_ID =
263                 (MIN_ID_2 + 13);
264         
265         /**
266             class org.apache.derby.iapi.types.VarcharTypeId
267          */

268         static public final int VARCHAR_COMPILATION_TYPE_ID =
269                 (MIN_ID_2 + 252);
270         
271         /**
272         class org.apache.derby.catalog.types.TypeDescriptorImpl
273         */

274         static public final int DATA_TYPE_IMPL_DESCRIPTOR_V01_ID =
275                 (MIN_ID_2 + 14);
276         
277         /**
278                 class com.ibm.db2j.protcol.Datatypes.Execution.DataTypeDescriptor
279          */

280         static public final int DATA_TYPE_SERVICES_IMPL_V01_ID =
281                 (MIN_ID_2 + 259);
282
283         /**
284         class org.apache.derby.impl.sql.catalog.ConglomerateDescriptorFinder
285      */

286         static public final int CONGLOMERATE_DESCRIPTOR_FINDER_V01_ID =
287                 (MIN_ID_2 + 135);
288         
289         /**
290         class org.apache.derby.impl.sql.catalog.ConstraintDescriptorFinder
291      */

292         static public final int CONSTRAINT_DESCRIPTOR_FINDER_V01_ID =
293                 (MIN_ID_2 + 208);
294         
295         /**
296         class org.apache.derby.impl.sql.catalog.DefaultDescriptorFinder
297      */

298         static public final int DEFAULT_DESCRIPTOR_FINDER_V01_ID =
299                 (MIN_ID_2 + 325);
300         
301         /**
302         class org.apache.derby.impl.sql.catalog.AliasDescriptorFinder
303      */

304         static public final int ALIAS_DESCRIPTOR_FINDER_V01_ID =
305                 (MIN_ID_2 + 136);
306
307         /**
308         class org.apache.derby.impl.sql.catalog.TableDescriptorFinder
309      */

310         static public final int TABLE_DESCRIPTOR_FINDER_V01_ID =
311                 (MIN_ID_2 + 137);
312
313         /**
314         class org.apache.derby.impl.sql.catalog.CoreDDFinderClassInfo
315      */

316         static public final int ROUTINE_PERMISSION_FINDER_V01_ID =
317                 (MIN_ID_2 + 461);
318
319         /**
320         class org.apache.derby.impl.sql.catalog.CoreDDFinderClassInfo
321      */

322         static public final int TABLE_PERMISSION_FINDER_V01_ID =
323                 (MIN_ID_2 + 462);
324
325         /**
326         class org.apache.derby.impl.sql.catalog.CoreDDFinderClassInfo
327      */

328         static public final int COLUMNS_PERMISSION_FINDER_V01_ID =
329                 (MIN_ID_2 + 463);
330         
331         /**
332         class org.apache.derby.impl.sql.catalog.DataDictionaryDescriptorFinder
333      */

334         static public final int DATA_DICTIONARY_DESCRIPTOR_FINDER_V01_ID =
335                 (MIN_ID_2 + 138);
336         
337         /**
338         class org.apache.derby.impl.sql.catalog.ViewDescriptorFinder
339      */

340         static public final int VIEW_DESCRIPTOR_FINDER_V01_ID =
341                 (MIN_ID_2 + 145);
342         
343         /**
344         class org.apache.derby.impl.sql.catalog.SPSDescriptorFinder
345      */

346         static public final int SPS_DESCRIPTOR_FINDER_V01_ID =
347                 (MIN_ID_2 + 226);
348
349         /**
350         class org.apache.derby.impl.sql.catalog.FileInfoFinder
351      */

352         static public final int FILE_INFO_FINDER_V01_ID =
353                 (MIN_ID_2 + 273);
354
355         /**
356         class org.apache.derby.impl.sql.catalog.TriggerDescriptorFinder
357      */

358         static public final int TRIGGER_DESCRIPTOR_FINDER_V01_ID =
359                 (MIN_ID_2 + 320);
360
361         /**
362         class org.apache.derby.impl.sql.catalog.TriggerDescriptorFinder
363      */

364         static public final int TRIGGER_DESCRIPTOR_V01_ID =
365                 (MIN_ID_2 + 316);
366
367         /**
368         class org.apache.derby.impl.sql.catalog.DD_SocratesVersion
369      */

370         static public final int DD_SOCRATES_VERSION_ID =
371                 (MIN_ID_2 + 174);
372         
373         /**
374         class org.apache.derby.catalog.types.ReferencedColumnsDescriptorImpl
375      */

376         static public final int REFERENCED_COLUMNS_DESCRIPTOR_IMPL_V01_ID =
377                 (MIN_ID_2 + 205);
378         
379         /**
380         class org.apache.derby.impl.sql.catalog.DD_PlatoVersion
381      */

382         static public final int DD_PLATO_VERSION_ID =
383                 (MIN_ID_2 + 206);
384
385         /**
386         class org.apache.derby.impl.sql.catalog.DD_AristotleVersion
387      */

388         static public final int DD_ARISTOTLE_VERSION_ID =
389                 (MIN_ID_2 + 272);
390
391         /**
392           class org.apache.derby.impl.sql.catalog.DD_XenaVersion
393      */

394         static public final int DD_XENA_VERSION_ID =
395                 (MIN_ID_2 + 302);
396
397         /**
398           class org.apache.derby.impl.sql.catalog.DD_BuffyVersion
399      */

400         static public final int DD_BUFFY_VERSION_ID =
401                 (MIN_ID_2 + 373);
402
403         /**
404           class org.apache.derby.impl.sql.catalog.DD_MulanVersion
405      */

406         static public final int DD_MULAN_VERSION_ID =
407                 (MIN_ID_2 + 376);
408
409         /**
410           class org.apache.derby.impl.sql.catalog.DD_IvanovaVersion
411      */

412         static public final int DD_IVANOVA_VERSION_ID =
413                 (MIN_ID_2 + 396);
414
415         /**
416           class org.apache.derby.impl.sql.catalog.DD_DB2J72
417           now mapped to a single class DD_Version.
418           5.0 databases will have this as the format identifier for their
419           catalog version number.
420      */

421         static public final int DD_DB2J72_VERSION_ID =
422                 (MIN_ID_2 + 401);
423
424         /**
425           class org.apache.derby.impl.sql.catalog.DD_Version
426           now mapped to a single class DD_Version.
427           5.1 and later databases will have this as the format identifier for their
428           catalog version number.
429     */

430         static public final int DD_ARWEN_VERSION_ID =
431                 (MIN_ID_2 + 402);
432         
433         /**
434                 class org.apache.derby.iapi.types.LongvarcharTypeId
435          */

436         static public final int LONGVARCHAR_TYPE_ID =
437                 (MIN_ID_2 + 230);
438         
439         /**
440                 class org.apache.derby.iapi.types.LongvarcharTypeId
441          */

442         static public final int LONGVARCHAR_COMPILATION_TYPE_ID =
443                 (MIN_ID_2 + 256);
444
445         /**
446                 class org.apache.derby.iapi.types.LongvarcharTypeId
447          */

448         static public final int CLOB_TYPE_ID =
449                 (MIN_ID_2 + 444);
450         
451         /**
452                 class org.apache.derby.iapi.types.LongvarcharTypeId
453          */

454         static public final int CLOB_COMPILATION_TYPE_ID =
455                 (MIN_ID_2 + 445);
456
457         /**
458                 class org.apache.derby.iapi.types.LongvarbitTypeId
459                 - XXXX does not exist!!!
460          */

461         static public final int LONGVARBIT_TYPE_ID =
462                 (MIN_ID_2 + 232);
463
464         /**
465                 class org.apache.derby.iapi.types.LongvarbitTypeId
466                 - XXXX does not exist!!!
467          */

468         static public final int LONGVARBIT_COMPILATION_TYPE_ID =
469                 (MIN_ID_2 + 255);
470
471         /**
472                 class org.apache.derby.iapi.types.LongvarbitTypeId
473                 - XXXX does not exist!!!
474         But for BLOB we do the same as for LONGVARBIT, only need different ids
475          */

476         static public final int BLOB_TYPE_ID =
477                 (MIN_ID_2 + 440);
478
479         /**
480                 class org.apache.derby.iapi.types.LongvarbitTypeId
481                 - XXXX does not exist!!!
482         But for BLOB we do the same as for LONGVARBIT, only need different ids
483          */

484         static public final int BLOB_COMPILATION_TYPE_ID =
485                 (MIN_ID_2 + 441);
486
487         /**
488                 Instance of TypeId for XML data types.
489          */

490         static public final int XML_TYPE_ID =
491                 (MIN_ID_2 + 456);
492         
493         /**
494             class org.apache.derby.iapi.types.SqlXmlUtil
495         */

496         static public final int SQL_XML_UTIL_V01_ID =
497                 (MIN_ID_2 + 464);
498         
499         /**
500             class org.apache.derby.iapi.types.JSQLType
501          */

502         static public final int JSQLTYPEIMPL_ID =
503                 (MIN_ID_2 + 307);
504
505         /**
506         class org.apache.derby.impl.sql.catalog.RowListImpl
507      */

508         static public final int ROW_LIST_V01_ID =
509                 (MIN_ID_2 + 239);
510         
511         /**
512         class org.apache.derby.impl.sql.catalog.ListOfRowListsImpl
513      */

514         static public final int UNUSED_240 =
515                 (MIN_ID_2 + 240);
516
517         /**
518         class org.apache.derby.impl.sql.catalog.IndexRowGeneratorImpl
519      */

520         static public final int INDEX_ROW_GENERATOR_V01_ID =
521                 (MIN_ID_2 + 268);
522
523         /**
524         class org.apache.derby.iapi.services.io.FormatableBitSet
525      */

526         static public final int BITIMPL_V01_ID =
527                 (MIN_ID_2 + 269);
528
529         /**
530         class org.apache.derby.iapi.services.io.FormatableArrayHolder
531      */

532         static public final int FORMATABLE_ARRAY_HOLDER_V01_ID =
533                 (MIN_ID_2 + 270);
534         
535         /**
536         class org.apache.derby.iapi.services.io.FormatableProperties
537      */

538         static public final int FORMATABLE_PROPERTIES_V01_ID =
539                 (MIN_ID_2 + 271);
540
541         /**
542         class org.apache.derby.iapi.services.io.FormatableIntHolder
543      */

544         static public final int FORMATABLE_INT_HOLDER_V01_ID =
545                 (MIN_ID_2 + 303);
546         
547         /**
548         class org.apache.derby.iapi.services.io.FormatableLongHolder
549      */

550         static public final int FORMATABLE_LONG_HOLDER_V01_ID =
551                 (MIN_ID_2 + 329);
552
553         /**
554         class org.apache.derby.iapi.services.io.FormatableHashtable
555      */

556         static public final int FORMATABLE_HASHTABLE_V01_ID =
557                 (MIN_ID_2 + 313);
558         
559         /**
560             class org.apache.derby.iapi.types.NationalCharTypeId
561          */

562         static public final int NATIONAL_CHAR_TYPE_ID =
563                 (MIN_ID_2 + 370);
564         
565         /**
566             class org.apache.derby.iapi.types.NationalLongvarcharTypeId
567          */

568         static public final int NATIONAL_LONGVARCHAR_TYPE_ID =
569                 (MIN_ID_2 + 362);
570         
571         /**
572             class org.apache.derby.iapi.types.NationalLongvarcharTypeId
573          */

574         static public final int NCLOB_TYPE_ID =
575                 (MIN_ID_2 + 448);
576         
577         /**
578             class org.apache.derby.iapi.types.NationalVarcharTypeId
579          */

580         static public final int NATIONAL_VARCHAR_TYPE_ID =
581                 (MIN_ID_2 + 369);
582
583         /**
584         class org.apache.derby.impl.sql.catalog.SchemaDescriptorFinder
585      */

586         static public final int SCHEMA_DESCRIPTOR_FINDER_V01_ID =
587                 (MIN_ID_2 + 371);
588         
589         /**
590         class org.apache.derby.impl.sql.catalog.ColumnDescriptorFinder
591      */

592         static public final int COLUMN_DESCRIPTOR_FINDER_V01_ID =
593                 (MIN_ID_2 + 393);
594         
595         /******************************************************************
596         **
597         ** DependencySystem Formats
598         **
599         **
600         **
601         ******************************************************************/

602         /**
603             Unused 243
604          */

605         static public final int UNUSED_243 =
606                 (MIN_ID_2 + 243);
607         
608         /**
609           ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
610           ||
611           || DEPRECATED
612           ||
613           ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
614
615         class org.apache.derby.impl.sql.catalog.OIDImpl
616      */

617         static public final int OIDIMPL_V01_ID =
618                 (MIN_ID_2 + 15);
619         
620         /**
621             class org.apache.derby.catalog.types.BooleanTypeIdImpl
622          */

623         static public final int BOOLEAN_TYPE_ID_IMPL =
624                 (MIN_ID_2 + 16);
625
626         /**
627             class org.apache.derby.catalog.types.CharTypeIdImpl
628          */

629         static public final int CHAR_TYPE_ID_IMPL =
630                 (MIN_ID_2 + 17);
631         
632         /**
633             class org.apache.derby.catalog.types.DoubleTypeIdImpl
634          */

635         static public final int DOUBLE_TYPE_ID_IMPL =
636                 (MIN_ID_2 + 18);
637         
638         /**
639             class org.apache.derby.catalog.types.IntTypeIdImpl
640          */

641         static public final int INT_TYPE_ID_IMPL =
642                 (MIN_ID_2 + 19);
643         
644         /**
645             class org.apache.derby.catalog.types.RealTypeIdImpl
646          */

647         static public final int REAL_TYPE_ID_IMPL =
648                 (MIN_ID_2 + 20);
649         
650         /**
651             class org.apache.derby.catalog.types.RefTypeIdImpl
652          */

653         static public final int REF_TYPE_ID_IMPL =
654                 (MIN_ID_2 + 21);
655         
656         /**
657             class org.apache.derby.catalog.types.SmallintTypeIdImpl
658          */

659         static public final int SMALLINT_TYPE_ID_IMPL =
660                 (MIN_ID_2 + 22);
661         
662         /**
663             class org.apache.derby.catalog.types.LongintTypeIdImpl
664          */

665         static public final int LONGINT_TYPE_ID_IMPL =
666                 (MIN_ID_2 + 23);
667         
668         /**
669             class org.apache.derby.catalog.types.UserDefinedTypeIdImpl
670          */

671         //static public final int USERDEFINED_TYPE_ID_IMPL =
672
// (MIN_ID_2 + 24);
673

674         /**
675             class org.apache.derby.catalog.types.UserDefinedTypeIdImpl
676          */

677         //static public final int USERDEFINED_TYPE_ID_IMPL_V2 =
678
// (MIN_ID_2 + 264);
679

680         /**
681             class org.apache.derby.catalog.types.UserDefinedTypeIdImpl
682          */

683         static public final int USERDEFINED_TYPE_ID_IMPL_V3 =
684                 (MIN_ID_2 + 264);
685         /**
686             class org.apache.derby.catalog.types.TypesImplInstanceGetter
687          */

688         static public final int DATE_TYPE_ID_IMPL =
689                 (MIN_ID_2 + 32);
690
691         /**
692             class org.apache.derby.catalog.types.TypesImplInstanceGetter
693          */

694         static public final int TIME_TYPE_ID_IMPL =
695                 (MIN_ID_2 + 33);
696         /**
697             class org.apache.derby.catalog.types.TypesImplInstanceGetter
698          */

699         static public final int TIMESTAMP_TYPE_ID_IMPL =
700                 (MIN_ID_2 + 34);
701
702         /**
703             class org.apache.derby.Database.Language.Execution.MinAggregator
704          */

705         static public final int AGG_MIN_V01_ID =
706                 (MIN_ID_2 + 153);
707
708         /**
709             class org.apache.derby.Database.Language.Execution.CountStarAggregator
710          */

711         static public final int AGG_COUNT_STAR_V01_ID =
712                 (MIN_ID_2 + 150);
713
714
715         /**
716             class org.apache.derby.catalog.types.VarcharTypeIdImpl
717          */

718         static public final int VARCHAR_TYPE_ID_IMPL =
719                 (MIN_ID_2 + 25);
720
721         /**
722             class org.apache.derby.impl.sql.catalog.ParameterDescriptorImpl
723          */

724         static public final int PARAMETER_DESCRIPTOR_V01_ID =
725                 (MIN_ID_2 + 26);
726
727         /**
728             class org.apache.derby.iapi.types.BitTypeId
729          */

730         static public final int BIT_TYPE_ID =
731                 (MIN_ID_2 + 27);
732
733         /**
734             class org.apache.derby.catalog.types.BitTypeIdImpl
735          */

736         static public final int BIT_TYPE_ID_IMPL =
737                 (MIN_ID_2 + 28);
738
739         /**
740             class org.apache.derby.iapi.types.VarbitTypeId
741          */

742         static public final int VARBIT_TYPE_ID =
743                 (MIN_ID_2 + 29);
744
745         /**
746             class org.apache.derby.iapi.types.VarbitTypeId
747          */

748         static public final int VARBIT_COMPILATION_TYPE_ID =
749                 (MIN_ID_2 + 258);
750         
751         /**
752                 class org.apache.derby.catalog.types.VarbitTypeIdImpl
753          */

754         static public final int VARBIT_TYPE_ID_IMPL =
755                 (MIN_ID_2 + 30);
756
757
758         /**
759                 class org.apache.derby.catalog.types.IndexDescriptorImpl
760          */

761         static public final int INDEX_DESCRIPTOR_IMPL_V02_ID =
762                 (MIN_ID_2 + 387);
763
764         /**
765             class org.apache.derby.iapi.types.TinyintTypeId
766          */

767         static public final int TINYINT_TYPE_ID =
768                 (MIN_ID_2 + 195);
769         
770         /**
771                 class org.apache.derby.catalog.types.TinyintTypeIdImpl
772          */

773         static public final int TINYINT_TYPE_ID_IMPL =
774                 (MIN_ID_2 + 196);
775
776         /**
777             class org.apache.derby.iapi.types.DecimalTypeId
778          */

779         static public final int DECIMAL_TYPE_ID =
780                 (MIN_ID_2 + 197);
781
782         /**
783             class org.apache.derby.iapi.types.DateTypeId
784          */

785         static public final int DATE_TYPE_ID =
786                 (MIN_ID_2 + 40);
787
788         /**
789             class org.apache.derby.iapi.types.TimeTypeId
790          */

791         static public final int TIME_TYPE_ID =
792                 (MIN_ID_2 + 35);
793
794         /**
795             class org.apache.derby.iapi.types.TimestampTypeId
796          */

797         static public final int TIMESTAMP_TYPE_ID =
798                 (MIN_ID_2 + 36);
799         
800         /**
801             class org.apache.derby.catalog.types.DecimalTypeIdImpl
802          */

803         static public final int DECIMAL_TYPE_ID_IMPL =
804                 (MIN_ID_2 + 198);
805
806         /**
807                 class org.apache.derby.catalog.types.LongvarcharTypeIdImpl
808          */

809         static public final int LONGVARCHAR_TYPE_ID_IMPL =
810                 (MIN_ID_2 + 231);
811
812         /**
813                 class org.apache.derby.catalog.types.LongvarcharTypeIdImpl
814          */

815         static public final int CLOB_TYPE_ID_IMPL =
816                 (MIN_ID_2 + 446);
817
818         /**
819                 class org.apache.derby.catalog.types.LongvarbitTypeIdImpl
820                 - does nto exist
821          */

822         static public final int LONGVARBIT_TYPE_ID_IMPL =
823                 (MIN_ID_2 + 233);
824
825         /**
826                 class org.apache.derby.catalog.types.LongvarbitTypeIdImpl
827                 - does not exist, but we do it the same way for BLOB as for Longvarbit...
828          */

829         static public final int BLOB_TYPE_ID_IMPL =
830                 (MIN_ID_2 + 442);
831
832         /**
833             class org.apache.derby.iapi.types.BitTypeId
834          */

835         static public final int BIT_COMPILATION_TYPE_ID =
836                 (MIN_ID_2 + 253);
837         
838         /**
839             class org.apache.derby.iapi.types.DecimalTypeId
840          */

841         static public final int DECIMAL_COMPILATION_TYPE_ID =
842                 (MIN_ID_2 + 254);
843         
844         /**
845             class org.apache.derby.iapi.types.TinyintTypeId
846          */

847         static public final int TINYINT_COMPILATION_TYPE_ID =
848                 (MIN_ID_2 + 257);
849
850         /**
851             class org.apache.derby.catalog.types.NationalCharTypeIdImpl
852          */

853         static public final int NATIONAL_CHAR_TYPE_ID_IMPL =
854                 (MIN_ID_2 + 366);
855
856         /**
857             class org.apache.derby.catalog.types.NationalVarcharTypeIdImpl
858          */

859         static public final int NATIONAL_VARCHAR_TYPE_ID_IMPL =
860                 (MIN_ID_2 + 367);
861
862         /**
863             class org.apache.derby.catalog.types.NationalLongVarcharTypeIdImpl
864          */

865         static public final int NATIONAL_LONGVARCHAR_TYPE_ID_IMPL =
866                 (MIN_ID_2 + 368);
867         
868         /**
869             class org.apache.derby.catalog.types.NationalLongVarcharTypeIdImpl
870          */

871         static public final int NCLOB_TYPE_ID_IMPL =
872                 (MIN_ID_2 + 449);
873         
874         /**
875             class org.apache.derby.iapi.types.XML (implementation of
876             org.apache.derby.iapi.types.XMLDataValue).
877          */

878         static public final int XML_TYPE_ID_IMPL =
879                 (MIN_ID_2 + 457);
880
881         /******************************************************************
882         **
883         ** Execution MODULE CLASSES
884         **
885         ******************************************************************/

886
887         /**
888         class org.apache.derby.Database.Language.Execution.RenameConstantAction
889      */

890         static public final int RENAME_CONSTANT_ACTION_V01_ID =
891                 (MIN_ID_2 + 390);
892
893         /**
894                 class org.apache.derby.Database.Language.Execution.DeleteConstantAction
895          */

896         static public final int DELETE_CONSTANT_ACTION_V01_ID =
897                 (MIN_ID_2 + 37);
898
899         /**
900                 class org.apache.derby.Database.Language.Execution.InsertConstantAction
901          */

902         static public final int INSERT_CONSTANT_ACTION_V01_ID =
903                 (MIN_ID_2 + 38);
904
905         /**
906                 class org.apache.derby.Database.Language.Execution.UpdateConstantAction
907          */

908         static public final int UPDATABLE_VTI_CONSTANT_ACTION_V01_ID =
909                 (MIN_ID_2 + 375);
910
911         /**
912                 class org.apache.derby.Database.Language.Execution.UpdateConstantAction
913          */

914         static public final int UPDATE_CONSTANT_ACTION_V01_ID =
915                 (MIN_ID_2 + 39);
916
917         /**
918          */

919         static public final int UNUSED_2_204 =
920                 (MIN_ID_2 + 204);
921
922         /**
923             UNUSED
924          */

925         static public final int UNUSED_2_41 =
926                 (MIN_ID_2 + 41);
927         
928         /**
929         class org.apache.derby.Database.Language.Execution.DropAliasConstantAction
930      */

931         static public final int UNUSED_2_42 =
932                 (MIN_ID_2 + 42);
933         
934         /**
935         class org.apache.derby.Database.Language.Execution.CreateSchemaConstantAction
936      */

937         static public final int UNUSED_2_141 =
938                 (MIN_ID_2 + 141);
939         
940         /**
941      */

942         static public final int UNUSED_2_142 =
943                 (MIN_ID_2 + 142);
944         
945         /**
946         class org.apache.derby.Database.Language.Execution.CreateViewConstantAction
947      */

948         static public final int UNUSED_2_143 =
949                 (MIN_ID_2 + 143);
950         
951         /**
952      */

953         static public final int UNUSED_2_144 =
954                 (MIN_ID_2 + 144);
955
956         /**
957             class org.apache.derby.Database.Language.Execution.ProviderInfo
958          */

959         static public final int PROVIDER_INFO_V01_ID =
960                 (MIN_ID_2 + 148);
961
962         /**
963             class org.apache.derby.Database.Language.Execution.AvgAggregator
964          */

965         static public final int AGG_AVG_V01_ID =
966                 (MIN_ID_2 + 149);
967
968         /**
969             class org.apache.derby.Database.Language.Execution.CountAggregator
970          */

971         static public final int AGG_COUNT_V01_ID =
972                 (MIN_ID_2 + 151);
973
974         /**
975             class org.apache.derby.Database.Language.Execution.MaxMinAggregator
976          */

977         static public final int AGG_MAX_MIN_V01_ID =
978                 (MIN_ID_2 + 152);
979
980         /**
981             class org.apache.derby.Database.Language.Execution.SumAggregator
982          */

983         static public final int AGG_SUM_V01_ID =
984                 (MIN_ID_2 + 154);
985
986         /**
987             class org.apache.derby.Database.Language.Execution.UserAggregatorAggregator
988          */

989         static public final int AGG_USER_ADAPTOR_V01_ID =
990                 (MIN_ID_2 + 323);
991
992         /**
993             class org.apache.derby.Database.Language.Execution.StatisticsConstantAction
994          */

995         static public final int STATISTICS_CONSTANT_ACTION_V01_ID =
996                 (MIN_ID_2 + 155);
997
998         /**
999             class org.apache.derby.impl.sql.execute.RunTimeStatisticsImpl
1000         */

1001        static public final int RUN_TIME_STATISTICS_IMPL_V01_ID =
1002                (MIN_ID_2 + 173);
1003
1004        /**
1005            class org.apache.derby.Database.Language.Execution.LockTableConstantAction
1006         */

1007        static public final int UNUSED_2_275 =
1008                (MIN_ID_2 + 275);
1009
1010        /**
1011            class org.apache.derby.impl.sql.execute.RealProjectRestrictStatistics
1012         */

1013        static public final int REAL_PROJECT_RESTRICT_STATISTICS_IMPL_V01_ID =
1014                (MIN_ID_2 + 177);
1015
1016        /**
1017            class org.apache.derby.impl.sql.execute.RealDistinctScalarAggregateStatistics
1018         */

1019        static public final int REAL_DISTINCT_SCALAR_AGGREGATE_STATISTICS_IMPL_V01_ID =
1020                (MIN_ID_2 + 284);
1021
1022        /**
1023            class org.apache.derby.impl.sql.execute.RealScalarAggregateStatistics
1024         */

1025        static public final int REAL_SCALAR_AGGREGATE_STATISTICS_IMPL_V01_ID =
1026                (MIN_ID_2 + 283);
1027
1028        /**
1029            class org.apache.derby.impl.sql.execute.RealGroupedAggregateStatistics
1030         */

1031        static public final int REAL_GROUPED_AGGREGATE_STATISTICS_IMPL_V01_ID =
1032                (MIN_ID_2 + 285);
1033
1034        /**
1035            class org.apache.derby.impl.sql.execute.RealSortStatistics
1036         */

1037        static public final int REAL_SORT_STATISTICS_IMPL_V01_ID =
1038                (MIN_ID_2 + 178);
1039
1040        /**
1041            class org.apache.derby.impl.sql.execute.RealTableScanStatistics
1042         */

1043        static public final int REAL_TABLE_SCAN_STATISTICS_IMPL_V01_ID =
1044                (MIN_ID_2 + 179);
1045
1046        /**
1047            class org.apache.derby.impl.sql.execute.RealHashJoinStatistics
1048         */

1049        static public final int REAL_HASH_JOIN_STATISTICS_IMPL_V01_ID =
1050                (MIN_ID_2 + 304);
1051
1052        /**
1053            class org.apache.derby.impl.sql.execute.RealNestedLoopJoinStatistics
1054         */

1055        static public final int REAL_NESTED_LOOP_JOIN_STATISTICS_IMPL_V01_ID =
1056                (MIN_ID_2 + 180);
1057
1058        /**
1059            class org.apache.derby.impl.sql.execute.RealIndexRowToBaseRowStatistics
1060         */

1061        static public final int REAL_INDEX_ROW_TO_BASE_ROW_STATISTICS_IMPL_V01_ID =
1062                (MIN_ID_2 + 181);
1063
1064        /**
1065            class org.apache.derby.impl.sql.execute.RealAnyResultSetStatistics
1066         */

1067        static public final int REAL_ANY_RESULT_SET_STATISTICS_IMPL_V01_ID =
1068                (MIN_ID_2 + 182);
1069
1070        /**
1071            class org.apache.derby.impl.sql.execute.RealOnceResultSetStatistics
1072         */

1073        static public final int REAL_ONCE_RESULT_SET_STATISTICS_IMPL_V01_ID =
1074                (MIN_ID_2 + 183);
1075
1076        /**
1077            class org.apache.derby.impl.sql.execute.RealCurrentOfStatistics
1078         */

1079        static public final int REAL_CURRENT_OF_STATISTICS_IMPL_V01_ID =
1080                (MIN_ID_2 + 184);
1081
1082        /**
1083            class org.apache.derby.impl.sql.execute.RealRowResultSetStatistics
1084         */

1085        static public final int REAL_ROW_RESULT_SET_STATISTICS_IMPL_V01_ID =
1086                (MIN_ID_2 + 185);
1087
1088        /**
1089            class org.apache.derby.impl.sql.execute.RealUnionResultSetStatistics
1090         */

1091        static public final int REAL_UNION_RESULT_SET_STATISTICS_IMPL_V01_ID =
1092                (MIN_ID_2 + 186);
1093
1094        /**
1095            class org.apache.derby.impl.sql.execute.RealHashLeftOuterJoinStatistics
1096         */

1097        static public final int REAL_HASH_LEFT_OUTER_JOIN_STATISTICS_IMPL_V01_ID =
1098                (MIN_ID_2 + 305);
1099
1100        /**
1101            class org.apache.derby.impl.sql.execute.RealNestedLoopLeftOuterJoinStatistics
1102         */

1103        static public final int REAL_NESTED_LOOP_LEFT_OUTER_JOIN_STATISTICS_IMPL_V01_ID =
1104                (MIN_ID_2 + 187);
1105
1106        /**
1107            class org.apache.derby.impl.sql.execute.RealNormalizeResultSetStatistics
1108         */

1109        static public final int REAL_NORMALIZE_RESULT_SET_STATISTICS_IMPL_V01_ID =
1110                (MIN_ID_2 + 188);
1111
1112        /**
1113            class org.apache.derby.impl.sql.execute.RealInsertResultSetStatistics
1114         */

1115        static public final int REAL_INSERT_RESULT_SET_STATISTICS_IMPL_V01_ID =
1116                (MIN_ID_2 + 189);
1117
1118        /**
1119            class org.apache.derby.impl.sql.execute.RealInsertVTIResultSetStatistics
1120         */

1121        static public final int REAL_INSERT_VTI_RESULT_SET_STATISTICS_IMPL_V01_ID =
1122                (MIN_ID_2 + 379);
1123
1124        /**
1125            class org.apache.derby.impl.sql.execute.RealUpdateResultSetStatistics
1126         */

1127        static public final int REAL_UPDATE_RESULT_SET_STATISTICS_IMPL_V01_ID =
1128                (MIN_ID_2 + 190);
1129
1130        /**
1131            class org.apache.derby.impl.sql.execute.RealDeleteResultSetStatistics
1132         */

1133        static public final int REAL_DELETE_VTI_RESULT_SET_STATISTICS_IMPL_V01_ID =
1134                (MIN_ID_2 + 380);
1135
1136        /**
1137            class org.apache.derby.impl.sql.execute.RealDeleteResultSetStatistics
1138         */

1139        static public final int REAL_DELETE_RESULT_SET_STATISTICS_IMPL_V01_ID =
1140                (MIN_ID_2 + 191);
1141
1142        /**
1143           org.apache.derby.impl.sql.execute.rts.RealDeleteCascadeResultSetStatistics"
1144         */

1145        static public final int REAL_DELETE_CASCADE_RESULT_SET_STATISTICS_IMPL_V01_ID =
1146                (MIN_ID_2 + 439);
1147
1148
1149
1150        /**
1151            class org.apache.derby.impl.sql.execute.RealHashScanStatistics
1152         */

1153        static public final int REAL_HASH_SCAN_STATISTICS_IMPL_V01_ID =
1154                (MIN_ID_2 + 203);
1155
1156        /**
1157            class org.apache.derby.impl.sql.execute.RealDistinctScanStatistics
1158         */

1159        static public final int REAL_DISTINCT_SCAN_STATISTICS_IMPL_V01_ID =
1160                (MIN_ID_2 + 334);
1161
1162        /**
1163            class org.apache.derby.impl.sql.execute.RealHashTableStatistics
1164         */

1165        static public final int REAL_HASH_TABLE_STATISTICS_IMPL_V01_ID =
1166                (MIN_ID_2 + 306);
1167
1168        /**
1169            class org.apache.derby.impl.sql.execute.RealVTIStatistics
1170         */

1171        static public final int REAL_VTI_STATISTICS_IMPL_V01_ID =
1172                (MIN_ID_2 + 214);
1173
1174        /**
1175            class org.apache.derby.impl.sql.execute.RealMaterializedResultSetStatistics
1176         */

1177        static public final int REAL_MATERIALIZED_RESULT_SET_STATISTICS_IMPL_V01_ID =
1178                (MIN_ID_2 + 308);
1179
1180        /**
1181            class org.apache.derby.impl.sql.execute.RealScrollInsensitiveResultSetStatistics
1182         */

1183        static public final int REAL_SCROLL_INSENSITIVE_RESULT_SET_STATISTICS_IMPL_V01_ID =
1184                (MIN_ID_2 + 330);
1185
1186        /**
1187        class org.apache.derby.Database.Language.Execution.CreateSPSConstantAction
1188     */

1189        static public final int UNUSED_2_221 =
1190                (MIN_ID_2 + 221);
1191        
1192        /**
1193        class org.apache.derby.Database.Language.Execution.CreateSPSConstantAction
1194     */

1195        static public final int UNUSED_2_222 =
1196                (MIN_ID_2 + 222);
1197
1198        /**
1199        class org.apache.derby.Database.Language.Execution.AlterSPSConstantAction
1200     */

1201        static public final int ALTER_SPS_CONSTANT_ACTION_V01_ID =
1202                (MIN_ID_2 + 229);
1203
1204        /**
1205        class org.apache.derby.Database.Language.Execution.IndexColumnOrder
1206     */

1207        static public final int INDEX_COLUMN_ORDER_V01_ID =
1208                (MIN_ID_2 + 218);
1209
1210        /**
1211        class org.apache.derby.Database.Language.Execution.AggregateInfo
1212     */

1213        static public final int AGG_INFO_V01_ID =
1214                (MIN_ID_2 + 223);
1215
1216        /**
1217        class org.apache.derby.Database.Language.Execution.AggregateInfoList
1218     */

1219        static public final int AGG_INFO_LIST_V01_ID =
1220                (MIN_ID_2 + 224);
1221
1222        /**
1223                class org.apache.derby.Database.Language.Execution.DeleteConstantAction
1224                This class is abstract so it doesn't need a format id!
1225         */

1226        static public final int WRITE_CURSOR_CONSTANT_ACTION_V01_ID =
1227                (MIN_ID_2 + 227);
1228
1229        /**
1230                class org.apache.derby.Database.Language.Execution.ValueRow
1231         */

1232        static public final int VALUE_ROW_V01_ID =
1233                (MIN_ID_2 + 237);
1234
1235        /**
1236                class org.apache.derby.Database.Language.Execution.IndexRow
1237         */

1238        static public final int INDEX_ROW_V01_ID =
1239                (MIN_ID_2 + 238);
1240
1241        /**
1242          class org.apache.derby.impl.sql.execute.AddJarConstantAction;
1243         */

1244        static public final int ADD_JAR_CONSTANT_ACTION_V01_ID =
1245                (MIN_ID_2 + 211);
1246
1247        /**
1248          class org.apache.derby.impl.sql.execute.DropJarConstantAction;
1249         */

1250        static public final int DROP_JAR_CONSTANT_ACTION_V01_ID =
1251                (MIN_ID_2 + 212);
1252
1253        /**
1254          class org.apache.derby.impl.sql.execute.ReplaceJarConstantAction;
1255         */

1256        static public final int REPLACE_JAR_CONSTANT_ACTION_V01_ID =
1257                (MIN_ID_2 + 213);
1258
1259         /**
1260        class org.apache.derby.Database.Language.Execution.ConstraintInfo
1261     */

1262        static public final int CONSTRAINT_INFO_V01_ID =
1263                (MIN_ID_2 + 278);
1264
1265        /**
1266         */

1267        static public final int UNUSED_2_280 =
1268                (MIN_ID_2 + 280);
1269
1270        /**
1271        class org.apache.derby.Database.Language.Execution.FKInfo
1272     */

1273        static public final int FK_INFO_V01_ID =
1274                (MIN_ID_2 + 282);
1275
1276        /**
1277         */

1278        static public final int UNUSED_2_289 =
1279                (MIN_ID_2 + 289);
1280        
1281        /**
1282        class org.apache.derby.impl.sql.execute.CreateTriggerConstantAction
1283     */

1284        static public final int CREATE_TRIGGER_CONSTANT_ACTION_V01_ID =
1285                (MIN_ID_2 + 314);
1286        
1287        /**
1288        class org.apache.derby.impl.sql.execute.DropTriggerConstantAction
1289     */

1290        static public final int DROP_TRIGGER_CONSTANT_ACTION_V01_ID =
1291                (MIN_ID_2 + 315);
1292
1293        /**
1294        class org.apache.derby.impl.sql.execute.TriggerInfo
1295     */

1296        static public final int TRIGGER_INFO_V01_ID =
1297                (MIN_ID_2 + 317);
1298
1299        /**
1300        class org.apache.derby.impl.sql.execute.TransactionConstantAction
1301     */

1302        static public final int TRANSACTION_CONSTANT_ACTION_V01_ID =
1303                (MIN_ID_2 + 318);
1304
1305        /**
1306        class org.apache.derby.Database.Language.Execution.SetTriggersConstantAction
1307         */

1308        static public final int SET_TRIGGERS_CONSTANT_ACTION_V01_ID =
1309                (MIN_ID_2 + 321);
1310
1311        /**
1312            class org.apache.derby.Replication.Database.Language.Execution.RepSetTriggersConstantAction
1313         */

1314        static public final int REP_SET_TRIGGERS_CONSTANT_ACTION_V01_ID =
1315                (MIN_ID_2 + 322);
1316
1317        /**
1318            class org.apache.derby.impl.sql.execute.RealLastIndexKeyScanStatistics
1319         */

1320        static public final int REAL_LAST_INDEX_KEY_SCAN_STATISTICS_IMPL_V01_ID =
1321                (MIN_ID_2 + 327);
1322
1323        ////////////////////////////////////////////////////////////////////////////
1324
//
1325
// New versions of 2.0 Language ConstantActions, versioned in 3.0
1326
//
1327
////////////////////////////////////////////////////////////////////////////
1328

1329
1330        /** class org.apache.derby.Database.Language.Execution.SetSchemaConstantAction */
1331        static public final int SET_SCHEMA_CONSTANT_ACTION_V02_ID = (MIN_ID_2 + 353);
1332
1333        /** class org.apache.derby.Database.Language.Execution.SetTransactionIsolationConstantAction */
1334        static public final int SET_TRANSACTION_ISOLATION_CONSTANT_ACTION_V02_ID = (MIN_ID_2 + 354);
1335
1336        /** class org.apache.derby.impl.sql.execute.ColumnInfo */
1337        static public final int COLUMN_INFO_V02_ID = (MIN_ID_2 + 358);
1338
1339        /** class org.apache.derby.Database.Language.DependencySystem.Generic.ProviderInfo */
1340        static public final int PROVIDER_INFO_V02_ID = (MIN_ID_2 + 359);
1341
1342        /** class org.apache.derby.impl.sql.execute.SavepointConstantAction */
1343        static public final int SAVEPOINT_V01_ID = (MIN_ID_2 + 452);
1344
1345        /******************************************************************
1346        **
1347        ** LanguageInterface MODULE CLASSES
1348        **
1349        ******************************************************************/

1350        /**
1351        class org.apache.derby.impl.sql.GenericStorablePreparedStatement
1352     */

1353        static public final int STORABLE_PREPARED_STATEMENT_V01_ID =
1354                (MIN_ID_2 + 225);
1355        
1356        /**
1357        class org.apache.derby.impl.sql.GenericResultDescription
1358     */

1359        static public final int GENERIC_RESULT_DESCRIPTION_V01_ID =
1360                (MIN_ID_2 + 228);
1361
1362        /**
1363        UNUSED
1364     */

1365        static public final int UNUSED_2_215 = (MIN_ID_2 + 215);
1366
1367        /**
1368        class org.apache.derby.impl.sql.GenericTypeDescriptor
1369     */

1370        static public final int GENERIC_TYPE_DESCRIPTOR_V01_ID =
1371                (MIN_ID_2 + 216);
1372
1373        /**
1374        class org.apache.derby.impl.sql.GenericTypeId
1375     */

1376        static public final int GENERIC_TYPE_ID_V01_ID =
1377                (MIN_ID_2 + 217);
1378
1379        /**
1380        class org.apache.derby.impl.sql.CursorTableReference
1381     */

1382        static public final int CURSOR_TABLE_REFERENCE_V01_ID =
1383                (MIN_ID_2 + 296);
1384
1385        /**
1386        class org.apache.derby.impl.sql.CursorInfo
1387     */

1388        static public final int CURSOR_INFO_V01_ID =
1389                (MIN_ID_2 + 297);
1390
1391        /******************************************************************
1392        **
1393        ** ALIAS INFO CLASSES
1394        **
1395        ******************************************************************/

1396
1397        /**
1398        class org.apache.derby.catalog.types.ClassAliasInfo
1399     */

1400        static public final int CLASS_ALIAS_INFO_V01_ID =
1401                (MIN_ID_2 + 310);
1402
1403        /**
1404        class org.apache.derby.catalog.types.MethodAliasInfo
1405     */

1406        static public final int METHOD_ALIAS_INFO_V01_ID =
1407                (MIN_ID_2 + 312);
1408
1409        /**
1410        class org.apache.derby.catalog.types.WorkUnitAliasInfo
1411     */

1412        static public final int WORK_UNIT_ALIAS_INFO_V01_ID =
1413                (MIN_ID_2 + 309);
1414
1415        /**
1416        class org.apache.derby.catalog.types.UserAggregateAliasInfo
1417     */

1418        static public final int USER_AGGREGATE_ALIAS_INFO_V01_ID =
1419                (MIN_ID_2 + 311);
1420
1421
1422
1423    public static final int ROUTINE_INFO_V01_ID = (MIN_ID_2 + 451);
1424    public static final int SYNONYM_INFO_V01_ID = (MIN_ID_2 + 455);
1425
1426    /******************************************************************
1427    **
1428    ** DEFAULT INFO CLASSES
1429    **
1430    ******************************************************************/

1431                
1432        /**
1433        class org.apache.derby.catalog.types.DefaultInfoImpl
1434     */

1435        static public final int DEFAULT_INFO_IMPL_V01_ID =
1436                (MIN_ID_2 + 326);
1437
1438
1439
1440
1441
1442        /**
1443        class org.apache.derby.impl.sql.GenericColumnDescriptor
1444     */

1445        static public final int GENERIC_COLUMN_DESCRIPTOR_V02_ID =
1446                (MIN_ID_2 + 383);
1447
1448
1449        /**
1450                UNUSED (MIN_ID_2 + 384)
1451        */

1452
1453        /**
1454            UNUSED (MIN_ID_2 + 382)
1455         */

1456
1457        
1458
1459
1460        /******************************************************************
1461        **
1462        ** Type system id's
1463        **
1464        ******************************************************************/

1465
1466        public static final int SQL_BOOLEAN_ID =
1467                (MIN_ID_2 + 77);
1468
1469        public static final int SQL_CHAR_ID =
1470                (MIN_ID_2 + 78);
1471
1472        public static final int SQL_DOUBLE_ID =
1473                (MIN_ID_2 + 79);
1474
1475        public static final int SQL_INTEGER_ID =
1476                (MIN_ID_2 + 80);
1477
1478        public static final int SQL_REAL_ID =
1479                (MIN_ID_2 + 81);
1480
1481        public static final int SQL_REF_ID =
1482                (MIN_ID_2 + 82);
1483
1484        public static final int SQL_SMALLINT_ID =
1485                (MIN_ID_2 + 83);
1486
1487        public static final int SQL_LONGINT_ID =
1488                (MIN_ID_2 + 84);
1489
1490        public static final int SQL_VARCHAR_ID =
1491                (MIN_ID_2 + 85);
1492
1493        //public static final int SQL_USERTYPE_ID =
1494
// (MIN_ID_2 + 86);
1495

1496        //public static final int SQL_USERTYPE_ID_V2 =
1497
// (MIN_ID_2 + 266);
1498

1499        public static final int SQL_USERTYPE_ID_V3 =
1500                (MIN_ID_2 + 266);
1501
1502        public static final int SQL_DATE_ID =
1503                (MIN_ID_2 + 298);
1504
1505        public static final int SQL_TIME_ID =
1506                (MIN_ID_2 + 299);
1507
1508        public static final int SQL_TIMESTAMP_ID =
1509                (MIN_ID_2 + 31);
1510
1511        public static final int SQL_BIT_ID =
1512                (MIN_ID_2 + 87);
1513
1514        public static final int SQL_VARBIT_ID =
1515                (MIN_ID_2 + 88);
1516
1517        public static final int SQL_TINYINT_ID =
1518                (MIN_ID_2 + 199);
1519
1520        public static final int SQL_DECIMAL_ID =
1521                (MIN_ID_2 + 200);
1522
1523        public static final int SQL_LONGVARCHAR_ID =
1524                (MIN_ID_2 + 235);
1525
1526        public static final int SQL_CLOB_ID =
1527                (MIN_ID_2 + 447);
1528
1529        public static final int SQL_LONGVARBIT_ID =
1530                (MIN_ID_2 + 234);
1531
1532        public static final int SQL_BLOB_ID =
1533                (MIN_ID_2 + 443);
1534
1535        public static final int SQL_NATIONAL_CHAR_ID =
1536                (MIN_ID_2 + 363);
1537
1538        public static final int SQL_NATIONAL_VARCHAR_ID =
1539                (MIN_ID_2 + 364);
1540
1541        public static final int SQL_NATIONAL_LONGVARCHAR_ID =
1542                (MIN_ID_2 + 365);
1543
1544        public static final int SQL_NCLOB_ID =
1545                (MIN_ID_2 + 450);
1546
1547        // Interface: org.apache.derby.iapi.types.XMLDataValue
1548
public static final int XML_ID =
1549                (MIN_ID_2 + 458);
1550
1551        /******************************************************************
1552        **
1553        ** Access ids.
1554        **
1555        **
1556        **
1557        ******************************************************************/

1558        public static final int ACCESS_U8_V1_ID =
1559                (MIN_ID_2 + 89);
1560
1561        public static final int ACCESS_HEAP_ROW_LOCATION_V1_ID =
1562                (MIN_ID_2 + 90);
1563
1564        public static final int ACCESS_HEAP_V2_ID =
1565                (MIN_ID_2 + 91);
1566
1567        public static final int ACCESS_B2I_V2_ID =
1568                (MIN_ID_2 + 92);
1569
1570        public static final int ACCESS_FORMAT_ID =
1571                (MIN_ID_2 + 93);
1572
1573        public static final int ACCESS_T_STRINGCOLUMN_ID =
1574                (MIN_ID_2 + 94);
1575
1576        public static final int ACCESS_B2IUNDO_V1_ID =
1577                (MIN_ID_2 + 95);
1578
1579    // Deleted as part of 7.2 rebrand project.
1580

1581    /*
1582        public static final int ACCESS_CONGLOMDIR_V1_ID =
1583                (MIN_ID_2 + 96);
1584    */

1585        public static final int ACCESS_BTREE_LEAFCONTROLROW_V1_ID =
1586                (MIN_ID_2 + 133);
1587
1588        public static final int ACCESS_BTREE_BRANCHCONTROLROW_V1_ID =
1589                (MIN_ID_2 + 134);
1590
1591        public static final int ACCESS_SERIALIZABLEWRAPPER_V1_ID =
1592                (MIN_ID_2 + 202);
1593
1594        public static final int ACCESS_B2I_STATIC_COMPILED_V1_ID =
1595                (MIN_ID_2 + 360);
1596
1597    public static final int ACCESS_TREE_V1_ID =
1598        (MIN_ID_2 + 386);
1599
1600        public static final int ACCESS_B2I_V3_ID =
1601                (MIN_ID_2 + 388);
1602
1603        public static final int ACCESS_GISTUNDO_V1_ID =
1604                (MIN_ID_2 + 389);
1605
1606        public static final int ACCESS_GIST_LEAFCONTROLROW_V1_ID =
1607                (MIN_ID_2 + 394);
1608
1609        public static final int ACCESS_GIST_BRANCHCONTROLROW_V1_ID =
1610                (MIN_ID_2 + 395);
1611
1612        public static final int STATISTICS_IMPL_V01_ID =
1613                (MIN_ID_2 + 397);
1614
1615        public static final int UPDATE_STATISTICS_CONSTANT_ACTION_ID =
1616                (MIN_ID_2 + 398);
1617
1618        public static final int DROP_STATISTICS_CONSTANT_ACTION_ID =
1619                (MIN_ID_2 + 399);
1620
1621        public static final int ACCESS_GIST_RTREE_V1_ID =
1622                (MIN_ID_2 + 400);
1623
1624        public static final int ACCESS_T_RECTANGLE_ID =
1625                (MIN_ID_4 + 34);
1626
1627        public static final int ACCESS_T_INTCOL_V1_ID = MIN_ID_4 + 4;
1628
1629        /******************************************************************
1630        **
1631        ** PropertyConglomerate
1632        **
1633        **
1634        **
1635        ******************************************************************/

1636        /** class org.apache.derby.impl.store.access.PropertyConglomerate */
1637          
1638        static public final int PC_XENA_VERSION_ID =
1639                (MIN_ID_2 + 15);
1640
1641
1642        /******************************************************************
1643        **
1644        ** Raw Store Log operation Ids
1645        **
1646        **
1647        **
1648        ******************************************************************/

1649
1650        /* org.apache.derby.impl.store.raw.data.ChainAllocPageOperation */
1651        public static final int LOGOP_CHAIN_ALLOC_PAGE =
1652                (MIN_ID_2 + 97);
1653
1654        /* org.apache.derby.impl.store.raw.xact.BeginXact */
1655        public static final int LOGOP_BEGIN_XACT =
1656                (MIN_ID_2 + 169);
1657
1658        /* org.apache.derby.impl.store.raw.log.CheckpointOperation */
1659        public static final int LOGOP_CHECKPOINT =
1660                (MIN_ID_2 + 263);
1661
1662        /* org.apache.derby.impl.store.raw.data.ContainerOperation */
1663        /* creating, dropping, removing container */
1664        public static final int LOGOP_CONTAINER =
1665                (MIN_ID_2 + 242);
1666
1667        /* org.apache.derby.impl.store.raw.data.DeleteOperation */
1668        public static final int LOGOP_DELETE =
1669                (MIN_ID_2 + 101);
1670
1671        /* org.apache.derby.impl.store.raw.xact.EndXact */
1672        public static final int LOGOP_END_XACT =
1673                (MIN_ID_2 + 102);
1674
1675        /* org.apache.derby.impl.store.raw.data.InsertOperation */
1676        public static final int LOGOP_INSERT =
1677                (MIN_ID_2 + 103);
1678
1679        /* org.apache.derby.impl.store.raw.data.LogicalUndoOperation */
1680        public static final int LOGOP_PAGE_LOGICAL_UNDO =
1681                (MIN_ID_2 + 104);
1682
1683        /* org.apache.derby.impl.store.raw.data.PhysicalUndoOperation */
1684        public static final int LOGOP_PAGE_PHYSICAL_UNDO =
1685                (MIN_ID_2 + 105);
1686
1687        /* org.apache.derby.impl.store.raw.data.PurgeOperation */
1688        public static final int LOGOP_PURGE =
1689                (MIN_ID_2 + 106);
1690
1691        /* org.apache.derby.impl.store.raw.data.ContainerUndoOperation */
1692        public static final int LOGOP_CONTAINER_UNDO =
1693                (MIN_ID_2 + 107);
1694
1695        /* org.apache.derby.impl.store.raw.data.UpdateOperation */
1696        public static final int LOGOP_UPDATE =
1697                (MIN_ID_2 + 108);
1698
1699        /* org.apache.derby.impl.store.raw.data.UpdateFieldOperation */
1700        public static final int LOGOP_UPDATE_FIELD =
1701                (MIN_ID_2 + 109);
1702
1703        /* org.apache.derby.impl.store.raw.data.CopyRowsOperation */
1704        public static final int LOGOP_COPY_ROWS =
1705                (MIN_ID_2 + 210);
1706
1707        /* org.apache.derby.impl.store.raw.data.AllocPageOperation */
1708        public static final int LOGOP_ALLOC_PAGE =
1709                (MIN_ID_2 + 111);
1710
1711        /*org.apache.derby.impl.store.raw.data.InitPageOperation */
1712        public static final int LOGOP_INIT_PAGE =
1713                (MIN_ID_2 + 241);
1714
1715        /* org.apache.derby.impl.store.raw.data.InvalidatePageOperation */
1716        public static final int LOGOP_INVALIDATE_PAGE =
1717                (MIN_ID_2 + 113);
1718
1719        /* org.apache.derby.impl.store.raw.data.SetReservedSpaceOperation */
1720        public static final int LOGOP_SET_RESERVED_SPACE =
1721                (MIN_ID_2 + 287);
1722
1723        /* org.apache.derby.impl.store.raw.data.RemoveFileOperation */
1724        public static final int LOGOP_REMOVE_FILE =
1725                (MIN_ID_2 + 291);
1726
1727        /* org.apache.derby.impl.store.raw.log.ChecksumOperation */
1728        public static final int LOGOP_CHECKSUM =
1729                (MIN_ID_2 + 453);
1730
1731        /* org.apache.derby.impl.store.raw.data.CompressSpacePageOperation */
1732        public static final int LOGOP_COMPRESS_SPACE =
1733                (MIN_ID_2 + 454);
1734
1735        /* org.apache.derby.impl.store.raw.data.EncryptContainerOperation */
1736        public static final int LOGOP_ENCRYPT_CONTAINER =
1737                (MIN_ID_2 + 459);
1738
1739        /* org.apache.derby.impl.store.raw.data.EncryptContainerUndoOperation */
1740        public static final int LOGOP_ENCRYPT_CONTAINER_UNDO =
1741                (MIN_ID_2 + 460);
1742
1743        /*******************************************************************
1744        **
1745        ** container types
1746        **
1747        ******************************************************************/

1748        /* org.apache.derby.impl.store.raw.data.FileContainer */
1749        public static final int RAW_STORE_SINGLE_CONTAINER_FILE =
1750                (MIN_ID_2 + 116);
1751
1752        /* org.apache.derby.impl.store.raw.data.StreamFileContainer */
1753        public static final int RAW_STORE_SINGLE_CONTAINER_STREAM_FILE =
1754                (MIN_ID_2 + 290);
1755
1756        /*******************************************************************
1757        **
1758        ** page types
1759        **
1760        **
1761        ******************************************************************/

1762        /* org.apache.derby.impl.store.raw.data.StoredPage */
1763        public static final int RAW_STORE_STORED_PAGE =
1764                (MIN_ID_2 + 117);
1765
1766        /* org.apache.derby.impl.store.raw.data.AllocPage */
1767        public static final int RAW_STORE_ALLOC_PAGE =
1768                (MIN_ID_2 + 118);
1769
1770
1771        /*****************************************************************
1772        **
1773        ** Log files
1774        **
1775        **
1776        ******************************************************************/

1777        /* org.apache.derby.impl.store.raw.log.LogToFile */
1778        public static final int FILE_STREAM_LOG_FILE =
1779                (MIN_ID_2 + 128);
1780
1781
1782        /*****************************************************************
1783        **
1784        ** Log record
1785        **
1786        ******************************************************************/

1787        /* org.apache.derby.impl.store.raw.log.LogRecord */
1788        public static final int LOG_RECORD =
1789                (MIN_ID_2 + 129);
1790
1791        /* org.apache.derby.impl.store.raw.log.LogCounter */
1792        public static final int LOG_COUNTER =
1793                (MIN_ID_2 + 130);
1794
1795        /******************************************************************
1796        **
1797        ** identifiers
1798        **
1799        ******************************************************************/

1800        /* org.apache.derby.impl.services.uuid.BasicUUID */
1801        public static final int BASIC_UUID =
1802                (MIN_ID_2 + 131);
1803
1804        /*
1805         * Transaction Ids
1806         */

1807
1808        /* org.apache.derby.impl.store.raw.xact.GlobalXactId */
1809        public static final int RAW_STORE_GLOBAL_XACT_ID_V20 =
1810                (MIN_ID_2 + 132);
1811
1812        /* org.apache.derby.impl.store.raw.xact.XactId */
1813        public static final int RAW_STORE_XACT_ID =
1814                (MIN_ID_2 + 147);
1815
1816        /* org.apache.derby.impl.store.raw.xact.XAXactId */
1817        public static final int RAW_STORE_GLOBAL_XACT_ID_NEW =
1818                (MIN_ID_2 + 328);
1819
1820        /*
1821         * Transaction table
1822         */

1823        /* org.apache.derby.impl.store.raw.xact.TransactionTableEntry */
1824        public static final int RAW_STORE_TRANSACTION_TABLE_ENTRY =
1825                (MIN_ID_2 + 261);
1826
1827        /* org.apache.derby.impl.store.raw.xact.TransactionTable */
1828        public static final int RAW_STORE_TRANSACTION_TABLE =
1829                (MIN_ID_2 + 262);
1830
1831                
1832        /******************************************************************
1833        **
1834        ** LocalDriver Formatables.
1835        **
1836        ******************************************************************/

1837
1838        /* NOT USED = org.apache.derby.impl.jdbc.ExternalizableConnection */
1839        public static final int EXTERNALIZABLE_CONNECTION_ID = (MIN_ID_2 + 192);
1840
1841
1842        /******************************************************************
1843        **
1844        ** InternalUtils MODULE CLASSES
1845        **
1846        ******************************************************************/

1847        /* org.apache.derby.iapi.util.ByteArray */
1848        public static final int FORMATABLE_BYTE_ARRAY_V01_ID = (MIN_ID_2 + 219);
1849
1850
1851       /******************************************************************
1852        **
1853        ** UDPATE MAX_ID_2 WHEN YOU ADD A NEW FORMATABLE
1854        **
1855        ******************************************************************/

1856
1857   
1858        /*
1859         * Make sure this is updated when a new module is added
1860         */

1861        public static final int MAX_ID_2 =
1862                (MIN_ID_2 + 464);
1863
1864        // DO NOT USE 4 BYTE IDS ANYMORE
1865
static public final int MAX_ID_4 =
1866            MIN_ID_4 + 34;
1867}
1868
1869
Popular Tags