StoredFormatIds.java

Index Score
org.apache.derby.iapi.services.io
Apache Derby

View: Reasons, Metrics, Source Code

These are the metrics that contribute to the Enerjy Score for this file, ranked by impact. So the metrics listed at the top influence the score to a greater extent that the metrics listed at the bottom.

MetricDescription
DECL_COMMENTSComments in declarations
JAVA0068JAVA0068 Modifiers not declared in recommended order
DOC_COMMENTNumber of javadoc comment lines
COMMENTSComment lines
SIZESize of the file in bytes
LINESNumber of lines in the source file
JAVA0116JAVA0116 Missing javadoc: field 'field'
WHITESPACENumber of whitespace lines
LINE_COMMENTNumber of line comments
UNIQUE_OPERANDSNumber of unique operands
PROGRAM_VOCABHalstead program vocabulary
ELOCEffective lines of code
OPERATORSNumber of operators
LOGICAL_LINESNumber of statements
LOCLines of code
JAVA0101JAVA0101 Unnecessary modifier for field in interface
PROGRAM_LENGTHHalstead program length
JAVA0034JAVA0034 Missing braces in if statement
OPERANDSNumber of operands
JAVA0117JAVA0117 Missing javadoc: method 'method'
BLOCK_COMMENTNumber of block comment lines
PROGRAM_VOLUMEHalstead program volume
CYCLOMATICCyclomatic complexity
EXEC_COMMENTSComments in executable code
JAVA0126JAVA0126 Method declares unchecked exception in throws
JAVA0110JAVA0110 Incorrect javadoc: no @return tag
COMPARISONSNumber of comparison operators
UNIQUE_OPERATORSNumber of unique operators
BLOCKSNumber of blocks
RETURNSNumber of return points from functions
LOOPSNumber of loops
INTERFACE_COMPLEXITYInterface complexity
JAVA0108JAVA0108 Incorrect javadoc: no @param tag for 'parameter'
EXITSProcedure exits
FUNCTIONSNumber of function declarations
PARAMSNumber of formal parameter declarations
JAVA0145JAVA0145 Tab character used in source file
/* Derby - Class org.apache.derby.iapi.services.io.StoredFormatIds Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to you under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. */ //depot/main/java/org.apache.derby.iapi.services.io/StoredFormatIds.java#211 - edit change 20974 (text) package org.apache.derby.iapi.services.io; /** A format id identifies a stored form of an object for the purposes of locating a class which can read the stored form and reconstruct the object using the java.io.Externalizable interface. <P>An important aspect of the format id concept is that it does not impose an implementation on the stored object. Rather, multiple implementations of an object (or interface) may share a format id. One implementation may store (write) an object and another may restore (read) the object. The implication of this is that a format id specifies the following properties of a stored object. <UL> <LI>The interface(s) the stored object must support. Any implementation which reads the object must support these interfaces. <LI>The format of the stored object. All implementaions which support the format must be able to read and write it. </UL> <P>An object should implement the Formatable inteface to support a stored format. In addition, the module which contains the object should register the object's class with the Monitor (See FormatIdUtil.register.) <P>When you add a format id to this file, please include the list of interfaces an implementaion must support when it supports the format id. When Derby code reads a stored form it returns an object of a Class which supports the stored form. A reader may cast this object to any interface listed in this file. It is an error for the reader to cast the object to a class or interface not listed in this file. <P>When you implement a class that supports a format, add a comment that states the name of the class. The first implementation of a format defines the stored form. <P>This interface defines all the format ids for Derby. If you define a format id please be sure to declare it in this file. If you remove support for a one please document that the format id is deprecated. Never remove or re-use a format id. */ public interface StoredFormatIds { /** Byte length of a two byt format id. */ int TWO_BYTE_FORMAT_ID_BYTE_LENGTH = 2; /** Minimum value for a two byte format id. */ int MIN_TWO_BYTE_FORMAT_ID = 0; //16384 /** Maximum value for a two byte format id. */ int MAX_TWO_BYTE_FORMAT_ID = 0x7FFF; //32767 int MIN_ID_2 = MIN_TWO_BYTE_FORMAT_ID; // TEMP DJD int MIN_ID_4 = MIN_ID_2 + 403; /****************************************************************** ** ** How to add an ID for another Formatable class ** ** o In the list of constants below, identify the module that ** defines your class. ** ** o Add your class to the list to the end of that module ** use a number that is one greater than all existing formats ** in that module, see MAX_ID_2 or MAX_ID_4 at the end of the ** file, these are the largest existing formatId. ** ** o update MAX_ID_2 and MAX_ID_4 ** ** ** o Make sure that the getFormatId() method for your class ** returns the constant that you just made up. ** ** o Now find your module startup code that registers Format ** IDs. Add your class to that list. ** ** o Add a test for your new format ID to T_StoredFormat.java ** ******************************************************************/ /****************************************************************** ** ** Formats for the StoredFormatModule ** ** ** ******************************************************************/ /** Special format id for any null referance */ static public final int NULL_FORMAT_ID = (MIN_ID_2 + 0); /** Special format id for tagging UTF8 strings */ static public final int STRING_FORMAT_ID = (MIN_ID_2 + 1); /** Special format id for tagging Serializable objects. */ static public final int SERIALIZABLE_FORMAT_ID = (MIN_ID_2 + 2); /****************************************************************** ** ** DataDictionary Formats ** ** ** ******************************************************************/ /** class org.apache.derby.iapi.types.BooleanTypeId */ static public final int BOOLEAN_TYPE_ID = (MIN_ID_2 + 4); /** class org.apache.derby.iapi.types.BooleanTypeId */ static public final int BOOLEAN_COMPILATION_TYPE_ID = (MIN_ID_2 + 260); /** class org.apache.derby.iapi.types.CharTypeId */ static public final int CHAR_TYPE_ID = (MIN_ID_2 + 5); /** class org.apache.derby.iapi.types.CharTypeId */ static public final int CHAR_COMPILATION_TYPE_ID = (MIN_ID_2 + 244); /** class org.apache.derby.iapi.types.DoubleTypeId */ static public final int DOUBLE_TYPE_ID = (MIN_ID_2 + 6); /** class org.apache.derby.iapi.types.DoubleTypeId */ static public final int DOUBLE_COMPILATION_TYPE_ID = (MIN_ID_2 + 245); /** class org.apache.derby.iapi.types.IntTypeId */ static public final int INT_TYPE_ID = (MIN_ID_2 + 7); /** class org.apache.derby.iapi.types.IntTypeId */ static public final int INT_COMPILATION_TYPE_ID = (MIN_ID_2 + 246); /** class org.apache.derby.iapi.types.RealTypeId */ static public final int REAL_TYPE_ID = (MIN_ID_2 + 8); /** class org.apache.derby.iapi.types.RealTypeId */ static public final int REAL_COMPILATION_TYPE_ID = (MIN_ID_2 + 247); /** class org.apache.derby.iapi.types.RefTypeId */ static public final int REF_TYPE_ID = (MIN_ID_2 + 9); /** class org.apache.derby.iapi.types.RefTypeId */ static public final int REF_COMPILATION_TYPE_ID = (MIN_ID_2 + 248); /** class org.apache.derby.iapi.types.SmallintTypeId */ static public final int SMALLINT_TYPE_ID = (MIN_ID_2 + 10); /** class org.apache.derby.iapi.types.SmallintTypeId */ static public final int SMALLINT_COMPILATION_TYPE_ID = (MIN_ID_2 + 249); /** class org.apache.derby.iapi.types.LongintTypeId */ static public final int LONGINT_TYPE_ID = (MIN_ID_2 + 11); /** class org.apache.derby.iapi.types.LongintTypeId */ static public final int LONGINT_COMPILATION_TYPE_ID = (MIN_ID_2 + 250); /** class org.apache.derby.iapi.types.UserDefinedTypeId */ //static public final int USERDEFINED_TYPE_ID = // (MIN_ID_2 + 12); /** class org.apache.derby.iapi.types.UserDefinedTypeIdV2 */ //static public final int USERDEFINED_TYPE_ID_V2 = // (MIN_ID_2 + 267); /** class org.apache.derby.iapi.types.UserDefinedTypeIdV3 */ static public final int USERDEFINED_TYPE_ID_V3 = (MIN_ID_2 + 267); /** class org.apache.derby.iapi.types.UserDefinedTypeId */ static public final int USERDEFINED_COMPILATION_TYPE_ID = (MIN_ID_2 + 251); /** class org.apache.derby.iapi.types.UserDefinedTypeIdV2 */ static public final int USERDEFINED_COMPILATION_TYPE_ID_V2 = (MIN_ID_2 + 265); /** class org.apache.derby.iapi.types.VarcharTypeId */ static public final int VARCHAR_TYPE_ID = (MIN_ID_2 + 13); /** class org.apache.derby.iapi.types.VarcharTypeId */ static public final int VARCHAR_COMPILATION_TYPE_ID = (MIN_ID_2 + 252); /** class org.apache.derby.catalog.types.TypeDescriptorImpl */ static public final int DATA_TYPE_IMPL_DESCRIPTOR_V01_ID = (MIN_ID_2 + 14); /** * In releases prior to 10.3 this format was produced by * DataTypeDescriptor. The format was incorrect used * in system catalogs for routine parameter and return * types. The format contained repeated information. * DERBY-2775 changed the code so that these catalog * types were written as TypeDescriptor (which is what * always had occurred for the types in SYSCOLUMNS). * <P> * This format now maps to OldRoutineType and is solely * used to read old routine types. */ static public final int DATA_TYPE_SERVICES_IMPL_V01_ID = (MIN_ID_2 + 259); /** class org.apache.derby.impl.sql.catalog.ConglomerateDescriptorFinder */ static public final int CONGLOMERATE_DESCRIPTOR_FINDER_V01_ID = (MIN_ID_2 + 135); /** class org.apache.derby.impl.sql.catalog.ConstraintDescriptorFinder */ static public final int CONSTRAINT_DESCRIPTOR_FINDER_V01_ID = (MIN_ID_2 + 208); /** class org.apache.derby.impl.sql.catalog.DefaultDescriptorFinder */ static public final int DEFAULT_DESCRIPTOR_FINDER_V01_ID = (MIN_ID_2 + 325); /** class org.apache.derby.impl.sql.catalog.AliasDescriptorFinder */ static public final int ALIAS_DESCRIPTOR_FINDER_V01_ID = (MIN_ID_2 + 136); /** class org.apache.derby.impl.sql.catalog.TableDescriptorFinder */ static public final int TABLE_DESCRIPTOR_FINDER_V01_ID = (MIN_ID_2 + 137); /** class org.apache.derby.impl.sql.catalog.CoreDDFinderClassInfo */ static public final int ROUTINE_PERMISSION_FINDER_V01_ID = (MIN_ID_2 + 461); /** class org.apache.derby.impl.sql.catalog.CoreDDFinderClassInfo */ static public final int TABLE_PERMISSION_FINDER_V01_ID = (MIN_ID_2 + 462); /** class org.apache.derby.impl.sql.catalog.CoreDDFinderClassInfo */ static public final int COLUMNS_PERMISSION_FINDER_V01_ID = (MIN_ID_2 + 463); /** class org.apache.derby.impl.sql.catalog.CoreDDFinderClassInfo */ static public final int ROLE_GRANT_FINDER_V01_ID = (MIN_ID_2 + 471); /** class org.apache.derby.impl.sql.catalog.DataDictionaryDescriptorFinder */ static public final int DATA_DICTIONARY_DESCRIPTOR_FINDER_V01_ID = (MIN_ID_2 + 138); /** class org.apache.derby.impl.sql.catalog.ViewDescriptorFinder */ static public final int VIEW_DESCRIPTOR_FINDER_V01_ID = (MIN_ID_2 + 145); /** class org.apache.derby.impl.sql.catalog.SPSDescriptorFinder */ static public final int SPS_DESCRIPTOR_FINDER_V01_ID = (MIN_ID_2 + 226); /** class org.apache.derby.impl.sql.catalog.FileInfoFinder */ static public final int FILE_INFO_FINDER_V01_ID = (MIN_ID_2 + 273); /** class org.apache.derby.impl.sql.catalog.TriggerDescriptorFinder */ static public final int TRIGGER_DESCRIPTOR_FINDER_V01_ID = (MIN_ID_2 + 320); /** class org.apache.derby.impl.sql.catalog.TriggerDescriptorFinder */ static public final int TRIGGER_DESCRIPTOR_V01_ID = (MIN_ID_2 + 316); /** class org.apache.derby.impl.sql.catalog.DD_SocratesVersion */ static public final int DD_SOCRATES_VERSION_ID = (MIN_ID_2 + 174); /** class org.apache.derby.catalog.types.ReferencedColumnsDescriptorImpl */ static public final int REFERENCED_COLUMNS_DESCRIPTOR_IMPL_V01_ID = (MIN_ID_2 + 205); /** class org.apache.derby.impl.sql.catalog.DD_PlatoVersion */ static public final int DD_PLATO_VERSION_ID = (MIN_ID_2 + 206); /** class org.apache.derby.impl.sql.catalog.DD_AristotleVersion */ static public final int DD_ARISTOTLE_VERSION_ID = (MIN_ID_2 + 272); /** class org.apache.derby.impl.sql.catalog.DD_XenaVersion */ static public final int DD_XENA_VERSION_ID = (MIN_ID_2 + 302); /** class org.apache.derby.impl.sql.catalog.DD_BuffyVersion */ static public final int DD_BUFFY_VERSION_ID = (MIN_ID_2 + 373); /** class org.apache.derby.impl.sql.catalog.DD_MulanVersion */ static public final int DD_MULAN_VERSION_ID = (MIN_ID_2 + 376); /** class org.apache.derby.impl.sql.catalog.DD_IvanovaVersion */ static public final int DD_IVANOVA_VERSION_ID = (MIN_ID_2 + 396); /** class org.apache.derby.impl.sql.catalog.DD_DB2J72 now mapped to a single class DD_Version. 5.0 databases will have this as the format identifier for their catalog version number. */ static public final int DD_DB2J72_VERSION_ID = (MIN_ID_2 + 401); /** class org.apache.derby.impl.sql.catalog.DD_Version now mapped to a single class DD_Version. 5.1 and later databases will have this as the format identifier for their catalog version number. */ static public final int DD_ARWEN_VERSION_ID = (MIN_ID_2 + 402); /** class org.apache.derby.iapi.types.LongvarcharTypeId */ static public final int LONGVARCHAR_TYPE_ID = (MIN_ID_2 + 230); /** class org.apache.derby.iapi.types.LongvarcharTypeId */ static public final int LONGVARCHAR_COMPILATION_TYPE_ID = (MIN_ID_2 + 256); /** class org.apache.derby.iapi.types.LongvarcharTypeId */ static public final int CLOB_TYPE_ID = (MIN_ID_2 + 444); /** class org.apache.derby.iapi.types.LongvarcharTypeId */ static public final int CLOB_COMPILATION_TYPE_ID = (MIN_ID_2 + 445); /** class org.apache.derby.iapi.types.LongvarbitTypeId - XXXX does not exist!!! */ static public final int LONGVARBIT_TYPE_ID = (MIN_ID_2 + 232); /** class org.apache.derby.iapi.types.LongvarbitTypeId - XXXX does not exist!!! */ static public final int LONGVARBIT_COMPILATION_TYPE_ID = (MIN_ID_2 + 255); /** class org.apache.derby.iapi.types.LongvarbitTypeId - XXXX does not exist!!! But for BLOB we do the same as for LONGVARBIT, only need different ids */ static public final int BLOB_TYPE_ID = (MIN_ID_2 + 440); /** class org.apache.derby.iapi.types.LongvarbitTypeId - XXXX does not exist!!! But for BLOB we do the same as for LONGVARBIT, only need different ids */ static public final int BLOB_COMPILATION_TYPE_ID = (MIN_ID_2 + 441); /** Instance of TypeId for XML data types. */ static public final int XML_TYPE_ID = (MIN_ID_2 + 456); /** class org.apache.derby.iapi.types.SqlXmlUtil */ static public final int SQL_XML_UTIL_V01_ID = (MIN_ID_2 + 464); /** class org.apache.derby.iapi.types.JSQLType */ static public final int JSQLTYPEIMPL_ID = (MIN_ID_2 + 307); /** class org.apache.derby.impl.sql.catalog.RowListImpl */ static public final int ROW_LIST_V01_ID = (MIN_ID_2 + 239); /** * DataTypeDescriptor (runtime type) new format from 10.4 * onwards that reflects the change in role from is a TypeDescriptor * to has a TypeDescriptor. Fixes the format so that information * is not duplicated. * Old format number was DATA_TYPE_SERVICES_IMPL_V01_ID (259). */ static public final int DATA_TYPE_DESCRIPTOR_V02_ID = (MIN_ID_2 + 240); /** class org.apache.derby.impl.sql.catalog.IndexRowGeneratorImpl */ static public final int INDEX_ROW_GENERATOR_V01_ID = (MIN_ID_2 + 268); /** class org.apache.derby.iapi.services.io.FormatableBitSet */ static public final int BITIMPL_V01_ID = (MIN_ID_2 + 269); /** class org.apache.derby.iapi.services.io.FormatableArrayHolder */ static public final int FORMATABLE_ARRAY_HOLDER_V01_ID = (MIN_ID_2 + 270); /** class org.apache.derby.iapi.services.io.FormatableProperties */ static public final int FORMATABLE_PROPERTIES_V01_ID = (MIN_ID_2 + 271); /** class org.apache.derby.iapi.services.io.FormatableIntHolder */ static public final int FORMATABLE_INT_HOLDER_V01_ID = (MIN_ID_2 + 303); /** class org.apache.derby.iapi.services.io.FormatableLongHolder */ static public final int FORMATABLE_LONG_HOLDER_V01_ID = (MIN_ID_2 + 329); /** class org.apache.derby.iapi.services.io.FormatableHashtable */ static public final int FORMATABLE_HASHTABLE_V01_ID = (MIN_ID_2 + 313); /** class org.apache.derby.iapi.types.NationalCharTypeId */ //static public final int NATIONAL_CHAR_TYPE_ID = //(MIN_ID_2 + 370); /** class org.apache.derby.iapi.types.NationalLongvarcharTypeId */ //static public final int NATIONAL_LONGVARCHAR_TYPE_ID = //(MIN_ID_2 + 362); /** class org.apache.derby.iapi.types.NationalLongvarcharTypeId */ //static public final int NCLOB_TYPE_ID = //(MIN_ID_2 + 448); /** class org.apache.derby.iapi.types.NationalVarcharTypeId */ //static public final int NATIONAL_VARCHAR_TYPE_ID = //(MIN_ID_2 + 369); /** class org.apache.derby.impl.sql.catalog.SchemaDescriptorFinder */ static public final int SCHEMA_DESCRIPTOR_FINDER_V01_ID = (MIN_ID_2 + 371); /** class org.apache.derby.impl.sql.catalog.ColumnDescriptorFinder */ static public final int COLUMN_DESCRIPTOR_FINDER_V01_ID = (MIN_ID_2 + 393); /****************************************************************** ** ** DependencySystem Formats ** ** ** ******************************************************************/ /** Unused 243 */ static public final int UNUSED_243 = (MIN_ID_2 + 243); /** |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||| || || DEPRECATED || |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||| class org.apache.derby.impl.sql.catalog.OIDImpl */ static public final int OIDIMPL_V01_ID = (MIN_ID_2 + 15); /** class org.apache.derby.catalog.types.BooleanTypeIdImpl */ static public final int BOOLEAN_TYPE_ID_IMPL = (MIN_ID_2 + 16); /** class org.apache.derby.catalog.types.CharTypeIdImpl */ static public final int CHAR_TYPE_ID_IMPL = (MIN_ID_2 + 17); /** class org.apache.derby.catalog.types.DoubleTypeIdImpl */ static public final int DOUBLE_TYPE_ID_IMPL = (MIN_ID_2 + 18); /** class org.apache.derby.catalog.types.IntTypeIdImpl */ static public final int INT_TYPE_ID_IMPL = (MIN_ID_2 + 19); /** class org.apache.derby.catalog.types.RealTypeIdImpl */ static public final int REAL_TYPE_ID_IMPL = (MIN_ID_2 + 20); /** class org.apache.derby.catalog.types.RefTypeIdImpl */ static public final int REF_TYPE_ID_IMPL = (MIN_ID_2 + 21); /** class org.apache.derby.catalog.types.SmallintTypeIdImpl */ static public final int SMALLINT_TYPE_ID_IMPL = (MIN_ID_2 + 22); /** class org.apache.derby.catalog.types.LongintTypeIdImpl */ static public final int LONGINT_TYPE_ID_IMPL = (MIN_ID_2 + 23); /** class org.apache.derby.catalog.types.UserDefinedTypeIdImpl */ //static public final int USERDEFINED_TYPE_ID_IMPL = // (MIN_ID_2 + 24); /** class org.apache.derby.catalog.types.UserDefinedTypeIdImpl */ //static public final int USERDEFINED_TYPE_ID_IMPL_V2 = // (MIN_ID_2 + 264); /** class org.apache.derby.catalog.types.UserDefinedTypeIdImpl */ static public final int USERDEFINED_TYPE_ID_IMPL_V3 = (MIN_ID_2 + 264); /** class org.apache.derby.catalog.types.TypesImplInstanceGetter */ static public final int DATE_TYPE_ID_IMPL = (MIN_ID_2 + 32); /** class org.apache.derby.catalog.types.TypesImplInstanceGetter */ static public final int TIME_TYPE_ID_IMPL = (MIN_ID_2 + 33); /** class org.apache.derby.catalog.types.TypesImplInstanceGetter */ static public final int TIMESTAMP_TYPE_ID_IMPL = (MIN_ID_2 + 34); /** class org.apache.derby.Database.Language.Execution.MinAggregator */ static public final int AGG_MIN_V01_ID = (MIN_ID_2 + 153); /** class org.apache.derby.Database.Language.Execution.CountStarAggregator */ static public final int AGG_COUNT_STAR_V01_ID = (MIN_ID_2 + 150); /** class org.apache.derby.catalog.types.VarcharTypeIdImpl */ static public final int VARCHAR_TYPE_ID_IMPL = (MIN_ID_2 + 25); /** class org.apache.derby.impl.sql.catalog.ParameterDescriptorImpl */ static public final int PARAMETER_DESCRIPTOR_V01_ID = (MIN_ID_2 + 26); /** class org.apache.derby.iapi.types.BitTypeId */ static public final int BIT_TYPE_ID = (MIN_ID_2 + 27); /** class org.apache.derby.catalog.types.BitTypeIdImpl */ static public final int BIT_TYPE_ID_IMPL = (MIN_ID_2 + 28); /** class org.apache.derby.iapi.types.VarbitTypeId */ static public final int VARBIT_TYPE_ID = (MIN_ID_2 + 29); /** class org.apache.derby.iapi.types.VarbitTypeId */ static public final int VARBIT_COMPILATION_TYPE_ID = (MIN_ID_2 + 258); /** class org.apache.derby.catalog.types.VarbitTypeIdImpl */ static public final int VARBIT_TYPE_ID_IMPL = (MIN_ID_2 + 30); /** class org.apache.derby.catalog.types.IndexDescriptorImpl */ static public final int INDEX_DESCRIPTOR_IMPL_V02_ID = (MIN_ID_2 + 387); /** class org.apache.derby.iapi.types.TinyintTypeId */ static public final int TINYINT_TYPE_ID = (MIN_ID_2 + 195); /** class org.apache.derby.catalog.types.TinyintTypeIdImpl */ static public final int TINYINT_TYPE_ID_IMPL = (MIN_ID_2 + 196); /** class org.apache.derby.iapi.types.DecimalTypeId */ static public final int DECIMAL_TYPE_ID = (MIN_ID_2 + 197); /** class org.apache.derby.iapi.types.DateTypeId */ static public final int DATE_TYPE_ID = (MIN_ID_2 + 40); /** class org.apache.derby.iapi.types.TimeTypeId */ static public final int TIME_TYPE_ID = (MIN_ID_2 + 35); /** class org.apache.derby.iapi.types.TimestampTypeId */ static public final int TIMESTAMP_TYPE_ID = (MIN_ID_2 + 36); /** class org.apache.derby.catalog.types.DecimalTypeIdImpl */ static public final int DECIMAL_TYPE_ID_IMPL = (MIN_ID_2 + 198); /** class org.apache.derby.catalog.types.LongvarcharTypeIdImpl */ static public final int LONGVARCHAR_TYPE_ID_IMPL = (MIN_ID_2 + 231); /** class org.apache.derby.catalog.types.LongvarcharTypeIdImpl */ static public final int CLOB_TYPE_ID_IMPL = (MIN_ID_2 + 446); /** class org.apache.derby.catalog.types.LongvarbitTypeIdImpl - does nto exist */ static public final int LONGVARBIT_TYPE_ID_IMPL = (MIN_ID_2 + 233); /** class org.apache.derby.catalog.types.LongvarbitTypeIdImpl - does not exist, but we do it the same way for BLOB as for Longvarbit... */ static public final int BLOB_TYPE_ID_IMPL = (MIN_ID_2 + 442); /** class org.apache.derby.iapi.types.BitTypeId */ static public final int BIT_COMPILATION_TYPE_ID = (MIN_ID_2 + 253); /** class org.apache.derby.iapi.types.DecimalTypeId */ static public final int DECIMAL_COMPILATION_TYPE_ID = (MIN_ID_2 + 254); /** class org.apache.derby.iapi.types.TinyintTypeId */ static public final int TINYINT_COMPILATION_TYPE_ID = (MIN_ID_2 + 257); /** class org.apache.derby.catalog.types.NationalCharTypeIdImpl */ //static public final int NATIONAL_CHAR_TYPE_ID_IMPL = //(MIN_ID_2 + 366); /** class org.apache.derby.catalog.types.NationalVarcharTypeIdImpl */ //static public final int NATIONAL_VARCHAR_TYPE_ID_IMPL = //(MIN_ID_2 + 367); /** class org.apache.derby.catalog.types.NationalLongVarcharTypeIdImpl */ //static public final int NATIONAL_LONGVARCHAR_TYPE_ID_IMPL = //(MIN_ID_2 + 368); /** class org.apache.derby.catalog.types.NationalLongVarcharTypeIdImpl */ //static public final int NCLOB_TYPE_ID_IMPL = //(MIN_ID_2 + 449); /** class org.apache.derby.iapi.types.XML (implementation of org.apache.derby.iapi.types.XMLDataValue). */ static public final int XML_TYPE_ID_IMPL = (MIN_ID_2 + 457); // 468 unused // (MIN_ID_2 + 468); public static final int ROW_MULTISET_TYPE_ID_IMPL = (MIN_ID_2 + 469); /****************************************************************** ** ** Execution MODULE CLASSES ** ******************************************************************/ /** class org.apache.derby.Database.Language.Execution.RenameConstantAction */ static public final int RENAME_CONSTANT_ACTION_V01_ID = (MIN_ID_2 + 390); /** class org.apache.derby.Database.Language.Execution.DeleteConstantAction */ static public final int DELETE_CONSTANT_ACTION_V01_ID = (MIN_ID_2 + 37); /** class org.apache.derby.Database.Language.Execution.InsertConstantAction */ static public final int INSERT_CONSTANT_ACTION_V01_ID = (MIN_ID_2 + 38); /** class org.apache.derby.Database.Language.Execution.UpdateConstantAction */ static public final int UPDATABLE_VTI_CONSTANT_ACTION_V01_ID = (MIN_ID_2 + 375); /** class org.apache.derby.Database.Language.Execution.UpdateConstantAction */ static public final int UPDATE_CONSTANT_ACTION_V01_ID = (MIN_ID_2 + 39); /** */ static public final int UNUSED_2_204 = (MIN_ID_2 + 204); /** UNUSED */ static public final int UNUSED_2_41 = (MIN_ID_2 + 41); /** class org.apache.derby.Database.Language.Execution.DropAliasConstantAction */ static public final int UNUSED_2_42 = (MIN_ID_2 + 42); /** class org.apache.derby.Database.Language.Execution.CreateSchemaConstantAction */ static public final int UNUSED_2_141 = (MIN_ID_2 + 141); /** */ static public final int UNUSED_2_142 = (MIN_ID_2 + 142); /** class org.apache.derby.Database.Language.Execution.CreateViewConstantAction */ static public final int UNUSED_2_143 = (MIN_ID_2 + 143); /** */ static public final int UNUSED_2_144 = (MIN_ID_2 + 144); /** class org.apache.derby.Database.Language.Execution.ProviderInfo */ static public final int PROVIDER_INFO_V01_ID = (MIN_ID_2 + 148); /** class org.apache.derby.Database.Language.Execution.AvgAggregator */ static public final int AGG_AVG_V01_ID = (MIN_ID_2 + 149); /** class org.apache.derby.Database.Language.Execution.CountAggregator */ static public final int AGG_COUNT_V01_ID = (MIN_ID_2 + 151); /** class org.apache.derby.Database.Language.Execution.MaxMinAggregator */ static public final int AGG_MAX_MIN_V01_ID = (MIN_ID_2 + 152); /** class org.apache.derby.Database.Language.Execution.SumAggregator */ static public final int AGG_SUM_V01_ID = (MIN_ID_2 + 154); /** class org.apache.derby.Database.Language.Execution.UserAggregatorAggregator */ static public final int AGG_USER_ADAPTOR_V01_ID = (MIN_ID_2 + 323); /** class org.apache.derby.Database.Language.Execution.StatisticsConstantAction */ static public final int STATISTICS_CONSTANT_ACTION_V01_ID = (MIN_ID_2 + 155); /** class org.apache.derby.impl.sql.execute.RunTimeStatisticsImpl */ static public final int RUN_TIME_STATISTICS_IMPL_V01_ID = (MIN_ID_2 + 173); /** class org.apache.derby.Database.Language.Execution.LockTableConstantAction */ static public final int UNUSED_2_275 = (MIN_ID_2 + 275); /** class org.apache.derby.impl.sql.execute.RealProjectRestrictStatistics */ static public final int REAL_PROJECT_RESTRICT_STATISTICS_IMPL_V01_ID = (MIN_ID_2 + 177); /** class org.apache.derby.impl.sql.execute.RealDistinctScalarAggregateStatistics */ static public final int REAL_DISTINCT_SCALAR_AGGREGATE_STATISTICS_IMPL_V01_ID = (MIN_ID_2 + 284); /** class org.apache.derby.impl.sql.execute.RealScalarAggregateStatistics */ static public final int REAL_SCALAR_AGGREGATE_STATISTICS_IMPL_V01_ID = (MIN_ID_2 + 283); /** class org.apache.derby.impl.sql.execute.RealGroupedAggregateStatistics */ static public final int REAL_GROUPED_AGGREGATE_STATISTICS_IMPL_V01_ID = (MIN_ID_2 + 285); /** class org.apache.derby.impl.sql.execute.RealSortStatistics */ static public final int REAL_SORT_STATISTICS_IMPL_V01_ID = (MIN_ID_2 + 178); /** class org.apache.derby.impl.sql.execute.RealTableScanStatistics */ static public final int REAL_TABLE_SCAN_STATISTICS_IMPL_V01_ID = (MIN_ID_2 + 179); /** class org.apache.derby.impl.sql.execute.RealHashJoinStatistics */ static public final int REAL_HASH_JOIN_STATISTICS_IMPL_V01_ID = (MIN_ID_2 + 304); /** class org.apache.derby.impl.sql.execute.RealNestedLoopJoinStatistics */ static public final int REAL_NESTED_LOOP_JOIN_STATISTICS_IMPL_V01_ID = (MIN_ID_2 + 180); /** class org.apache.derby.impl.sql.execute.RealIndexRowToBaseRowStatistics */ static public final int REAL_INDEX_ROW_TO_BASE_ROW_STATISTICS_IMPL_V01_ID = (MIN_ID_2 + 181); /** class org.apache.derby.impl.sql.execute.RealAnyResultSetStatistics */ static public final int REAL_ANY_RESULT_SET_STATISTICS_IMPL_V01_ID = (MIN_ID_2 + 182); /** class org.apache.derby.impl.sql.execute.RealOnceResultSetStatistics */ static public final int REAL_ONCE_RESULT_SET_STATISTICS_IMPL_V01_ID = (MIN_ID_2 + 183); /** class org.apache.derby.impl.sql.execute.RealCurrentOfStatistics */ static public final int REAL_CURRENT_OF_STATISTICS_IMPL_V01_ID = (MIN_ID_2 + 184); /** class org.apache.derby.impl.sql.execute.RealRowResultSetStatistics */ static public final int REAL_ROW_RESULT_SET_STATISTICS_IMPL_V01_ID = (MIN_ID_2 + 185); /** class org.apache.derby.impl.sql.execute.RealUnionResultSetStatistics */ static public final int REAL_UNION_RESULT_SET_STATISTICS_IMPL_V01_ID = (MIN_ID_2 + 186); /** class org.apache.derby.impl.sql.execute.RealHashLeftOuterJoinStatistics */ static public final int REAL_HASH_LEFT_OUTER_JOIN_STATISTICS_IMPL_V01_ID = (MIN_ID_2 + 305); /** class org.apache.derby.impl.sql.execute.RealNestedLoopLeftOuterJoinStatistics */ static public final int REAL_NESTED_LOOP_LEFT_OUTER_JOIN_STATISTICS_IMPL_V01_ID = (MIN_ID_2 + 187); /** class org.apache.derby.impl.sql.execute.RealNormalizeResultSetStatistics */ static public final int REAL_NORMALIZE_RESULT_SET_STATISTICS_IMPL_V01_ID = (MIN_ID_2 + 188); /** class org.apache.derby.impl.sql.execute.RealInsertResultSetStatistics */ static public final int REAL_INSERT_RESULT_SET_STATISTICS_IMPL_V01_ID = (MIN_ID_2 + 189); /** class org.apache.derby.impl.sql.execute.RealInsertVTIResultSetStatistics */ static public final int REAL_INSERT_VTI_RESULT_SET_STATISTICS_IMPL_V01_ID = (MIN_ID_2 + 379); /** class org.apache.derby.impl.sql.execute.RealUpdateResultSetStatistics */ static public final int REAL_UPDATE_RESULT_SET_STATISTICS_IMPL_V01_ID = (MIN_ID_2 + 190); /** class org.apache.derby.impl.sql.execute.RealDeleteResultSetStatistics */ static public final int REAL_DELETE_VTI_RESULT_SET_STATISTICS_IMPL_V01_ID = (MIN_ID_2 + 380); /** class org.apache.derby.impl.sql.execute.RealDeleteResultSetStatistics */ static public final int REAL_DELETE_RESULT_SET_STATISTICS_IMPL_V01_ID = (MIN_ID_2 + 191); /** org.apache.derby.impl.sql.execute.rts.RealDeleteCascadeResultSetStatistics" */ static public final int REAL_DELETE_CASCADE_RESULT_SET_STATISTICS_IMPL_V01_ID = (MIN_ID_2 + 439); /** class org.apache.derby.impl.sql.execute.RealHashScanStatistics */ static public final int REAL_HASH_SCAN_STATISTICS_IMPL_V01_ID = (MIN_ID_2 + 203); /** class org.apache.derby.impl.sql.execute.RealDistinctScanStatistics */ static public final int REAL_DISTINCT_SCAN_STATISTICS_IMPL_V01_ID = (MIN_ID_2 + 334); /** class org.apache.derby.impl.sql.execute.RealHashTableStatistics */ static public final int REAL_HASH_TABLE_STATISTICS_IMPL_V01_ID = (MIN_ID_2 + 306); /** class org.apache.derby.impl.sql.execute.RealVTIStatistics */ static public final int REAL_VTI_STATISTICS_IMPL_V01_ID = (MIN_ID_2 + 214); /** class org.apache.derby.impl.sql.execute.RealMaterializedResultSetStatistics */ static public final int REAL_MATERIALIZED_RESULT_SET_STATISTICS_IMPL_V01_ID = (MIN_ID_2 + 308); /** class org.apache.derby.impl.sql.execute.RealScrollInsensitiveResultSetStatistics */ static public final int REAL_SCROLL_INSENSITIVE_RESULT_SET_STATISTICS_IMPL_V01_ID = (MIN_ID_2 + 330); /** class org.apache.derby.Database.Language.Execution.CreateSPSConstantAction */ static public final int UNUSED_2_221 = (MIN_ID_2 + 221); /** class org.apache.derby.Database.Language.Execution.CreateSPSConstantAction */ static public final int UNUSED_2_222 = (MIN_ID_2 + 222); /** class org.apache.derby.Database.Language.Execution.AlterSPSConstantAction */ static public final int ALTER_SPS_CONSTANT_ACTION_V01_ID = (MIN_ID_2 + 229); /** class org.apache.derby.Database.Language.Execution.IndexColumnOrder */ static public final int INDEX_COLUMN_ORDER_V01_ID = (MIN_ID_2 + 218); /** class org.apache.derby.Database.Language.Execution.AggregateInfo */ static public final int AGG_INFO_V01_ID = (MIN_ID_2 + 223); /** class org.apache.derby.Database.Language.Execution.AggregateInfoList */ static public final int AGG_INFO_LIST_V01_ID = (MIN_ID_2 + 224); /** class org.apache.derby.Database.Language.Execution.DeleteConstantAction This class is abstract so it doesn't need a format id! */ static public final int WRITE_CURSOR_CONSTANT_ACTION_V01_ID = (MIN_ID_2 + 227); /** * 237 - unused */ //static public final int VALUE_ROW_V01_ID = // (MIN_ID_2 + 237); /** 238 unused */ //static public final int INDEX_ROW_V01_ID = // (MIN_ID_2 + 238); /** class org.apache.derby.impl.sql.execute.AddJarConstantAction; */ static public final int ADD_JAR_CONSTANT_ACTION_V01_ID = (MIN_ID_2 + 211); /** class org.apache.derby.impl.sql.execute.DropJarConstantAction; */ static public final int DROP_JAR_CONSTANT_ACTION_V01_ID = (MIN_ID_2 + 212); /** class org.apache.derby.impl.sql.execute.ReplaceJarConstantAction; */ static public final int REPLACE_JAR_CONSTANT_ACTION_V01_ID = (MIN_ID_2 + 213); /** class org.apache.derby.Database.Language.Execution.ConstraintInfo */ static public final int CONSTRAINT_INFO_V01_ID = (MIN_ID_2 + 278); /** */ static public final int UNUSED_2_280 = (MIN_ID_2 + 280); /** class org.apache.derby.Database.Language.Execution.FKInfo */ static public final int FK_INFO_V01_ID = (MIN_ID_2 + 282); /** */ static public final int UNUSED_2_289 = (MIN_ID_2 + 289); /** class org.apache.derby.impl.sql.execute.CreateTriggerConstantAction */ static public final int CREATE_TRIGGER_CONSTANT_ACTION_V01_ID = (MIN_ID_2 + 314); /** class org.apache.derby.impl.sql.execute.DropTriggerConstantAction */ static public final int DROP_TRIGGER_CONSTANT_ACTION_V01_ID = (MIN_ID_2 + 315); /** class org.apache.derby.impl.sql.execute.TriggerInfo */ static public final int TRIGGER_INFO_V01_ID = (MIN_ID_2 + 317); /** class org.apache.derby.impl.sql.execute.TransactionConstantAction */ static public final int TRANSACTION_CONSTANT_ACTION_V01_ID = (MIN_ID_2 + 318); /** class org.apache.derby.Database.Language.Execution.SetTriggersConstantAction */ static public final int SET_TRIGGERS_CONSTANT_ACTION_V01_ID = (MIN_ID_2 + 321); /** class org.apache.derby.Replication.Database.Language.Execution.RepSetTriggersConstantAction */ static public final int REP_SET_TRIGGERS_CONSTANT_ACTION_V01_ID = (MIN_ID_2 + 322); /** class org.apache.derby.impl.sql.execute.RealLastIndexKeyScanStatistics */ static public final int REAL_LAST_INDEX_KEY_SCAN_STATISTICS_IMPL_V01_ID = (MIN_ID_2 + 327); //////////////////////////////////////////////////////////////////////////// // // New versions of 2.0 Language ConstantActions, versioned in 3.0 // //////////////////////////////////////////////////////////////////////////// /** class org.apache.derby.Database.Language.Execution.SetSchemaConstantAction */ static public final int SET_SCHEMA_CONSTANT_ACTION_V02_ID = (MIN_ID_2 + 353); /** class org.apache.derby.Database.Language.Execution.SetTransactionIsolationConstantAction */ static public final int SET_TRANSACTION_ISOLATION_CONSTANT_ACTION_V02_ID = (MIN_ID_2 + 354); /** class org.apache.derby.impl.sql.execute.ColumnInfo */ static public final int COLUMN_INFO_V02_ID = (MIN_ID_2 + 358); /** class org.apache.derby.Database.Language.DependencySystem.Generic.ProviderInfo */ static public final int PROVIDER_INFO_V02_ID = (MIN_ID_2 + 359); /** class org.apache.derby.impl.sql.execute.SavepointConstantAction */ static public final int SAVEPOINT_V01_ID = (MIN_ID_2 + 452); /****************************************************************** ** ** LanguageInterface MODULE CLASSES ** ******************************************************************/ /** class org.apache.derby.impl.sql.GenericStorablePreparedStatement */ static public final int STORABLE_PREPARED_STATEMENT_V01_ID = (MIN_ID_2 + 225); /** class org.apache.derby.impl.sql.GenericResultDescription */ static public final int GENERIC_RESULT_DESCRIPTION_V01_ID = (MIN_ID_2 + 228); /** UNUSED */ static public final int UNUSED_2_215 = (MIN_ID_2 + 215); /** class org.apache.derby.impl.sql.GenericTypeDescriptor */ static public final int GENERIC_TYPE_DESCRIPTOR_V01_ID = (MIN_ID_2 + 216); /** class org.apache.derby.impl.sql.GenericTypeId */ static public final int GENERIC_TYPE_ID_V01_ID = (MIN_ID_2 + 217); /** class org.apache.derby.impl.sql.CursorTableReference */ static public final int CURSOR_TABLE_REFERENCE_V01_ID = (MIN_ID_2 + 296); /** class org.apache.derby.impl.sql.CursorInfo */ static public final int CURSOR_INFO_V01_ID = (MIN_ID_2 + 297); /****************************************************************** ** ** ALIAS INFO CLASSES ** ******************************************************************/ /** class org.apache.derby.catalog.types.ClassAliasInfo */ static public final int CLASS_ALIAS_INFO_V01_ID = (MIN_ID_2 + 310); /** class org.apache.derby.catalog.types.MethodAliasInfo */ static public final int METHOD_ALIAS_INFO_V01_ID = (MIN_ID_2 + 312); /** class org.apache.derby.catalog.types.WorkUnitAliasInfo */ static public final int WORK_UNIT_ALIAS_INFO_V01_ID = (MIN_ID_2 + 309); /** class org.apache.derby.catalog.types.UserAggregateAliasInfo */ static public final int USER_AGGREGATE_ALIAS_INFO_V01_ID = (MIN_ID_2 + 311); public static final int ROUTINE_INFO_V01_ID = (MIN_ID_2 + 451); public static final int SYNONYM_INFO_V01_ID = (MIN_ID_2 + 455); /****************************************************************** ** ** DEFAULT INFO CLASSES ** ******************************************************************/ /** class org.apache.derby.catalog.types.DefaultInfoImpl */ static public final int DEFAULT_INFO_IMPL_V01_ID = (MIN_ID_2 + 326); /** class org.apache.derby.impl.sql.GenericColumnDescriptor */ static public final int GENERIC_COLUMN_DESCRIPTOR_V02_ID = (MIN_ID_2 + 383); /** UNUSED (MIN_ID_2 + 384) */ /** UNUSED (MIN_ID_2 + 382) */ /****************************************************************** ** ** Type system id's ** ******************************************************************/ public static final int SQL_BOOLEAN_ID = (MIN_ID_2 + 77); public static final int SQL_CHAR_ID = (MIN_ID_2 + 78); public static final int SQL_DOUBLE_ID = (MIN_ID_2 + 79); public static final int SQL_INTEGER_ID = (MIN_ID_2 + 80); public static final int SQL_REAL_ID = (MIN_ID_2 + 81); public static final int SQL_REF_ID = (MIN_ID_2 + 82); public static final int SQL_SMALLINT_ID = (MIN_ID_2 + 83); public static final int SQL_LONGINT_ID = (MIN_ID_2 + 84); public static final int SQL_VARCHAR_ID = (MIN_ID_2 + 85); //public static final int SQL_USERTYPE_ID = // (MIN_ID_2 + 86); //public static final int SQL_USERTYPE_ID_V2 = // (MIN_ID_2 + 266); public static final int SQL_USERTYPE_ID_V3 = (MIN_ID_2 + 266); public static final int SQL_DATE_ID = (MIN_ID_2 + 298); public static final int SQL_TIME_ID = (MIN_ID_2 + 299); public static final int SQL_TIMESTAMP_ID = (MIN_ID_2 + 31); public static final int SQL_BIT_ID = (MIN_ID_2 + 87); public static final int SQL_VARBIT_ID = (MIN_ID_2 + 88); public static final int SQL_TINYINT_ID = (MIN_ID_2 + 199); public static final int SQL_DECIMAL_ID = (MIN_ID_2 + 200); public static final int SQL_LONGVARCHAR_ID = (MIN_ID_2 + 235); public static final int SQL_CLOB_ID = (MIN_ID_2 + 447); public static final int SQL_LONGVARBIT_ID = (MIN_ID_2 + 234); public static final int SQL_BLOB_ID = (MIN_ID_2 + 443); //public static final int SQL_NATIONAL_CHAR_ID = //(MIN_ID_2 + 363); //public static final int SQL_NATIONAL_VARCHAR_ID = //(MIN_ID_2 + 364); //public static final int SQL_NATIONAL_LONGVARCHAR_ID = //(MIN_ID_2 + 365); //public static final int SQL_NCLOB_ID = //(MIN_ID_2 + 450); // Interface: org.apache.derby.iapi.types.XMLDataValue public static final int XML_ID = (MIN_ID_2 + 458); /****************************************************************** ** ** Access ids. ** ** ** ******************************************************************/ public static final int ACCESS_U8_V1_ID = (MIN_ID_2 + 89); public static final int ACCESS_HEAP_ROW_LOCATION_V1_ID = (MIN_ID_2 + 90); public static final int ACCESS_HEAP_V2_ID = (MIN_ID_2 + 91); public static final int ACCESS_B2I_V2_ID = (MIN_ID_2 + 92); public static final int ACCESS_FORMAT_ID = (MIN_ID_2 + 93); public static final int ACCESS_T_STRINGCOLUMN_ID = (MIN_ID_2 + 94); public static final int ACCESS_B2IUNDO_V1_ID = (MIN_ID_2 + 95); // Deleted as part of 7.2 rebrand project. /* public static final int ACCESS_CONGLOMDIR_V1_ID = (MIN_ID_2 + 96); */ public static final int ACCESS_BTREE_LEAFCONTROLROW_V1_ID = (MIN_ID_2 + 133); public static final int ACCESS_BTREE_BRANCHCONTROLROW_V1_ID = (MIN_ID_2 + 134); public static final int ACCESS_SERIALIZABLEWRAPPER_V1_ID = (MIN_ID_2 + 202); public static final int ACCESS_B2I_STATIC_COMPILED_V1_ID = (MIN_ID_2 + 360); public static final int ACCESS_TREE_V1_ID = (MIN_ID_2 + 386); public static final int ACCESS_B2I_V3_ID = (MIN_ID_2 + 388); public static final int ACCESS_GISTUNDO_V1_ID = (MIN_ID_2 + 389); public static final int ACCESS_GIST_LEAFCONTROLROW_V1_ID = (MIN_ID_2 + 394); public static final int ACCESS_GIST_BRANCHCONTROLROW_V1_ID = (MIN_ID_2 + 395); public static final int STATISTICS_IMPL_V01_ID = (MIN_ID_2 + 397); public static final int UPDATE_STATISTICS_CONSTANT_ACTION_ID = (MIN_ID_2 + 398); public static final int DROP_STATISTICS_CONSTANT_ACTION_ID = (MIN_ID_2 + 399); public static final int ACCESS_GIST_RTREE_V1_ID = (MIN_ID_2 + 400); public static final int ACCESS_T_RECTANGLE_ID = (MIN_ID_4 + 34); public static final int ACCESS_T_INTCOL_V1_ID = (MIN_ID_4 + 4); public static final int ACCESS_B2I_V4_ID = (MIN_ID_2 + 466); public static final int ACCESS_HEAP_V3_ID = (MIN_ID_2 + 467); public static final int ACCESS_B2I_V5_ID = (MIN_ID_2 + 470); /****************************************************************** ** ** PropertyConglomerate ** ** ** ******************************************************************/ /** class org.apache.derby.impl.store.access.PropertyConglomerate */ static public final int PC_XENA_VERSION_ID = (MIN_ID_2 + 15); /****************************************************************** ** ** Raw Store Log operation Ids ** ** ** ******************************************************************/ /* org.apache.derby.impl.store.raw.data.ChainAllocPageOperation */ public static final int LOGOP_CHAIN_ALLOC_PAGE = (MIN_ID_2 + 97); /* org.apache.derby.impl.store.raw.xact.BeginXact */ public static final int LOGOP_BEGIN_XACT = (MIN_ID_2 + 169); /* org.apache.derby.impl.store.raw.log.CheckpointOperation */ public static final int LOGOP_CHECKPOINT = (MIN_ID_2 + 263); /* org.apache.derby.impl.store.raw.data.ContainerOperation */ /* creating, dropping, removing container */ public static final int LOGOP_CONTAINER = (MIN_ID_2 + 242); /* org.apache.derby.impl.store.raw.data.DeleteOperation */ public static final int LOGOP_DELETE = (MIN_ID_2 + 101); /* org.apache.derby.impl.store.raw.xact.EndXact */ public static final int LOGOP_END_XACT = (MIN_ID_2 + 102); /* org.apache.derby.impl.store.raw.data.InsertOperation */ public static final int LOGOP_INSERT = (MIN_ID_2 + 103); /* org.apache.derby.impl.store.raw.data.LogicalUndoOperation */ public static final int LOGOP_PAGE_LOGICAL_UNDO = (MIN_ID_2 + 104); /* org.apache.derby.impl.store.raw.data.PhysicalUndoOperation */ public static final int LOGOP_PAGE_PHYSICAL_UNDO = (MIN_ID_2 + 105); /* org.apache.derby.impl.store.raw.data.PurgeOperation */ public static final int LOGOP_PURGE = (MIN_ID_2 + 106); /* org.apache.derby.impl.store.raw.data.ContainerUndoOperation */ public static final int LOGOP_CONTAINER_UNDO = (MIN_ID_2 + 107); /* org.apache.derby.impl.store.raw.data.UpdateOperation */ public static final int LOGOP_UPDATE = (MIN_ID_2 + 108); /* org.apache.derby.impl.store.raw.data.UpdateFieldOperation */ public static final int LOGOP_UPDATE_FIELD = (MIN_ID_2 + 109); /* org.apache.derby.impl.store.raw.data.CopyRowsOperation */ public static final int LOGOP_COPY_ROWS = (MIN_ID_2 + 210); /* org.apache.derby.impl.store.raw.data.AllocPageOperation */ public static final int LOGOP_ALLOC_PAGE = (MIN_ID_2 + 111); /*org.apache.derby.impl.store.raw.data.InitPageOperation */ public static final int LOGOP_INIT_PAGE = (MIN_ID_2 + 241); /* org.apache.derby.impl.store.raw.data.InvalidatePageOperation */ public static final int LOGOP_INVALIDATE_PAGE = (MIN_ID_2 + 113); /* org.apache.derby.impl.store.raw.data.SetReservedSpaceOperation */ public static final int LOGOP_SET_RESERVED_SPACE = (MIN_ID_2 + 287); /* org.apache.derby.impl.store.raw.data.RemoveFileOperation */ public static final int LOGOP_REMOVE_FILE = (MIN_ID_2 + 291); /* org.apache.derby.impl.store.raw.log.ChecksumOperation */ public static final int LOGOP_CHECKSUM = (MIN_ID_2 + 453); /* org.apache.derby.impl.store.raw.data.CompressSpacePageOperation10_2 */ public static final int LOGOP_COMPRESS10_2_SPACE = (MIN_ID_2 + 454); /* org.apache.derby.impl.store.raw.data.CompressSpacePageOperation */ public static final int LOGOP_COMPRESS_SPACE = (MIN_ID_2 + 465); /* org.apache.derby.impl.store.raw.data.EncryptContainerOperation */ public static final int LOGOP_ENCRYPT_CONTAINER = (MIN_ID_2 + 459); /* org.apache.derby.impl.store.raw.data.EncryptContainerUndoOperation */ public static final int LOGOP_ENCRYPT_CONTAINER_UNDO = (MIN_ID_2 + 460); /******************************************************************* ** ** container types ** ******************************************************************/ /* org.apache.derby.impl.store.raw.data.FileContainer */ public static final int RAW_STORE_SINGLE_CONTAINER_FILE = (MIN_ID_2 + 116); /* org.apache.derby.impl.store.raw.data.StreamFileContainer */ public static final int RAW_STORE_SINGLE_CONTAINER_STREAM_FILE = (MIN_ID_2 + 290); /******************************************************************* ** ** page types ** ** ******************************************************************/ /* org.apache.derby.impl.store.raw.data.StoredPage */ public static final int RAW_STORE_STORED_PAGE = (MIN_ID_2 + 117); /* org.apache.derby.impl.store.raw.data.AllocPage */ public static final int RAW_STORE_ALLOC_PAGE = (MIN_ID_2 + 118); /***************************************************************** ** ** Log files ** ** ******************************************************************/ /* org.apache.derby.impl.store.raw.log.LogToFile */ public static final int FILE_STREAM_LOG_FILE = (MIN_ID_2 + 128); /***************************************************************** ** ** Log record ** ******************************************************************/ /* org.apache.derby.impl.store.raw.log.LogRecord */ public static final int LOG_RECORD = (MIN_ID_2 + 129); /* org.apache.derby.impl.store.raw.log.LogCounter */ public static final int LOG_COUNTER = (MIN_ID_2 + 130); /****************************************************************** ** ** identifiers ** ******************************************************************/ /* org.apache.derby.impl.services.uuid.BasicUUID */ public static final int BASIC_UUID = (MIN_ID_2 + 131); /* * Transaction Ids */ /* org.apache.derby.impl.store.raw.xact.GlobalXactId */ public static final int RAW_STORE_GLOBAL_XACT_ID_V20 = (MIN_ID_2 + 132); /* org.apache.derby.impl.store.raw.xact.XactId */ public static final int RAW_STORE_XACT_ID = (MIN_ID_2 + 147); /* org.apache.derby.impl.store.raw.xact.XAXactId */ public static final int RAW_STORE_GLOBAL_XACT_ID_NEW = (MIN_ID_2 + 328); /* * Transaction table */ /* org.apache.derby.impl.store.raw.xact.TransactionTableEntry */ public static final int RAW_STORE_TRANSACTION_TABLE_ENTRY = (MIN_ID_2 + 261); /* org.apache.derby.impl.store.raw.xact.TransactionTable */ public static final int RAW_STORE_TRANSACTION_TABLE = (MIN_ID_2 + 262); /****************************************************************** ** ** LocalDriver Formatables. ** ******************************************************************/ /* NOT USED = org.apache.derby.impl.jdbc.ExternalizableConnection */ public static final int EXTERNALIZABLE_CONNECTION_ID = (MIN_ID_2 + 192); /****************************************************************** ** ** InternalUtils MODULE CLASSES ** ******************************************************************/ /* org.apache.derby.iapi.util.ByteArray */ public static final int FORMATABLE_BYTE_ARRAY_V01_ID = (MIN_ID_2 + 219); /****************************************************************** ** ** UDPATE MAX_ID_2 WHEN YOU ADD A NEW FORMATABLE ** ******************************************************************/ /* * Make sure this is updated when a new module is added */ public static final int MAX_ID_2 = (MIN_ID_2 + 471); // DO NOT USE 4 BYTE IDS ANYMORE static public final int MAX_ID_4 = (MIN_ID_4 + 34); }

