0001: /*
0002:
0003: Derby - Class org.apache.derby.iapi.services.io.StoredFormatIds
0004:
0005: Licensed to the Apache Software Foundation (ASF) under one or more
0006: contributor license agreements. See the NOTICE file distributed with
0007: this work for additional information regarding copyright ownership.
0008: The ASF licenses this file to you under the Apache License, Version 2.0
0009: (the "License"); you may not use this file except in compliance with
0010: the License. You may obtain a copy of the License at
0011:
0012: http://www.apache.org/licenses/LICENSE-2.0
0013:
0014: Unless required by applicable law or agreed to in writing, software
0015: distributed under the License is distributed on an "AS IS" BASIS,
0016: WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
0017: See the License for the specific language governing permissions and
0018: limitations under the License.
0019:
0020: */
0021:
0022: //depot/main/java/org.apache.derby.iapi.services.io/StoredFormatIds.java#211 - edit change 20974 (text)
0023: package org.apache.derby.iapi.services.io;
0024:
0025: /**
0026: A format id identifies a stored form of an object for the
0027: purposes of locating a class which can read the stored form and
0028: reconstruct the object using the java.io.Externalizable interface.
0029:
0030: <P>An important aspect of the format id concept is that it does
0031: not impose an implementation on the stored object. Rather,
0032: multiple implementations of an object (or interface) may share a
0033: format id. One implementation may store (write) an object
0034: and another may restore (read) the object. The implication of this
0035: is that a format id specifies the following properties of a
0036: stored object.
0037:
0038: <UL>
0039: <LI>The interface(s) the stored object must support. Any implementation
0040: which reads the object must support these interfaces.
0041: <LI>The format of the stored object. All implementaions which support
0042: the format must be able to read and write it.
0043: </UL>
0044:
0045: <P>An object should implement the Formatable inteface to support a
0046: stored format. In addition, the module which contains the object
0047: should register the object's class with the Monitor (See
0048: FormatIdUtil.register.)
0049:
0050: <P>When you add a format id to this file, please include the list
0051: of interfaces an implementaion must support when it supports
0052: the format id. When Cloudscape code reads a stored form it returns an
0053: object of a Class which supports the stored form. A reader may
0054: cast this object to any interface listed in this file. It is an error for
0055: the reader to cast the object to a class or interface not listed in this
0056: file.
0057:
0058: <P>When you implement a class that supports a format, add a comment that
0059: states the name of the class. The first implementation of a format defines
0060: the stored form.
0061:
0062: <P>This interface defines all the format ids for Cloudscape software.
0063: If you define a format id please be sure to declare it in this
0064: file. If you remove support for a one please document that the
0065: format id is deprecated. Never remove or re-use a format id.
0066: */
0067: public interface StoredFormatIds {
0068:
0069: /** Byte length of a two byt format id. */
0070: int TWO_BYTE_FORMAT_ID_BYTE_LENGTH = 2;
0071:
0072: /** Minimum value for a two byte format id. */
0073: int MIN_TWO_BYTE_FORMAT_ID = 0; //16384
0074: /** Maximum value for a two byte format id. */
0075: int MAX_TWO_BYTE_FORMAT_ID = 0x7FFF; //32767
0076:
0077: int MIN_ID_2 = MIN_TWO_BYTE_FORMAT_ID;
0078:
0079: // TEMP DJD
0080: int MIN_ID_4 = MIN_ID_2 + 403;
0081:
0082: /******************************************************************
0083: **
0084: ** How to add an ID for another Formatable class
0085: **
0086: ** o In the list of constants below, identify the module that
0087: ** defines your class.
0088: **
0089: ** o Add your class to the list to the end of that module
0090: ** use a number that is one greater than all existing formats
0091: ** in that module, see MAX_ID_2 or MAX_ID_4 at the end of the
0092: ** file, these are the largest existing formatId.
0093: **
0094: ** o update MAX_ID_2 and MAX_ID_4
0095: **
0096: **
0097: ** o Make sure that the getFormatId() method for your class
0098: ** returns the constant that you just made up.
0099: **
0100: ** o Now find your module startup code that registers Format
0101: ** IDs. Add your class to that list.
0102: **
0103: ** o Add a test for your new format ID to T_StoredFormat.java
0104: **
0105: ******************************************************************/
0106:
0107: /******************************************************************
0108: **
0109: ** Formats for the StoredFormatModule
0110: **
0111: **
0112: **
0113: ******************************************************************/
0114:
0115: /** Special format id for any null referance */
0116: static public final int NULL_FORMAT_ID = (MIN_ID_2 + 0);
0117:
0118: /** Special format id for tagging UTF8 strings */
0119: static public final int STRING_FORMAT_ID = (MIN_ID_2 + 1);
0120:
0121: /** Special format id for tagging Serializable objects. */
0122: static public final int SERIALIZABLE_FORMAT_ID = (MIN_ID_2 + 2);
0123:
0124: /******************************************************************
0125: **
0126: ** DataDictionary Formats
0127: **
0128: **
0129: **
0130: ******************************************************************/
0131: /**
0132: class org.apache.derby.iapi.types.BooleanTypeId
0133: */
0134: static public final int BOOLEAN_TYPE_ID = (MIN_ID_2 + 4);
0135:
0136: /**
0137: class org.apache.derby.iapi.types.BooleanTypeId
0138: */
0139: static public final int BOOLEAN_COMPILATION_TYPE_ID = (MIN_ID_2 + 260);
0140:
0141: /**
0142: class org.apache.derby.iapi.types.CharTypeId
0143: */
0144: static public final int CHAR_TYPE_ID = (MIN_ID_2 + 5);
0145:
0146: /**
0147: class org.apache.derby.iapi.types.CharTypeId
0148: */
0149: static public final int CHAR_COMPILATION_TYPE_ID = (MIN_ID_2 + 244);
0150:
0151: /**
0152: class org.apache.derby.iapi.types.DoubleTypeId
0153: */
0154: static public final int DOUBLE_TYPE_ID = (MIN_ID_2 + 6);
0155:
0156: /**
0157: class org.apache.derby.iapi.types.DoubleTypeId
0158: */
0159: static public final int DOUBLE_COMPILATION_TYPE_ID = (MIN_ID_2 + 245);
0160:
0161: /**
0162: class org.apache.derby.iapi.types.IntTypeId
0163: */
0164: static public final int INT_TYPE_ID = (MIN_ID_2 + 7);
0165:
0166: /**
0167: class org.apache.derby.iapi.types.IntTypeId
0168: */
0169: static public final int INT_COMPILATION_TYPE_ID = (MIN_ID_2 + 246);
0170:
0171: /**
0172: class org.apache.derby.iapi.types.RealTypeId
0173: */
0174: static public final int REAL_TYPE_ID = (MIN_ID_2 + 8);
0175:
0176: /**
0177: class org.apache.derby.iapi.types.RealTypeId
0178: */
0179: static public final int REAL_COMPILATION_TYPE_ID = (MIN_ID_2 + 247);
0180:
0181: /**
0182: class org.apache.derby.iapi.types.RefTypeId
0183: */
0184: static public final int REF_TYPE_ID = (MIN_ID_2 + 9);
0185:
0186: /**
0187: class org.apache.derby.iapi.types.RefTypeId
0188: */
0189: static public final int REF_COMPILATION_TYPE_ID = (MIN_ID_2 + 248);
0190:
0191: /**
0192: class org.apache.derby.iapi.types.SmallintTypeId
0193: */
0194: static public final int SMALLINT_TYPE_ID = (MIN_ID_2 + 10);
0195:
0196: /**
0197: class org.apache.derby.iapi.types.SmallintTypeId
0198: */
0199: static public final int SMALLINT_COMPILATION_TYPE_ID = (MIN_ID_2 + 249);
0200:
0201: /**
0202: class org.apache.derby.iapi.types.LongintTypeId
0203: */
0204: static public final int LONGINT_TYPE_ID = (MIN_ID_2 + 11);
0205:
0206: /**
0207: class org.apache.derby.iapi.types.LongintTypeId
0208: */
0209: static public final int LONGINT_COMPILATION_TYPE_ID = (MIN_ID_2 + 250);
0210:
0211: /**
0212: class org.apache.derby.iapi.types.UserDefinedTypeId
0213: */
0214: //static public final int USERDEFINED_TYPE_ID =
0215: // (MIN_ID_2 + 12);
0216: /**
0217: class org.apache.derby.iapi.types.UserDefinedTypeIdV2
0218: */
0219: //static public final int USERDEFINED_TYPE_ID_V2 =
0220: // (MIN_ID_2 + 267);
0221: /**
0222: class org.apache.derby.iapi.types.UserDefinedTypeIdV3
0223: */
0224: static public final int USERDEFINED_TYPE_ID_V3 = (MIN_ID_2 + 267);
0225:
0226: /**
0227: class org.apache.derby.iapi.types.UserDefinedTypeId
0228: */
0229: static public final int USERDEFINED_COMPILATION_TYPE_ID = (MIN_ID_2 + 251);
0230:
0231: /**
0232: class org.apache.derby.iapi.types.UserDefinedTypeIdV2
0233: */
0234: static public final int USERDEFINED_COMPILATION_TYPE_ID_V2 = (MIN_ID_2 + 265);
0235:
0236: /**
0237: class org.apache.derby.iapi.types.VarcharTypeId
0238: */
0239: static public final int VARCHAR_TYPE_ID = (MIN_ID_2 + 13);
0240:
0241: /**
0242: class org.apache.derby.iapi.types.VarcharTypeId
0243: */
0244: static public final int VARCHAR_COMPILATION_TYPE_ID = (MIN_ID_2 + 252);
0245:
0246: /**
0247: class org.apache.derby.catalog.types.TypeDescriptorImpl
0248: */
0249: static public final int DATA_TYPE_IMPL_DESCRIPTOR_V01_ID = (MIN_ID_2 + 14);
0250:
0251: /**
0252: class com.ibm.db2j.protcol.Datatypes.Execution.DataTypeDescriptor
0253: */
0254: static public final int DATA_TYPE_SERVICES_IMPL_V01_ID = (MIN_ID_2 + 259);
0255:
0256: /**
0257: class org.apache.derby.impl.sql.catalog.ConglomerateDescriptorFinder
0258: */
0259: static public final int CONGLOMERATE_DESCRIPTOR_FINDER_V01_ID = (MIN_ID_2 + 135);
0260:
0261: /**
0262: class org.apache.derby.impl.sql.catalog.ConstraintDescriptorFinder
0263: */
0264: static public final int CONSTRAINT_DESCRIPTOR_FINDER_V01_ID = (MIN_ID_2 + 208);
0265:
0266: /**
0267: class org.apache.derby.impl.sql.catalog.DefaultDescriptorFinder
0268: */
0269: static public final int DEFAULT_DESCRIPTOR_FINDER_V01_ID = (MIN_ID_2 + 325);
0270:
0271: /**
0272: class org.apache.derby.impl.sql.catalog.AliasDescriptorFinder
0273: */
0274: static public final int ALIAS_DESCRIPTOR_FINDER_V01_ID = (MIN_ID_2 + 136);
0275:
0276: /**
0277: class org.apache.derby.impl.sql.catalog.TableDescriptorFinder
0278: */
0279: static public final int TABLE_DESCRIPTOR_FINDER_V01_ID = (MIN_ID_2 + 137);
0280:
0281: /**
0282: class org.apache.derby.impl.sql.catalog.CoreDDFinderClassInfo
0283: */
0284: static public final int ROUTINE_PERMISSION_FINDER_V01_ID = (MIN_ID_2 + 461);
0285:
0286: /**
0287: class org.apache.derby.impl.sql.catalog.CoreDDFinderClassInfo
0288: */
0289: static public final int TABLE_PERMISSION_FINDER_V01_ID = (MIN_ID_2 + 462);
0290:
0291: /**
0292: class org.apache.derby.impl.sql.catalog.CoreDDFinderClassInfo
0293: */
0294: static public final int COLUMNS_PERMISSION_FINDER_V01_ID = (MIN_ID_2 + 463);
0295:
0296: /**
0297: class org.apache.derby.impl.sql.catalog.DataDictionaryDescriptorFinder
0298: */
0299: static public final int DATA_DICTIONARY_DESCRIPTOR_FINDER_V01_ID = (MIN_ID_2 + 138);
0300:
0301: /**
0302: class org.apache.derby.impl.sql.catalog.ViewDescriptorFinder
0303: */
0304: static public final int VIEW_DESCRIPTOR_FINDER_V01_ID = (MIN_ID_2 + 145);
0305:
0306: /**
0307: class org.apache.derby.impl.sql.catalog.SPSDescriptorFinder
0308: */
0309: static public final int SPS_DESCRIPTOR_FINDER_V01_ID = (MIN_ID_2 + 226);
0310:
0311: /**
0312: class org.apache.derby.impl.sql.catalog.FileInfoFinder
0313: */
0314: static public final int FILE_INFO_FINDER_V01_ID = (MIN_ID_2 + 273);
0315:
0316: /**
0317: class org.apache.derby.impl.sql.catalog.TriggerDescriptorFinder
0318: */
0319: static public final int TRIGGER_DESCRIPTOR_FINDER_V01_ID = (MIN_ID_2 + 320);
0320:
0321: /**
0322: class org.apache.derby.impl.sql.catalog.TriggerDescriptorFinder
0323: */
0324: static public final int TRIGGER_DESCRIPTOR_V01_ID = (MIN_ID_2 + 316);
0325:
0326: /**
0327: class org.apache.derby.impl.sql.catalog.DD_SocratesVersion
0328: */
0329: static public final int DD_SOCRATES_VERSION_ID = (MIN_ID_2 + 174);
0330:
0331: /**
0332: class org.apache.derby.catalog.types.ReferencedColumnsDescriptorImpl
0333: */
0334: static public final int REFERENCED_COLUMNS_DESCRIPTOR_IMPL_V01_ID = (MIN_ID_2 + 205);
0335:
0336: /**
0337: class org.apache.derby.impl.sql.catalog.DD_PlatoVersion
0338: */
0339: static public final int DD_PLATO_VERSION_ID = (MIN_ID_2 + 206);
0340:
0341: /**
0342: class org.apache.derby.impl.sql.catalog.DD_AristotleVersion
0343: */
0344: static public final int DD_ARISTOTLE_VERSION_ID = (MIN_ID_2 + 272);
0345:
0346: /**
0347: class org.apache.derby.impl.sql.catalog.DD_XenaVersion
0348: */
0349: static public final int DD_XENA_VERSION_ID = (MIN_ID_2 + 302);
0350:
0351: /**
0352: class org.apache.derby.impl.sql.catalog.DD_BuffyVersion
0353: */
0354: static public final int DD_BUFFY_VERSION_ID = (MIN_ID_2 + 373);
0355:
0356: /**
0357: class org.apache.derby.impl.sql.catalog.DD_MulanVersion
0358: */
0359: static public final int DD_MULAN_VERSION_ID = (MIN_ID_2 + 376);
0360:
0361: /**
0362: class org.apache.derby.impl.sql.catalog.DD_IvanovaVersion
0363: */
0364: static public final int DD_IVANOVA_VERSION_ID = (MIN_ID_2 + 396);
0365:
0366: /**
0367: class org.apache.derby.impl.sql.catalog.DD_DB2J72
0368: now mapped to a single class DD_Version.
0369: 5.0 databases will have this as the format identifier for their
0370: catalog version number.
0371: */
0372: static public final int DD_DB2J72_VERSION_ID = (MIN_ID_2 + 401);
0373:
0374: /**
0375: class org.apache.derby.impl.sql.catalog.DD_Version
0376: now mapped to a single class DD_Version.
0377: 5.1 and later databases will have this as the format identifier for their
0378: catalog version number.
0379: */
0380: static public final int DD_ARWEN_VERSION_ID = (MIN_ID_2 + 402);
0381:
0382: /**
0383: class org.apache.derby.iapi.types.LongvarcharTypeId
0384: */
0385: static public final int LONGVARCHAR_TYPE_ID = (MIN_ID_2 + 230);
0386:
0387: /**
0388: class org.apache.derby.iapi.types.LongvarcharTypeId
0389: */
0390: static public final int LONGVARCHAR_COMPILATION_TYPE_ID = (MIN_ID_2 + 256);
0391:
0392: /**
0393: class org.apache.derby.iapi.types.LongvarcharTypeId
0394: */
0395: static public final int CLOB_TYPE_ID = (MIN_ID_2 + 444);
0396:
0397: /**
0398: class org.apache.derby.iapi.types.LongvarcharTypeId
0399: */
0400: static public final int CLOB_COMPILATION_TYPE_ID = (MIN_ID_2 + 445);
0401:
0402: /**
0403: class org.apache.derby.iapi.types.LongvarbitTypeId
0404: - XXXX does not exist!!!
0405: */
0406: static public final int LONGVARBIT_TYPE_ID = (MIN_ID_2 + 232);
0407:
0408: /**
0409: class org.apache.derby.iapi.types.LongvarbitTypeId
0410: - XXXX does not exist!!!
0411: */
0412: static public final int LONGVARBIT_COMPILATION_TYPE_ID = (MIN_ID_2 + 255);
0413:
0414: /**
0415: class org.apache.derby.iapi.types.LongvarbitTypeId
0416: - XXXX does not exist!!!
0417: But for BLOB we do the same as for LONGVARBIT, only need different ids
0418: */
0419: static public final int BLOB_TYPE_ID = (MIN_ID_2 + 440);
0420:
0421: /**
0422: class org.apache.derby.iapi.types.LongvarbitTypeId
0423: - XXXX does not exist!!!
0424: But for BLOB we do the same as for LONGVARBIT, only need different ids
0425: */
0426: static public final int BLOB_COMPILATION_TYPE_ID = (MIN_ID_2 + 441);
0427:
0428: /**
0429: Instance of TypeId for XML data types.
0430: */
0431: static public final int XML_TYPE_ID = (MIN_ID_2 + 456);
0432:
0433: /**
0434: class org.apache.derby.iapi.types.SqlXmlUtil
0435: */
0436: static public final int SQL_XML_UTIL_V01_ID = (MIN_ID_2 + 464);
0437:
0438: /**
0439: class org.apache.derby.iapi.types.JSQLType
0440: */
0441: static public final int JSQLTYPEIMPL_ID = (MIN_ID_2 + 307);
0442:
0443: /**
0444: class org.apache.derby.impl.sql.catalog.RowListImpl
0445: */
0446: static public final int ROW_LIST_V01_ID = (MIN_ID_2 + 239);
0447:
0448: /**
0449: class org.apache.derby.impl.sql.catalog.ListOfRowListsImpl
0450: */
0451: static public final int UNUSED_240 = (MIN_ID_2 + 240);
0452:
0453: /**
0454: class org.apache.derby.impl.sql.catalog.IndexRowGeneratorImpl
0455: */
0456: static public final int INDEX_ROW_GENERATOR_V01_ID = (MIN_ID_2 + 268);
0457:
0458: /**
0459: class org.apache.derby.iapi.services.io.FormatableBitSet
0460: */
0461: static public final int BITIMPL_V01_ID = (MIN_ID_2 + 269);
0462:
0463: /**
0464: class org.apache.derby.iapi.services.io.FormatableArrayHolder
0465: */
0466: static public final int FORMATABLE_ARRAY_HOLDER_V01_ID = (MIN_ID_2 + 270);
0467:
0468: /**
0469: class org.apache.derby.iapi.services.io.FormatableProperties
0470: */
0471: static public final int FORMATABLE_PROPERTIES_V01_ID = (MIN_ID_2 + 271);
0472:
0473: /**
0474: class org.apache.derby.iapi.services.io.FormatableIntHolder
0475: */
0476: static public final int FORMATABLE_INT_HOLDER_V01_ID = (MIN_ID_2 + 303);
0477:
0478: /**
0479: class org.apache.derby.iapi.services.io.FormatableLongHolder
0480: */
0481: static public final int FORMATABLE_LONG_HOLDER_V01_ID = (MIN_ID_2 + 329);
0482:
0483: /**
0484: class org.apache.derby.iapi.services.io.FormatableHashtable
0485: */
0486: static public final int FORMATABLE_HASHTABLE_V01_ID = (MIN_ID_2 + 313);
0487:
0488: /**
0489: class org.apache.derby.iapi.types.NationalCharTypeId
0490: */
0491: static public final int NATIONAL_CHAR_TYPE_ID = (MIN_ID_2 + 370);
0492:
0493: /**
0494: class org.apache.derby.iapi.types.NationalLongvarcharTypeId
0495: */
0496: static public final int NATIONAL_LONGVARCHAR_TYPE_ID = (MIN_ID_2 + 362);
0497:
0498: /**
0499: class org.apache.derby.iapi.types.NationalLongvarcharTypeId
0500: */
0501: static public final int NCLOB_TYPE_ID = (MIN_ID_2 + 448);
0502:
0503: /**
0504: class org.apache.derby.iapi.types.NationalVarcharTypeId
0505: */
0506: static public final int NATIONAL_VARCHAR_TYPE_ID = (MIN_ID_2 + 369);
0507:
0508: /**
0509: class org.apache.derby.impl.sql.catalog.SchemaDescriptorFinder
0510: */
0511: static public final int SCHEMA_DESCRIPTOR_FINDER_V01_ID = (MIN_ID_2 + 371);
0512:
0513: /**
0514: class org.apache.derby.impl.sql.catalog.ColumnDescriptorFinder
0515: */
0516: static public final int COLUMN_DESCRIPTOR_FINDER_V01_ID = (MIN_ID_2 + 393);
0517:
0518: /******************************************************************
0519: **
0520: ** DependencySystem Formats
0521: **
0522: **
0523: **
0524: ******************************************************************/
0525: /**
0526: Unused 243
0527: */
0528: static public final int UNUSED_243 = (MIN_ID_2 + 243);
0529:
0530: /**
0531: ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
0532: ||
0533: || DEPRECATED
0534: ||
0535: ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
0536:
0537: class org.apache.derby.impl.sql.catalog.OIDImpl
0538: */
0539: static public final int OIDIMPL_V01_ID = (MIN_ID_2 + 15);
0540:
0541: /**
0542: class org.apache.derby.catalog.types.BooleanTypeIdImpl
0543: */
0544: static public final int BOOLEAN_TYPE_ID_IMPL = (MIN_ID_2 + 16);
0545:
0546: /**
0547: class org.apache.derby.catalog.types.CharTypeIdImpl
0548: */
0549: static public final int CHAR_TYPE_ID_IMPL = (MIN_ID_2 + 17);
0550:
0551: /**
0552: class org.apache.derby.catalog.types.DoubleTypeIdImpl
0553: */
0554: static public final int DOUBLE_TYPE_ID_IMPL = (MIN_ID_2 + 18);
0555:
0556: /**
0557: class org.apache.derby.catalog.types.IntTypeIdImpl
0558: */
0559: static public final int INT_TYPE_ID_IMPL = (MIN_ID_2 + 19);
0560:
0561: /**
0562: class org.apache.derby.catalog.types.RealTypeIdImpl
0563: */
0564: static public final int REAL_TYPE_ID_IMPL = (MIN_ID_2 + 20);
0565:
0566: /**
0567: class org.apache.derby.catalog.types.RefTypeIdImpl
0568: */
0569: static public final int REF_TYPE_ID_IMPL = (MIN_ID_2 + 21);
0570:
0571: /**
0572: class org.apache.derby.catalog.types.SmallintTypeIdImpl
0573: */
0574: static public final int SMALLINT_TYPE_ID_IMPL = (MIN_ID_2 + 22);
0575:
0576: /**
0577: class org.apache.derby.catalog.types.LongintTypeIdImpl
0578: */
0579: static public final int LONGINT_TYPE_ID_IMPL = (MIN_ID_2 + 23);
0580:
0581: /**
0582: class org.apache.derby.catalog.types.UserDefinedTypeIdImpl
0583: */
0584: //static public final int USERDEFINED_TYPE_ID_IMPL =
0585: // (MIN_ID_2 + 24);
0586: /**
0587: class org.apache.derby.catalog.types.UserDefinedTypeIdImpl
0588: */
0589: //static public final int USERDEFINED_TYPE_ID_IMPL_V2 =
0590: // (MIN_ID_2 + 264);
0591: /**
0592: class org.apache.derby.catalog.types.UserDefinedTypeIdImpl
0593: */
0594: static public final int USERDEFINED_TYPE_ID_IMPL_V3 = (MIN_ID_2 + 264);
0595: /**
0596: class org.apache.derby.catalog.types.TypesImplInstanceGetter
0597: */
0598: static public final int DATE_TYPE_ID_IMPL = (MIN_ID_2 + 32);
0599:
0600: /**
0601: class org.apache.derby.catalog.types.TypesImplInstanceGetter
0602: */
0603: static public final int TIME_TYPE_ID_IMPL = (MIN_ID_2 + 33);
0604: /**
0605: class org.apache.derby.catalog.types.TypesImplInstanceGetter
0606: */
0607: static public final int TIMESTAMP_TYPE_ID_IMPL = (MIN_ID_2 + 34);
0608:
0609: /**
0610: class org.apache.derby.Database.Language.Execution.MinAggregator
0611: */
0612: static public final int AGG_MIN_V01_ID = (MIN_ID_2 + 153);
0613:
0614: /**
0615: class org.apache.derby.Database.Language.Execution.CountStarAggregator
0616: */
0617: static public final int AGG_COUNT_STAR_V01_ID = (MIN_ID_2 + 150);
0618:
0619: /**
0620: class org.apache.derby.catalog.types.VarcharTypeIdImpl
0621: */
0622: static public final int VARCHAR_TYPE_ID_IMPL = (MIN_ID_2 + 25);
0623:
0624: /**
0625: class org.apache.derby.impl.sql.catalog.ParameterDescriptorImpl
0626: */
0627: static public final int PARAMETER_DESCRIPTOR_V01_ID = (MIN_ID_2 + 26);
0628:
0629: /**
0630: class org.apache.derby.iapi.types.BitTypeId
0631: */
0632: static public final int BIT_TYPE_ID = (MIN_ID_2 + 27);
0633:
0634: /**
0635: class org.apache.derby.catalog.types.BitTypeIdImpl
0636: */
0637: static public final int BIT_TYPE_ID_IMPL = (MIN_ID_2 + 28);
0638:
0639: /**
0640: class org.apache.derby.iapi.types.VarbitTypeId
0641: */
0642: static public final int VARBIT_TYPE_ID = (MIN_ID_2 + 29);
0643:
0644: /**
0645: class org.apache.derby.iapi.types.VarbitTypeId
0646: */
0647: static public final int VARBIT_COMPILATION_TYPE_ID = (MIN_ID_2 + 258);
0648:
0649: /**
0650: class org.apache.derby.catalog.types.VarbitTypeIdImpl
0651: */
0652: static public final int VARBIT_TYPE_ID_IMPL = (MIN_ID_2 + 30);
0653:
0654: /**
0655: class org.apache.derby.catalog.types.IndexDescriptorImpl
0656: */
0657: static public final int INDEX_DESCRIPTOR_IMPL_V02_ID = (MIN_ID_2 + 387);
0658:
0659: /**
0660: class org.apache.derby.iapi.types.TinyintTypeId
0661: */
0662: static public final int TINYINT_TYPE_ID = (MIN_ID_2 + 195);
0663:
0664: /**
0665: class org.apache.derby.catalog.types.TinyintTypeIdImpl
0666: */
0667: static public final int TINYINT_TYPE_ID_IMPL = (MIN_ID_2 + 196);
0668:
0669: /**
0670: class org.apache.derby.iapi.types.DecimalTypeId
0671: */
0672: static public final int DECIMAL_TYPE_ID = (MIN_ID_2 + 197);
0673:
0674: /**
0675: class org.apache.derby.iapi.types.DateTypeId
0676: */
0677: static public final int DATE_TYPE_ID = (MIN_ID_2 + 40);
0678:
0679: /**
0680: class org.apache.derby.iapi.types.TimeTypeId
0681: */
0682: static public final int TIME_TYPE_ID = (MIN_ID_2 + 35);
0683:
0684: /**
0685: class org.apache.derby.iapi.types.TimestampTypeId
0686: */
0687: static public final int TIMESTAMP_TYPE_ID = (MIN_ID_2 + 36);
0688:
0689: /**
0690: class org.apache.derby.catalog.types.DecimalTypeIdImpl
0691: */
0692: static public final int DECIMAL_TYPE_ID_IMPL = (MIN_ID_2 + 198);
0693:
0694: /**
0695: class org.apache.derby.catalog.types.LongvarcharTypeIdImpl
0696: */
0697: static public final int LONGVARCHAR_TYPE_ID_IMPL = (MIN_ID_2 + 231);
0698:
0699: /**
0700: class org.apache.derby.catalog.types.LongvarcharTypeIdImpl
0701: */
0702: static public final int CLOB_TYPE_ID_IMPL = (MIN_ID_2 + 446);
0703:
0704: /**
0705: class org.apache.derby.catalog.types.LongvarbitTypeIdImpl
0706: - does nto exist
0707: */
0708: static public final int LONGVARBIT_TYPE_ID_IMPL = (MIN_ID_2 + 233);
0709:
0710: /**
0711: class org.apache.derby.catalog.types.LongvarbitTypeIdImpl
0712: - does not exist, but we do it the same way for BLOB as for Longvarbit...
0713: */
0714: static public final int BLOB_TYPE_ID_IMPL = (MIN_ID_2 + 442);
0715:
0716: /**
0717: class org.apache.derby.iapi.types.BitTypeId
0718: */
0719: static public final int BIT_COMPILATION_TYPE_ID = (MIN_ID_2 + 253);
0720:
0721: /**
0722: class org.apache.derby.iapi.types.DecimalTypeId
0723: */
0724: static public final int DECIMAL_COMPILATION_TYPE_ID = (MIN_ID_2 + 254);
0725:
0726: /**
0727: class org.apache.derby.iapi.types.TinyintTypeId
0728: */
0729: static public final int TINYINT_COMPILATION_TYPE_ID = (MIN_ID_2 + 257);
0730:
0731: /**
0732: class org.apache.derby.catalog.types.NationalCharTypeIdImpl
0733: */
0734: static public final int NATIONAL_CHAR_TYPE_ID_IMPL = (MIN_ID_2 + 366);
0735:
0736: /**
0737: class org.apache.derby.catalog.types.NationalVarcharTypeIdImpl
0738: */
0739: static public final int NATIONAL_VARCHAR_TYPE_ID_IMPL = (MIN_ID_2 + 367);
0740:
0741: /**
0742: class org.apache.derby.catalog.types.NationalLongVarcharTypeIdImpl
0743: */
0744: static public final int NATIONAL_LONGVARCHAR_TYPE_ID_IMPL = (MIN_ID_2 + 368);
0745:
0746: /**
0747: class org.apache.derby.catalog.types.NationalLongVarcharTypeIdImpl
0748: */
0749: static public final int NCLOB_TYPE_ID_IMPL = (MIN_ID_2 + 449);
0750:
0751: /**
0752: class org.apache.derby.iapi.types.XML (implementation of
0753: org.apache.derby.iapi.types.XMLDataValue).
0754: */
0755: static public final int XML_TYPE_ID_IMPL = (MIN_ID_2 + 457);
0756:
0757: /******************************************************************
0758: **
0759: ** Execution MODULE CLASSES
0760: **
0761: ******************************************************************/
0762:
0763: /**
0764: class org.apache.derby.Database.Language.Execution.RenameConstantAction
0765: */
0766: static public final int RENAME_CONSTANT_ACTION_V01_ID = (MIN_ID_2 + 390);
0767:
0768: /**
0769: class org.apache.derby.Database.Language.Execution.DeleteConstantAction
0770: */
0771: static public final int DELETE_CONSTANT_ACTION_V01_ID = (MIN_ID_2 + 37);
0772:
0773: /**
0774: class org.apache.derby.Database.Language.Execution.InsertConstantAction
0775: */
0776: static public final int INSERT_CONSTANT_ACTION_V01_ID = (MIN_ID_2 + 38);
0777:
0778: /**
0779: class org.apache.derby.Database.Language.Execution.UpdateConstantAction
0780: */
0781: static public final int UPDATABLE_VTI_CONSTANT_ACTION_V01_ID = (MIN_ID_2 + 375);
0782:
0783: /**
0784: class org.apache.derby.Database.Language.Execution.UpdateConstantAction
0785: */
0786: static public final int UPDATE_CONSTANT_ACTION_V01_ID = (MIN_ID_2 + 39);
0787:
0788: /**
0789: */
0790: static public final int UNUSED_2_204 = (MIN_ID_2 + 204);
0791:
0792: /**
0793: UNUSED
0794: */
0795: static public final int UNUSED_2_41 = (MIN_ID_2 + 41);
0796:
0797: /**
0798: class org.apache.derby.Database.Language.Execution.DropAliasConstantAction
0799: */
0800: static public final int UNUSED_2_42 = (MIN_ID_2 + 42);
0801:
0802: /**
0803: class org.apache.derby.Database.Language.Execution.CreateSchemaConstantAction
0804: */
0805: static public final int UNUSED_2_141 = (MIN_ID_2 + 141);
0806:
0807: /**
0808: */
0809: static public final int UNUSED_2_142 = (MIN_ID_2 + 142);
0810:
0811: /**
0812: class org.apache.derby.Database.Language.Execution.CreateViewConstantAction
0813: */
0814: static public final int UNUSED_2_143 = (MIN_ID_2 + 143);
0815:
0816: /**
0817: */
0818: static public final int UNUSED_2_144 = (MIN_ID_2 + 144);
0819:
0820: /**
0821: class org.apache.derby.Database.Language.Execution.ProviderInfo
0822: */
0823: static public final int PROVIDER_INFO_V01_ID = (MIN_ID_2 + 148);
0824:
0825: /**
0826: class org.apache.derby.Database.Language.Execution.AvgAggregator
0827: */
0828: static public final int AGG_AVG_V01_ID = (MIN_ID_2 + 149);
0829:
0830: /**
0831: class org.apache.derby.Database.Language.Execution.CountAggregator
0832: */
0833: static public final int AGG_COUNT_V01_ID = (MIN_ID_2 + 151);
0834:
0835: /**
0836: class org.apache.derby.Database.Language.Execution.MaxMinAggregator
0837: */
0838: static public final int AGG_MAX_MIN_V01_ID = (MIN_ID_2 + 152);
0839:
0840: /**
0841: class org.apache.derby.Database.Language.Execution.SumAggregator
0842: */
0843: static public final int AGG_SUM_V01_ID = (MIN_ID_2 + 154);
0844:
0845: /**
0846: class org.apache.derby.Database.Language.Execution.UserAggregatorAggregator
0847: */
0848: static public final int AGG_USER_ADAPTOR_V01_ID = (MIN_ID_2 + 323);
0849:
0850: /**
0851: class org.apache.derby.Database.Language.Execution.StatisticsConstantAction
0852: */
0853: static public final int STATISTICS_CONSTANT_ACTION_V01_ID = (MIN_ID_2 + 155);
0854:
0855: /**
0856: class org.apache.derby.impl.sql.execute.RunTimeStatisticsImpl
0857: */
0858: static public final int RUN_TIME_STATISTICS_IMPL_V01_ID = (MIN_ID_2 + 173);
0859:
0860: /**
0861: class org.apache.derby.Database.Language.Execution.LockTableConstantAction
0862: */
0863: static public final int UNUSED_2_275 = (MIN_ID_2 + 275);
0864:
0865: /**
0866: class org.apache.derby.impl.sql.execute.RealProjectRestrictStatistics
0867: */
0868: static public final int REAL_PROJECT_RESTRICT_STATISTICS_IMPL_V01_ID = (MIN_ID_2 + 177);
0869:
0870: /**
0871: class org.apache.derby.impl.sql.execute.RealDistinctScalarAggregateStatistics
0872: */
0873: static public final int REAL_DISTINCT_SCALAR_AGGREGATE_STATISTICS_IMPL_V01_ID = (MIN_ID_2 + 284);
0874:
0875: /**
0876: class org.apache.derby.impl.sql.execute.RealScalarAggregateStatistics
0877: */
0878: static public final int REAL_SCALAR_AGGREGATE_STATISTICS_IMPL_V01_ID = (MIN_ID_2 + 283);
0879:
0880: /**
0881: class org.apache.derby.impl.sql.execute.RealGroupedAggregateStatistics
0882: */
0883: static public final int REAL_GROUPED_AGGREGATE_STATISTICS_IMPL_V01_ID = (MIN_ID_2 + 285);
0884:
0885: /**
0886: class org.apache.derby.impl.sql.execute.RealSortStatistics
0887: */
0888: static public final int REAL_SORT_STATISTICS_IMPL_V01_ID = (MIN_ID_2 + 178);
0889:
0890: /**
0891: class org.apache.derby.impl.sql.execute.RealTableScanStatistics
0892: */
0893: static public final int REAL_TABLE_SCAN_STATISTICS_IMPL_V01_ID = (MIN_ID_2 + 179);
0894:
0895: /**
0896: class org.apache.derby.impl.sql.execute.RealHashJoinStatistics
0897: */
0898: static public final int REAL_HASH_JOIN_STATISTICS_IMPL_V01_ID = (MIN_ID_2 + 304);
0899:
0900: /**
0901: class org.apache.derby.impl.sql.execute.RealNestedLoopJoinStatistics
0902: */
0903: static public final int REAL_NESTED_LOOP_JOIN_STATISTICS_IMPL_V01_ID = (MIN_ID_2 + 180);
0904:
0905: /**
0906: class org.apache.derby.impl.sql.execute.RealIndexRowToBaseRowStatistics
0907: */
0908: static public final int REAL_INDEX_ROW_TO_BASE_ROW_STATISTICS_IMPL_V01_ID = (MIN_ID_2 + 181);
0909:
0910: /**
0911: class org.apache.derby.impl.sql.execute.RealAnyResultSetStatistics
0912: */
0913: static public final int REAL_ANY_RESULT_SET_STATISTICS_IMPL_V01_ID = (MIN_ID_2 + 182);
0914:
0915: /**
0916: class org.apache.derby.impl.sql.execute.RealOnceResultSetStatistics
0917: */
0918: static public final int REAL_ONCE_RESULT_SET_STATISTICS_IMPL_V01_ID = (MIN_ID_2 + 183);
0919:
0920: /**
0921: class org.apache.derby.impl.sql.execute.RealCurrentOfStatistics
0922: */
0923: static public final int REAL_CURRENT_OF_STATISTICS_IMPL_V01_ID = (MIN_ID_2 + 184);
0924:
0925: /**
0926: class org.apache.derby.impl.sql.execute.RealRowResultSetStatistics
0927: */
0928: static public final int REAL_ROW_RESULT_SET_STATISTICS_IMPL_V01_ID = (MIN_ID_2 + 185);
0929:
0930: /**
0931: class org.apache.derby.impl.sql.execute.RealUnionResultSetStatistics
0932: */
0933: static public final int REAL_UNION_RESULT_SET_STATISTICS_IMPL_V01_ID = (MIN_ID_2 + 186);
0934:
0935: /**
0936: class org.apache.derby.impl.sql.execute.RealHashLeftOuterJoinStatistics
0937: */
0938: static public final int REAL_HASH_LEFT_OUTER_JOIN_STATISTICS_IMPL_V01_ID = (MIN_ID_2 + 305);
0939:
0940: /**
0941: class org.apache.derby.impl.sql.execute.RealNestedLoopLeftOuterJoinStatistics
0942: */
0943: static public final int REAL_NESTED_LOOP_LEFT_OUTER_JOIN_STATISTICS_IMPL_V01_ID = (MIN_ID_2 + 187);
0944:
0945: /**
0946: class org.apache.derby.impl.sql.execute.RealNormalizeResultSetStatistics
0947: */
0948: static public final int REAL_NORMALIZE_RESULT_SET_STATISTICS_IMPL_V01_ID = (MIN_ID_2 + 188);
0949:
0950: /**
0951: class org.apache.derby.impl.sql.execute.RealInsertResultSetStatistics
0952: */
0953: static public final int REAL_INSERT_RESULT_SET_STATISTICS_IMPL_V01_ID = (MIN_ID_2 + 189);
0954:
0955: /**
0956: class org.apache.derby.impl.sql.execute.RealInsertVTIResultSetStatistics
0957: */
0958: static public final int REAL_INSERT_VTI_RESULT_SET_STATISTICS_IMPL_V01_ID = (MIN_ID_2 + 379);
0959:
0960: /**
0961: class org.apache.derby.impl.sql.execute.RealUpdateResultSetStatistics
0962: */
0963: static public final int REAL_UPDATE_RESULT_SET_STATISTICS_IMPL_V01_ID = (MIN_ID_2 + 190);
0964:
0965: /**
0966: class org.apache.derby.impl.sql.execute.RealDeleteResultSetStatistics
0967: */
0968: static public final int REAL_DELETE_VTI_RESULT_SET_STATISTICS_IMPL_V01_ID = (MIN_ID_2 + 380);
0969:
0970: /**
0971: class org.apache.derby.impl.sql.execute.RealDeleteResultSetStatistics
0972: */
0973: static public final int REAL_DELETE_RESULT_SET_STATISTICS_IMPL_V01_ID = (MIN_ID_2 + 191);
0974:
0975: /**
0976: org.apache.derby.impl.sql.execute.rts.RealDeleteCascadeResultSetStatistics"
0977: */
0978: static public final int REAL_DELETE_CASCADE_RESULT_SET_STATISTICS_IMPL_V01_ID = (MIN_ID_2 + 439);
0979:
0980: /**
0981: class org.apache.derby.impl.sql.execute.RealHashScanStatistics
0982: */
0983: static public final int REAL_HASH_SCAN_STATISTICS_IMPL_V01_ID = (MIN_ID_2 + 203);
0984:
0985: /**
0986: class org.apache.derby.impl.sql.execute.RealDistinctScanStatistics
0987: */
0988: static public final int REAL_DISTINCT_SCAN_STATISTICS_IMPL_V01_ID = (MIN_ID_2 + 334);
0989:
0990: /**
0991: class org.apache.derby.impl.sql.execute.RealHashTableStatistics
0992: */
0993: static public final int REAL_HASH_TABLE_STATISTICS_IMPL_V01_ID = (MIN_ID_2 + 306);
0994:
0995: /**
0996: class org.apache.derby.impl.sql.execute.RealVTIStatistics
0997: */
0998: static public final int REAL_VTI_STATISTICS_IMPL_V01_ID = (MIN_ID_2 + 214);
0999:
1000: /**
1001: class org.apache.derby.impl.sql.execute.RealMaterializedResultSetStatistics
1002: */
1003: static public final int REAL_MATERIALIZED_RESULT_SET_STATISTICS_IMPL_V01_ID = (MIN_ID_2 + 308);
1004:
1005: /**
1006: class org.apache.derby.impl.sql.execute.RealScrollInsensitiveResultSetStatistics
1007: */
1008: static public final int REAL_SCROLL_INSENSITIVE_RESULT_SET_STATISTICS_IMPL_V01_ID = (MIN_ID_2 + 330);
1009:
1010: /**
1011: class org.apache.derby.Database.Language.Execution.CreateSPSConstantAction
1012: */
1013: static public final int UNUSED_2_221 = (MIN_ID_2 + 221);
1014:
1015: /**
1016: class org.apache.derby.Database.Language.Execution.CreateSPSConstantAction
1017: */
1018: static public final int UNUSED_2_222 = (MIN_ID_2 + 222);
1019:
1020: /**
1021: class org.apache.derby.Database.Language.Execution.AlterSPSConstantAction
1022: */
1023: static public final int ALTER_SPS_CONSTANT_ACTION_V01_ID = (MIN_ID_2 + 229);
1024:
1025: /**
1026: class org.apache.derby.Database.Language.Execution.IndexColumnOrder
1027: */
1028: static public final int INDEX_COLUMN_ORDER_V01_ID = (MIN_ID_2 + 218);
1029:
1030: /**
1031: class org.apache.derby.Database.Language.Execution.AggregateInfo
1032: */
1033: static public final int AGG_INFO_V01_ID = (MIN_ID_2 + 223);
1034:
1035: /**
1036: class org.apache.derby.Database.Language.Execution.AggregateInfoList
1037: */
1038: static public final int AGG_INFO_LIST_V01_ID = (MIN_ID_2 + 224);
1039:
1040: /**
1041: class org.apache.derby.Database.Language.Execution.DeleteConstantAction
1042: This class is abstract so it doesn't need a format id!
1043: */
1044: static public final int WRITE_CURSOR_CONSTANT_ACTION_V01_ID = (MIN_ID_2 + 227);
1045:
1046: /**
1047: class org.apache.derby.Database.Language.Execution.ValueRow
1048: */
1049: static public final int VALUE_ROW_V01_ID = (MIN_ID_2 + 237);
1050:
1051: /**
1052: class org.apache.derby.Database.Language.Execution.IndexRow
1053: */
1054: static public final int INDEX_ROW_V01_ID = (MIN_ID_2 + 238);
1055:
1056: /**
1057: class org.apache.derby.impl.sql.execute.AddJarConstantAction;
1058: */
1059: static public final int ADD_JAR_CONSTANT_ACTION_V01_ID = (MIN_ID_2 + 211);
1060:
1061: /**
1062: class org.apache.derby.impl.sql.execute.DropJarConstantAction;
1063: */
1064: static public final int DROP_JAR_CONSTANT_ACTION_V01_ID = (MIN_ID_2 + 212);
1065:
1066: /**
1067: class org.apache.derby.impl.sql.execute.ReplaceJarConstantAction;
1068: */
1069: static public final int REPLACE_JAR_CONSTANT_ACTION_V01_ID = (MIN_ID_2 + 213);
1070:
1071: /**
1072: class org.apache.derby.Database.Language.Execution.ConstraintInfo
1073: */
1074: static public final int CONSTRAINT_INFO_V01_ID = (MIN_ID_2 + 278);
1075:
1076: /**
1077: */
1078: static public final int UNUSED_2_280 = (MIN_ID_2 + 280);
1079:
1080: /**
1081: class org.apache.derby.Database.Language.Execution.FKInfo
1082: */
1083: static public final int FK_INFO_V01_ID = (MIN_ID_2 + 282);
1084:
1085: /**
1086: */
1087: static public final int UNUSED_2_289 = (MIN_ID_2 + 289);
1088:
1089: /**
1090: class org.apache.derby.impl.sql.execute.CreateTriggerConstantAction
1091: */
1092: static public final int CREATE_TRIGGER_CONSTANT_ACTION_V01_ID = (MIN_ID_2 + 314);
1093:
1094: /**
1095: class org.apache.derby.impl.sql.execute.DropTriggerConstantAction
1096: */
1097: static public final int DROP_TRIGGER_CONSTANT_ACTION_V01_ID = (MIN_ID_2 + 315);
1098:
1099: /**
1100: class org.apache.derby.impl.sql.execute.TriggerInfo
1101: */
1102: static public final int TRIGGER_INFO_V01_ID = (MIN_ID_2 + 317);
1103:
1104: /**
1105: class org.apache.derby.impl.sql.execute.TransactionConstantAction
1106: */
1107: static public final int TRANSACTION_CONSTANT_ACTION_V01_ID = (MIN_ID_2 + 318);
1108:
1109: /**
1110: class org.apache.derby.Database.Language.Execution.SetTriggersConstantAction
1111: */
1112: static public final int SET_TRIGGERS_CONSTANT_ACTION_V01_ID = (MIN_ID_2 + 321);
1113:
1114: /**
1115: class org.apache.derby.Replication.Database.Language.Execution.RepSetTriggersConstantAction
1116: */
1117: static public final int REP_SET_TRIGGERS_CONSTANT_ACTION_V01_ID = (MIN_ID_2 + 322);
1118:
1119: /**
1120: class org.apache.derby.impl.sql.execute.RealLastIndexKeyScanStatistics
1121: */
1122: static public final int REAL_LAST_INDEX_KEY_SCAN_STATISTICS_IMPL_V01_ID = (MIN_ID_2 + 327);
1123:
1124: ////////////////////////////////////////////////////////////////////////////
1125: //
1126: // New versions of 2.0 Language ConstantActions, versioned in 3.0
1127: //
1128: ////////////////////////////////////////////////////////////////////////////
1129:
1130: /** class org.apache.derby.Database.Language.Execution.SetSchemaConstantAction */
1131: static public final int SET_SCHEMA_CONSTANT_ACTION_V02_ID = (MIN_ID_2 + 353);
1132:
1133: /** class org.apache.derby.Database.Language.Execution.SetTransactionIsolationConstantAction */
1134: static public final int SET_TRANSACTION_ISOLATION_CONSTANT_ACTION_V02_ID = (MIN_ID_2 + 354);
1135:
1136: /** class org.apache.derby.impl.sql.execute.ColumnInfo */
1137: static public final int COLUMN_INFO_V02_ID = (MIN_ID_2 + 358);
1138:
1139: /** class org.apache.derby.Database.Language.DependencySystem.Generic.ProviderInfo */
1140: static public final int PROVIDER_INFO_V02_ID = (MIN_ID_2 + 359);
1141:
1142: /** class org.apache.derby.impl.sql.execute.SavepointConstantAction */
1143: static public final int SAVEPOINT_V01_ID = (MIN_ID_2 + 452);
1144:
1145: /******************************************************************
1146: **
1147: ** LanguageInterface MODULE CLASSES
1148: **
1149: ******************************************************************/
1150: /**
1151: class org.apache.derby.impl.sql.GenericStorablePreparedStatement
1152: */
1153: static public final int STORABLE_PREPARED_STATEMENT_V01_ID = (MIN_ID_2 + 225);
1154:
1155: /**
1156: class org.apache.derby.impl.sql.GenericResultDescription
1157: */
1158: static public final int GENERIC_RESULT_DESCRIPTION_V01_ID = (MIN_ID_2 + 228);
1159:
1160: /**
1161: UNUSED
1162: */
1163: static public final int UNUSED_2_215 = (MIN_ID_2 + 215);
1164:
1165: /**
1166: class org.apache.derby.impl.sql.GenericTypeDescriptor
1167: */
1168: static public final int GENERIC_TYPE_DESCRIPTOR_V01_ID = (MIN_ID_2 + 216);
1169:
1170: /**
1171: class org.apache.derby.impl.sql.GenericTypeId
1172: */
1173: static public final int GENERIC_TYPE_ID_V01_ID = (MIN_ID_2 + 217);
1174:
1175: /**
1176: class org.apache.derby.impl.sql.CursorTableReference
1177: */
1178: static public final int CURSOR_TABLE_REFERENCE_V01_ID = (MIN_ID_2 + 296);
1179:
1180: /**
1181: class org.apache.derby.impl.sql.CursorInfo
1182: */
1183: static public final int CURSOR_INFO_V01_ID = (MIN_ID_2 + 297);
1184:
1185: /******************************************************************
1186: **
1187: ** ALIAS INFO CLASSES
1188: **
1189: ******************************************************************/
1190:
1191: /**
1192: class org.apache.derby.catalog.types.ClassAliasInfo
1193: */
1194: static public final int CLASS_ALIAS_INFO_V01_ID = (MIN_ID_2 + 310);
1195:
1196: /**
1197: class org.apache.derby.catalog.types.MethodAliasInfo
1198: */
1199: static public final int METHOD_ALIAS_INFO_V01_ID = (MIN_ID_2 + 312);
1200:
1201: /**
1202: class org.apache.derby.catalog.types.WorkUnitAliasInfo
1203: */
1204: static public final int WORK_UNIT_ALIAS_INFO_V01_ID = (MIN_ID_2 + 309);
1205:
1206: /**
1207: class org.apache.derby.catalog.types.UserAggregateAliasInfo
1208: */
1209: static public final int USER_AGGREGATE_ALIAS_INFO_V01_ID = (MIN_ID_2 + 311);
1210:
1211: public static final int ROUTINE_INFO_V01_ID = (MIN_ID_2 + 451);
1212: public static final int SYNONYM_INFO_V01_ID = (MIN_ID_2 + 455);
1213:
1214: /******************************************************************
1215: **
1216: ** DEFAULT INFO CLASSES
1217: **
1218: ******************************************************************/
1219:
1220: /**
1221: class org.apache.derby.catalog.types.DefaultInfoImpl
1222: */
1223: static public final int DEFAULT_INFO_IMPL_V01_ID = (MIN_ID_2 + 326);
1224:
1225: /**
1226: class org.apache.derby.impl.sql.GenericColumnDescriptor
1227: */
1228: static public final int GENERIC_COLUMN_DESCRIPTOR_V02_ID = (MIN_ID_2 + 383);
1229:
1230: /**
1231: UNUSED (MIN_ID_2 + 384)
1232: */
1233:
1234: /**
1235: UNUSED (MIN_ID_2 + 382)
1236: */
1237:
1238: /******************************************************************
1239: **
1240: ** Type system id's
1241: **
1242: ******************************************************************/
1243:
1244: public static final int SQL_BOOLEAN_ID = (MIN_ID_2 + 77);
1245:
1246: public static final int SQL_CHAR_ID = (MIN_ID_2 + 78);
1247:
1248: public static final int SQL_DOUBLE_ID = (MIN_ID_2 + 79);
1249:
1250: public static final int SQL_INTEGER_ID = (MIN_ID_2 + 80);
1251:
1252: public static final int SQL_REAL_ID = (MIN_ID_2 + 81);
1253:
1254: public static final int SQL_REF_ID = (MIN_ID_2 + 82);
1255:
1256: public static final int SQL_SMALLINT_ID = (MIN_ID_2 + 83);
1257:
1258: public static final int SQL_LONGINT_ID = (MIN_ID_2 + 84);
1259:
1260: public static final int SQL_VARCHAR_ID = (MIN_ID_2 + 85);
1261:
1262: //public static final int SQL_USERTYPE_ID =
1263: // (MIN_ID_2 + 86);
1264:
1265: //public static final int SQL_USERTYPE_ID_V2 =
1266: // (MIN_ID_2 + 266);
1267:
1268: public static final int SQL_USERTYPE_ID_V3 = (MIN_ID_2 + 266);
1269:
1270: public static final int SQL_DATE_ID = (MIN_ID_2 + 298);
1271:
1272: public static final int SQL_TIME_ID = (MIN_ID_2 + 299);
1273:
1274: public static final int SQL_TIMESTAMP_ID = (MIN_ID_2 + 31);
1275:
1276: public static final int SQL_BIT_ID = (MIN_ID_2 + 87);
1277:
1278: public static final int SQL_VARBIT_ID = (MIN_ID_2 + 88);
1279:
1280: public static final int SQL_TINYINT_ID = (MIN_ID_2 + 199);
1281:
1282: public static final int SQL_DECIMAL_ID = (MIN_ID_2 + 200);
1283:
1284: public static final int SQL_LONGVARCHAR_ID = (MIN_ID_2 + 235);
1285:
1286: public static final int SQL_CLOB_ID = (MIN_ID_2 + 447);
1287:
1288: public static final int SQL_LONGVARBIT_ID = (MIN_ID_2 + 234);
1289:
1290: public static final int SQL_BLOB_ID = (MIN_ID_2 + 443);
1291:
1292: public static final int SQL_NATIONAL_CHAR_ID = (MIN_ID_2 + 363);
1293:
1294: public static final int SQL_NATIONAL_VARCHAR_ID = (MIN_ID_2 + 364);
1295:
1296: public static final int SQL_NATIONAL_LONGVARCHAR_ID = (MIN_ID_2 + 365);
1297:
1298: public static final int SQL_NCLOB_ID = (MIN_ID_2 + 450);
1299:
1300: // Interface: org.apache.derby.iapi.types.XMLDataValue
1301: public static final int XML_ID = (MIN_ID_2 + 458);
1302:
1303: /******************************************************************
1304: **
1305: ** Access ids.
1306: **
1307: **
1308: **
1309: ******************************************************************/
1310: public static final int ACCESS_U8_V1_ID = (MIN_ID_2 + 89);
1311:
1312: public static final int ACCESS_HEAP_ROW_LOCATION_V1_ID = (MIN_ID_2 + 90);
1313:
1314: public static final int ACCESS_HEAP_V2_ID = (MIN_ID_2 + 91);
1315:
1316: public static final int ACCESS_B2I_V2_ID = (MIN_ID_2 + 92);
1317:
1318: public static final int ACCESS_FORMAT_ID = (MIN_ID_2 + 93);
1319:
1320: public static final int ACCESS_T_STRINGCOLUMN_ID = (MIN_ID_2 + 94);
1321:
1322: public static final int ACCESS_B2IUNDO_V1_ID = (MIN_ID_2 + 95);
1323:
1324: // Deleted as part of 7.2 rebrand project.
1325:
1326: /*
1327: public static final int ACCESS_CONGLOMDIR_V1_ID =
1328: (MIN_ID_2 + 96);
1329: */
1330: public static final int ACCESS_BTREE_LEAFCONTROLROW_V1_ID = (MIN_ID_2 + 133);
1331:
1332: public static final int ACCESS_BTREE_BRANCHCONTROLROW_V1_ID = (MIN_ID_2 + 134);
1333:
1334: public static final int ACCESS_SERIALIZABLEWRAPPER_V1_ID = (MIN_ID_2 + 202);
1335:
1336: public static final int ACCESS_B2I_STATIC_COMPILED_V1_ID = (MIN_ID_2 + 360);
1337:
1338: public static final int ACCESS_TREE_V1_ID = (MIN_ID_2 + 386);
1339:
1340: public static final int ACCESS_B2I_V3_ID = (MIN_ID_2 + 388);
1341:
1342: public static final int ACCESS_GISTUNDO_V1_ID = (MIN_ID_2 + 389);
1343:
1344: public static final int ACCESS_GIST_LEAFCONTROLROW_V1_ID = (MIN_ID_2 + 394);
1345:
1346: public static final int ACCESS_GIST_BRANCHCONTROLROW_V1_ID = (MIN_ID_2 + 395);
1347:
1348: public static final int STATISTICS_IMPL_V01_ID = (MIN_ID_2 + 397);
1349:
1350: public static final int UPDATE_STATISTICS_CONSTANT_ACTION_ID = (MIN_ID_2 + 398);
1351:
1352: public static final int DROP_STATISTICS_CONSTANT_ACTION_ID = (MIN_ID_2 + 399);
1353:
1354: public static final int ACCESS_GIST_RTREE_V1_ID = (MIN_ID_2 + 400);
1355:
1356: public static final int ACCESS_T_RECTANGLE_ID = (MIN_ID_4 + 34);
1357:
1358: public static final int ACCESS_T_INTCOL_V1_ID = MIN_ID_4 + 4;
1359:
1360: /******************************************************************
1361: **
1362: ** PropertyConglomerate
1363: **
1364: **
1365: **
1366: ******************************************************************/
1367: /** class org.apache.derby.impl.store.access.PropertyConglomerate */
1368:
1369: static public final int PC_XENA_VERSION_ID = (MIN_ID_2 + 15);
1370:
1371: /******************************************************************
1372: **
1373: ** Raw Store Log operation Ids
1374: **
1375: **
1376: **
1377: ******************************************************************/
1378:
1379: /* org.apache.derby.impl.store.raw.data.ChainAllocPageOperation */
1380: public static final int LOGOP_CHAIN_ALLOC_PAGE = (MIN_ID_2 + 97);
1381:
1382: /* org.apache.derby.impl.store.raw.xact.BeginXact */
1383: public static final int LOGOP_BEGIN_XACT = (MIN_ID_2 + 169);
1384:
1385: /* org.apache.derby.impl.store.raw.log.CheckpointOperation */
1386: public static final int LOGOP_CHECKPOINT = (MIN_ID_2 + 263);
1387:
1388: /* org.apache.derby.impl.store.raw.data.ContainerOperation */
1389: /* creating, dropping, removing container */
1390: public static final int LOGOP_CONTAINER = (MIN_ID_2 + 242);
1391:
1392: /* org.apache.derby.impl.store.raw.data.DeleteOperation */
1393: public static final int LOGOP_DELETE = (MIN_ID_2 + 101);
1394:
1395: /* org.apache.derby.impl.store.raw.xact.EndXact */
1396: public static final int LOGOP_END_XACT = (MIN_ID_2 + 102);
1397:
1398: /* org.apache.derby.impl.store.raw.data.InsertOperation */
1399: public static final int LOGOP_INSERT = (MIN_ID_2 + 103);
1400:
1401: /* org.apache.derby.impl.store.raw.data.LogicalUndoOperation */
1402: public static final int LOGOP_PAGE_LOGICAL_UNDO = (MIN_ID_2 + 104);
1403:
1404: /* org.apache.derby.impl.store.raw.data.PhysicalUndoOperation */
1405: public static final int LOGOP_PAGE_PHYSICAL_UNDO = (MIN_ID_2 + 105);
1406:
1407: /* org.apache.derby.impl.store.raw.data.PurgeOperation */
1408: public static final int LOGOP_PURGE = (MIN_ID_2 + 106);
1409:
1410: /* org.apache.derby.impl.store.raw.data.ContainerUndoOperation */
1411: public static final int LOGOP_CONTAINER_UNDO = (MIN_ID_2 + 107);
1412:
1413: /* org.apache.derby.impl.store.raw.data.UpdateOperation */
1414: public static final int LOGOP_UPDATE = (MIN_ID_2 + 108);
1415:
1416: /* org.apache.derby.impl.store.raw.data.UpdateFieldOperation */
1417: public static final int LOGOP_UPDATE_FIELD = (MIN_ID_2 + 109);
1418:
1419: /* org.apache.derby.impl.store.raw.data.CopyRowsOperation */
1420: public static final int LOGOP_COPY_ROWS = (MIN_ID_2 + 210);
1421:
1422: /* org.apache.derby.impl.store.raw.data.AllocPageOperation */
1423: public static final int LOGOP_ALLOC_PAGE = (MIN_ID_2 + 111);
1424:
1425: /*org.apache.derby.impl.store.raw.data.InitPageOperation */
1426: public static final int LOGOP_INIT_PAGE = (MIN_ID_2 + 241);
1427:
1428: /* org.apache.derby.impl.store.raw.data.InvalidatePageOperation */
1429: public static final int LOGOP_INVALIDATE_PAGE = (MIN_ID_2 + 113);
1430:
1431: /* org.apache.derby.impl.store.raw.data.SetReservedSpaceOperation */
1432: public static final int LOGOP_SET_RESERVED_SPACE = (MIN_ID_2 + 287);
1433:
1434: /* org.apache.derby.impl.store.raw.data.RemoveFileOperation */
1435: public static final int LOGOP_REMOVE_FILE = (MIN_ID_2 + 291);
1436:
1437: /* org.apache.derby.impl.store.raw.log.ChecksumOperation */
1438: public static final int LOGOP_CHECKSUM = (MIN_ID_2 + 453);
1439:
1440: /* org.apache.derby.impl.store.raw.data.CompressSpacePageOperation */
1441: public static final int LOGOP_COMPRESS_SPACE = (MIN_ID_2 + 454);
1442:
1443: /* org.apache.derby.impl.store.raw.data.EncryptContainerOperation */
1444: public static final int LOGOP_ENCRYPT_CONTAINER = (MIN_ID_2 + 459);
1445:
1446: /* org.apache.derby.impl.store.raw.data.EncryptContainerUndoOperation */
1447: public static final int LOGOP_ENCRYPT_CONTAINER_UNDO = (MIN_ID_2 + 460);
1448:
1449: /*******************************************************************
1450: **
1451: ** container types
1452: **
1453: ******************************************************************/
1454: /* org.apache.derby.impl.store.raw.data.FileContainer */
1455: public static final int RAW_STORE_SINGLE_CONTAINER_FILE = (MIN_ID_2 + 116);
1456:
1457: /* org.apache.derby.impl.store.raw.data.StreamFileContainer */
1458: public static final int RAW_STORE_SINGLE_CONTAINER_STREAM_FILE = (MIN_ID_2 + 290);
1459:
1460: /*******************************************************************
1461: **
1462: ** page types
1463: **
1464: **
1465: ******************************************************************/
1466: /* org.apache.derby.impl.store.raw.data.StoredPage */
1467: public static final int RAW_STORE_STORED_PAGE = (MIN_ID_2 + 117);
1468:
1469: /* org.apache.derby.impl.store.raw.data.AllocPage */
1470: public static final int RAW_STORE_ALLOC_PAGE = (MIN_ID_2 + 118);
1471:
1472: /*****************************************************************
1473: **
1474: ** Log files
1475: **
1476: **
1477: ******************************************************************/
1478: /* org.apache.derby.impl.store.raw.log.LogToFile */
1479: public static final int FILE_STREAM_LOG_FILE = (MIN_ID_2 + 128);
1480:
1481: /*****************************************************************
1482: **
1483: ** Log record
1484: **
1485: ******************************************************************/
1486: /* org.apache.derby.impl.store.raw.log.LogRecord */
1487: public static final int LOG_RECORD = (MIN_ID_2 + 129);
1488:
1489: /* org.apache.derby.impl.store.raw.log.LogCounter */
1490: public static final int LOG_COUNTER = (MIN_ID_2 + 130);
1491:
1492: /******************************************************************
1493: **
1494: ** identifiers
1495: **
1496: ******************************************************************/
1497: /* org.apache.derby.impl.services.uuid.BasicUUID */
1498: public static final int BASIC_UUID = (MIN_ID_2 + 131);
1499:
1500: /*
1501: * Transaction Ids
1502: */
1503:
1504: /* org.apache.derby.impl.store.raw.xact.GlobalXactId */
1505: public static final int RAW_STORE_GLOBAL_XACT_ID_V20 = (MIN_ID_2 + 132);
1506:
1507: /* org.apache.derby.impl.store.raw.xact.XactId */
1508: public static final int RAW_STORE_XACT_ID = (MIN_ID_2 + 147);
1509:
1510: /* org.apache.derby.impl.store.raw.xact.XAXactId */
1511: public static final int RAW_STORE_GLOBAL_XACT_ID_NEW = (MIN_ID_2 + 328);
1512:
1513: /*
1514: * Transaction table
1515: */
1516: /* org.apache.derby.impl.store.raw.xact.TransactionTableEntry */
1517: public static final int RAW_STORE_TRANSACTION_TABLE_ENTRY = (MIN_ID_2 + 261);
1518:
1519: /* org.apache.derby.impl.store.raw.xact.TransactionTable */
1520: public static final int RAW_STORE_TRANSACTION_TABLE = (MIN_ID_2 + 262);
1521:
1522: /******************************************************************
1523: **
1524: ** LocalDriver Formatables.
1525: **
1526: ******************************************************************/
1527:
1528: /* NOT USED = org.apache.derby.impl.jdbc.ExternalizableConnection */
1529: public static final int EXTERNALIZABLE_CONNECTION_ID = (MIN_ID_2 + 192);
1530:
1531: /******************************************************************
1532: **
1533: ** InternalUtils MODULE CLASSES
1534: **
1535: ******************************************************************/
1536: /* org.apache.derby.iapi.util.ByteArray */
1537: public static final int FORMATABLE_BYTE_ARRAY_V01_ID = (MIN_ID_2 + 219);
1538:
1539: /******************************************************************
1540: **
1541: ** UDPATE MAX_ID_2 WHEN YOU ADD A NEW FORMATABLE
1542: **
1543: ******************************************************************/
1544:
1545: /*
1546: * Make sure this is updated when a new module is added
1547: */
1548: public static final int MAX_ID_2 = (MIN_ID_2 + 464);
1549:
1550: // DO NOT USE 4 BYTE IDS ANYMORE
1551: static public final int MAX_ID_4 = MIN_ID_4 + 34;
1552: }
|