The table below shows all metrics for StoredFormatIds.java.

MetricValueDescription
BLOCKS 0.00Number of blocks
BLOCK_COMMENT73.00Number of block comment lines
COMMENTS970.00Comment lines
COMMENT_DENSITY 1.66Comment density
COMPARISONS 0.00Number of comparison operators
CYCLOMATIC 0.00Cyclomatic complexity
DECL_COMMENTS314.00Comments in declarations
DOC_COMMENT845.00Number of javadoc comment lines
ELOC583.00Effective lines of code
EXEC_COMMENTS 0.00Comments in executable code
EXITS 0.00Procedure exits
FUNCTIONS 0.00Number of function declarations
HALSTEAD_DIFFICULTY10.55Halstead difficulty
HALSTEAD_EFFORT 0.00Halstead effort
INTERFACE_COMPLEXITY 0.00Interface complexity
JAVA0001 0.00JAVA0001 Package name does not contain only lower case letters
JAVA0002 0.00JAVA0002 Package name does not begin with a top level domain name or country code
JAVA0003 0.00JAVA0003 Minimize use of on-demand (.*) imports
JAVA0004 0.00JAVA0004 Unnecessary import from java.lang
JAVA0005 0.00JAVA0005 Imports not in specified order
JAVA0006 0.00JAVA0006 Empty finally block
JAVA0007 0.00JAVA0007 Should not declare public field
JAVA0008 0.00JAVA0008 Empty catch block
JAVA0009 0.00JAVA0009 Protected member in final class
JAVA0010 0.00JAVA0010 Non-instantiable class does not contain a non-private static member
JAVA0011 0.00JAVA0011 Abstract class does not contain an abstract method
JAVA0012 0.00JAVA0012 Non-constructor method with same name as declaring class
JAVA0013 0.00JAVA0013 Non-blank final field is not static
JAVA0014 0.00JAVA0014 Class with only static members has non-private constructor
JAVA0015 0.00JAVA0015 Package class contains public nested type
JAVA0016 0.00JAVA0016 Abstract class contains public constructor
JAVA0017 0.00JAVA0017 Class name does not have required form
JAVA0018 0.00JAVA0018 Method name does not have required form
JAVA0019 0.00JAVA0019 Interface name does not have required form
JAVA0020 0.00JAVA0020 Field name does not have required form
JAVA0021 0.00JAVA0021 Interface method name does not have required form
JAVA0022 0.00JAVA0022 Static final field name does not have required form
JAVA0023 0.00JAVA0023 Empty finalize method
JAVA0024 0.00JAVA0024 Empty class
JAVA0025 0.00JAVA0025 Method override is empty
JAVA0026 0.00JAVA0026 Finalize method with parameters
JAVA0029 0.00JAVA0029 Private method not used
JAVA0030 0.00JAVA0030 Private field not used
JAVA0031 0.00JAVA0031 Case statement not properly closed
JAVA0032 0.00JAVA0032 Switch statement missing default
JAVA0033 0.00JAVA0033 default: not last case in switch statement
JAVA0034 0.00JAVA0034 Missing braces in if statement
JAVA0035 0.00JAVA0035 Missing braces in for statement
JAVA0036 0.00JAVA0036 Missing braces in while statement
JAVA0038 0.00JAVA0038 Non-case label in switch statement
JAVA0039 0.00JAVA0039 Break statement with label
JAVA0040 0.00JAVA0040 Switch statement contains N cases (maximum: M)
JAVA0041 0.00JAVA0041 Nested synchronized block
JAVA0042 0.00JAVA0042 Empty synchronized statement
JAVA0043 0.00JAVA0043 Inner class does not use outer class
JAVA0044 0.00JAVA0044 Serializable class with no instance variables
JAVA0045 0.00JAVA0045 Serializable class with only transient fields
JAVA0046 0.00JAVA0046 Name of class not derived from Exception ends with 'Exception'
JAVA0047 0.00JAVA0047 Serializable class derives from invalid base class
JAVA0048 0.00JAVA0048 Name of class derived from Exception does not end with 'Exception'
JAVA0049 0.00JAVA0049 Nested block at depth N (maximum: M)
JAVA0050 0.00JAVA0050 Class derives from java.lang.Error
JAVA0051 0.00JAVA0051 Class derives from java.lang.RuntimeException
JAVA0052 0.00JAVA0052 Class derives from java.lang.Throwable
JAVA0053 0.00JAVA0053 Unused label
JAVA0054 0.00JAVA0054 Inheritance depth N exceeds maximum M
JAVA0055 0.00JAVA0055 Class should be interface
JAVA0056 0.00JAVA0056 Unnecessary abstract modifier for interface or annotation
JAVA0057 0.00JAVA0057 Unnecessary default constructor
JAVA0058 0.00JAVA0058 Constructor calls super()
JAVA0059 0.00JAVA0059 Method override only calls super()
JAVA0061 0.00JAVA0061 Inaccessible member in anonymous class
JAVA0062 0.00JAVA0062 Public class missing public member or protected constructor
JAVA0063 0.00JAVA0063 Identifier name should not contain '$'
JAVA0064 0.00JAVA0064 N variations of identifier name (maximum: M)
JAVA0065 0.00JAVA0065 Unnecessary final modifier for method in final class
JAVA0066 0.00JAVA0066 Unnecessary modifier for interface nested type
JAVA0067 0.00JAVA0067 Array descriptor on identifier name
JAVA0068203.00JAVA0068 Modifiers not declared in recommended order
JAVA0071 0.00JAVA0071 Strings compared with ==
JAVA0073 0.00JAVA0073 Integer division in floating-point context
JAVA0074 0.00JAVA0074 Use of Object.notify()
JAVA0075 0.00JAVA0075 Method parameter hides field
JAVA0076 0.00JAVA0076 Use of magic number
JAVA0077 0.00JAVA0077 Private field not used in declaring class
JAVA0078 0.00JAVA0078 Floating point values compared with ==
JAVA0079 0.00JAVA0079 Use of instance to reference static member
JAVA0080 0.00JAVA0080 Import declaration not used
JAVA0081 0.00JAVA0081 Boolean literal in comparison
JAVA0082 0.00JAVA0082 Unnecessary widening cast
JAVA0083 0.00JAVA0083 Unnecessary instanceof test
JAVA0084 0.00JAVA0084 Should use compound assignment operator
JAVA0085 0.00JAVA0085 Use of sun.* class
JAVA0087 0.00JAVA0087 Use of Thread.sleep()
JAVA0089 0.00JAVA0089 Use of restricted package
JAVA0092 0.00JAVA0092 Use of restricted type
JAVA0093 0.00JAVA0093 Redundant assignment
JAVA0094 0.00JAVA0094 Field hides a superclass field
JAVA0095 0.00JAVA0095 Uninitialized private field
JAVA0096 0.00JAVA0096 Field in nested class hides outer field
JAVA0098 0.00JAVA0098 Minimize use of implicit field initializers
JAVA0100 0.00JAVA0100 Class contains N non-final fields (maximum: M)
JAVA0101293.00JAVA0101 Unnecessary modifier for field in interface
JAVA0102 0.00JAVA0102 Last statement in finalize() not super.finalize()
JAVA0103 0.00JAVA0103 Explicit call to finalize()
JAVA0104 0.00JAVA0104 finalize() only calls super.finalize()
JAVA0105 0.00JAVA0105 Duplicate import declaration
JAVA0106 0.00JAVA0106 Unnecessary import from current package
JAVA0108 0.00JAVA0108 Incorrect javadoc: no @param tag for 'parameter'
JAVA0109 0.00JAVA0109 Incorrect javadoc: no parameter 'parameter'
JAVA0110 0.00JAVA0110 Incorrect javadoc: no @return tag
JAVA0111 0.00JAVA0111 Incorrect javadoc: @return tag for void method
JAVA0112 0.00JAVA0112 Incorrect javadoc: no exception 'exception' in throws
JAVA0113 1.00JAVA0113 Incorrect javadoc: no @author tag
JAVA0114 1.00JAVA0114 Incorrect javadoc: no @version tag
JAVA0115 0.00JAVA0115 Incorrect javadoc: no @throws or @exception tag for 'exception'
JAVA011682.00JAVA0116 Missing javadoc: field 'field'
JAVA0117 0.00JAVA0117 Missing javadoc: method 'method'
JAVA0118 0.00JAVA0118 Missing javadoc: type 'type'
JAVA0119 0.00JAVA0119 Control variable changed within body of for loop
JAVA0123 0.00JAVA0123 Use all three components of for loop
JAVA0125 0.00JAVA0125 Continue statement with label
JAVA0126 0.00JAVA0126 Method declares unchecked exception in throws
JAVA0128 0.00JAVA0128 Public constructor in non-public class
JAVA0130 0.00JAVA0130 Non-static method does not use instance fields
JAVA0131 0.00JAVA0131 Compatible method does not override base
JAVA0132 0.00JAVA0132 Method overload with compatible signature
JAVA0133 0.00JAVA0133 Non-synchronized method overrides synchronized method
JAVA0135 0.00JAVA0135 Only one of Object.equals and Object.hashCode defined: missing 'method'
JAVA0136 0.00JAVA0136 N methods defined in class (maximum: M)
JAVA0137 0.00JAVA0137 Non-abstract class missing constructor
JAVA0138 0.00JAVA0138 N parameters defined for method (maximum: M)
JAVA0139 0.00JAVA0139 Definition of main other than public static void main(java.lang.String[])
JAVA0141 0.00JAVA0141 Unnecessary modifier for method in interface
JAVA0143 0.00JAVA0143 Synchronized method
JAVA0144 0.00JAVA0144 Line exceeds maximum M characters
JAVA0145 1.00JAVA0145 Tab character used in source file
JAVA0150 0.00JAVA0150 java.lang.Error (or subclass) thrown
JAVA0153 0.00JAVA0153 Inefficient conversion of integer to string
JAVA0159 0.00JAVA0159 Inefficient conversion of string to integer
JAVA0160 0.00JAVA0160 Method does not throw specified exception
JAVA0161 0.00JAVA0161 Conditional wait() not in loop
JAVA0163 0.00JAVA0163 Empty statement
JAVA0165 0.00JAVA0165 Conflicting return statement in finally block
JAVA0166 0.00JAVA0166 Generic exception caught
JAVA0167 0.00JAVA0167 ThreadDeath not rethrown
JAVA0169 0.00JAVA0169 Unnecessary catch block: exception 'exception'
JAVA0170 0.00JAVA0170 Caught exception not derived from java.lang.Exception
JAVA0171 0.00JAVA0171 Unused local variable
JAVA0173 0.00JAVA0173 Unused method parameter
JAVA0174 0.00JAVA0174 Assigned local variable never used
JAVA0175 0.00JAVA0175 Successive assignment to variable
JAVA0176 0.00JAVA0176 Local variable name does not have required form
JAVA0177 0.00JAVA0177 Variable declaration missing initializer
JAVA0179 0.00JAVA0179 Local variable hides visible field
JAVA0233 0.00JAVA0233 Definition of serialVersionUID other than 'private static final long serialVersionUID'
JAVA0234 0.00JAVA0234 Class is Serializable but does not define serialVersionUID
JAVA0235 0.00JAVA0235 Class defines serialVersionUID but does not implement Serializable
JAVA0236 0.00JAVA0236 Attempt to clone an object which does not implement Cloneable
JAVA0237 0.00JAVA0237 Class implements Cloneable but does not have public clone method
JAVA0238 0.00JAVA0238 Clone method does not call super.clone()
JAVA0239 0.00JAVA0239 Class declares 'readObject' or 'writeObject' but does not implement Serializable
JAVA0240 0.00JAVA0240 Serializable class which declares readObject or writeObject but not both
JAVA0241 0.00JAVA0241 'readObject' or 'writeObject' should be declared private in Serializable class
JAVA0242 0.00JAVA0242 Transient field in non-Serializable class
JAVA0243 0.00JAVA0243 'readResolve' or 'writeReplace' should be declared private or protected
JAVA0244 0.00JAVA0244 Field or method name in subclass differs only by case from inherited field or method
JAVA0245 0.00JAVA0245 JUnit TestCase with non-trivial constructor
JAVA0246 0.00JAVA0246 JUnit assertXXX statement missing message parameter
JAVA0247 0.00JAVA0247 JUnit 'setUp()' and 'tearDown()' should call super method
JAVA0248 0.00JAVA0248 JUnit method 'setUp' or 'tearDown' with incorrect signature
JAVA0249 0.00JAVA0249 JUnit TestCase 'suite()' should be declared static
JAVA0250 0.00JAVA0250 JUnit TestCase declares testXXX method with incorrect signature
JAVA0251 0.00JAVA0251 Use '%n' for line breaks in printf/format for platform independence
JAVA0252 0.00JAVA0252 'enum' is a Java 1.5 reserved word
JAVA0253 0.00JAVA0253 Not all enum constants consumed in switch statement
JAVA0254 0.00JAVA0254 Use enhanced for loop construct instead of Iterator
JAVA0255 0.00JAVA0255 Result of method invocation not used
JAVA0256 0.00JAVA0256 Assignment of external collection/array to field
JAVA0257 1.00JAVA0257 Use of 'Constant Interface' anti-pattern
JAVA0258 0.00JAVA0258 Implement Iterable for foreach compatibility
JAVA0259 0.00JAVA0259 Return of collection/array field
JAVA0260 0.00JAVA0260 Use 'enum' instead of Enumerated Type pattern
JAVA0261 0.00JAVA0261 Use specialized Enum collection types
JAVA0262 0.00JAVA0262 Use of char in integer context
JAVA0263 0.00JAVA0263 Long literal ends with 'l' instead of 'L'
JAVA0264 0.00JAVA0264 Integer math in long context - check for overflow
JAVA0265 0.00JAVA0265 Use of Throwable.printStackTrace()
JAVA0266 0.00JAVA0266 Use of System.out
JAVA0267 0.00JAVA0267 Use of System.err
JAVA0269 0.00JAVA0269 Contents of StringBuffer never used
JAVA0270 0.00JAVA0270 Use Java 5.0 enhanced for loop construct to iterate over all elements in an array
JAVA0271 0.00JAVA0271 Minimize use of on-demand (.*) static imports
JAVA0272 0.00JAVA0272 Thread.run() called
JAVA0273 0.00JAVA0273 Non-final derivative of Thread calls start() in constructor
JAVA0274 0.00JAVA0274 Serializable class has a synchronized readObject()
JAVA0275 0.00JAVA0275 Serializable class has a synchronized writeObject() and no other synchronized methods
JAVA0276 0.00JAVA0276 Unnecessary use of String constructor
JAVA0277 0.00JAVA0277 Iterator.next() implementation does not throw NoSuchElementException
JAVA0278 0.00JAVA0278 Unnecessary use of Boolean constructor
JAVA0279 0.00JAVA0279 Serialization method readObject or readObjectNoData calls an overridable method
JAVA0280 0.00JAVA0280 IllegalMonitorStateException caught
JAVA0281 0.00JAVA0281 Iterator.next() not called in loop
JAVA0282 0.00JAVA0282 Call to Iterator.next() in loop which does not test Iterator.hasNext()
JAVA0283 0.00JAVA0283 Control variable not updated in loop body
JAVA0284 0.00JAVA0284 Explicit garbage collection
JAVA0285 0.00JAVA0285 Dereference of potentially null variable
JAVA0286 0.00JAVA0286 Dereference of null variable
JAVA0287 0.00JAVA0287 Unnecessary null check
JAVA0288 0.00JAVA0288 Inconsistent null check
LINES1909.00Number of lines in the source file
LINE_COMMENT52.00Number of line comments
LOC584.00Lines of code
LOGICAL_LINES299.00Number of statements
LOOPS 0.00Number of loops
NEST_DEPTH 0.00Maximum nesting depth
OPERANDS897.00Number of operands
OPERATORS2664.00Number of operators
PARAMS 0.00Number of formal parameter declarations
PROGRAM_LENGTH3561.00Halstead program length
PROGRAM_VOCAB609.00Halstead program vocabulary
PROGRAM_VOLUME 0.00Halstead program volume
RETURNS 0.00Number of return points from functions
SIZE57694.00Size of the file in bytes
UNIQUE_OPERANDS595.00Number of unique operands
UNIQUE_OPERATORS14.00Number of unique operators
WHITESPACE355.00Number of whitespace lines