1 21 27 28 package org.apache.derby.iapi.reference; 29 30 public interface DRDAConstants 31 { 32 38 public static final String DERBY_DRDA_SERVER_ID = "CSS"; 44 public static final String DERBY_DRDA_CLIENT_ID = "DNC"; 45 46 52 public static final int DRDA_TYPE_INTEGER = 0x02; 53 public static final int DRDA_TYPE_NINTEGER = 0x03; 54 public static final int DRDA_TYPE_SMALL = 0x04; 55 public static final int DRDA_TYPE_NSMALL = 0x05; 56 public static final int DRDA_TYPE_1BYTE_INT = 0x06; 57 public static final int DRDA_TYPE_N1BYTE_INT = 0x07; 58 public static final int DRDA_TYPE_FLOAT16 = 0x08; 59 public static final int DRDA_TYPE_NFLOAT16 = 0x09; 60 public static final int DRDA_TYPE_FLOAT8 = 0x0A; 61 public static final int DRDA_TYPE_NFLOAT8 = 0x0B; 62 public static final int DRDA_TYPE_FLOAT4 = 0x0C; 63 public static final int DRDA_TYPE_NFLOAT4 = 0x0D; 64 public static final int DRDA_TYPE_DECIMAL = 0x0E; 65 public static final int DRDA_TYPE_NDECIMAL = 0x0F; 66 public static final int DRDA_TYPE_ZDECIMAL = 0x10; 67 public static final int DRDA_TYPE_NZDECIMAL = 0x11; 68 public static final int DRDA_TYPE_NUMERIC_CHAR = 0x12; 69 public static final int DRDA_TYPE_NNUMERIC_CHAR = 0x13; 70 public static final int DRDA_TYPE_RSET_LOC = 0x14; 71 public static final int DRDA_TYPE_NRSET_LOC = 0x15; 72 public static final int DRDA_TYPE_INTEGER8 = 0x16; 73 public static final int DRDA_TYPE_NINTEGER8 = 0x17; 74 public static final int DRDA_TYPE_LOBLOC = 0x18; 75 public static final int DRDA_TYPE_NLOBLOC = 0x19; 76 public static final int DRDA_TYPE_CLOBLOC = 0x1A; 77 public static final int DRDA_TYPE_NCLOBLOC = 0x1B; 78 public static final int DRDA_TYPE_DBCSCLOBLOC = 0x1C; 79 public static final int DRDA_TYPE_NDBCSCLOBLOC = 0x1D; 80 public static final int DRDA_TYPE_ROWID = 0x1E; 81 public static final int DRDA_TYPE_NROWID = 0x1F; 82 public static final int DRDA_TYPE_DATE = 0x20; 83 public static final int DRDA_TYPE_NDATE = 0x21; 84 public static final int DRDA_TYPE_TIME = 0x22; 85 public static final int DRDA_TYPE_NTIME = 0x23; 86 public static final int DRDA_TYPE_TIMESTAMP = 0x24; 87 public static final int DRDA_TYPE_NTIMESTAMP = 0x25; 88 public static final int DRDA_TYPE_FIXBYTE = 0x26; 89 public static final int DRDA_TYPE_NFIXBYTE = 0x27; 90 public static final int DRDA_TYPE_VARBYTE = 0x28; 91 public static final int DRDA_TYPE_NVARBYTE = 0x29; 92 public static final int DRDA_TYPE_LONGVARBYTE = 0x2A; 93 public static final int DRDA_TYPE_NLONGVARBYTE = 0x2B; 94 public static final int DRDA_TYPE_NTERMBYTE = 0x2C; 95 public static final int DRDA_TYPE_NNTERMBYTE = 0x2D; 96 public static final int DRDA_TYPE_CSTR = 0x2E; 97 public static final int DRDA_TYPE_NCSTR = 0x2F; 98 public static final int DRDA_TYPE_CHAR = 0x30; 99 public static final int DRDA_TYPE_NCHAR = 0x31; 100 public static final int DRDA_TYPE_VARCHAR = 0x32; 101 public static final int DRDA_TYPE_NVARCHAR = 0x33; 102 public static final int DRDA_TYPE_LONG = 0x34; 103 public static final int DRDA_TYPE_NLONG = 0x35; 104 public static final int DRDA_TYPE_GRAPHIC = 0x36; 105 public static final int DRDA_TYPE_NGRAPHIC = 0x37; 106 public static final int DRDA_TYPE_VARGRAPH = 0x38; 107 public static final int DRDA_TYPE_NVARGRAPH = 0x39; 108 public static final int DRDA_TYPE_LONGRAPH = 0x3A; 109 public static final int DRDA_TYPE_NLONGRAPH = 0x3B; 110 public static final int DRDA_TYPE_MIX = 0x3C; 111 public static final int DRDA_TYPE_NMIX = 0x3D; 112 public static final int DRDA_TYPE_VARMIX = 0x3E; 113 public static final int DRDA_TYPE_NVARMIX = 0x3F; 114 public static final int DRDA_TYPE_LONGMIX = 0x40; 115 public static final int DRDA_TYPE_NLONGMIX = 0x41; 116 public static final int DRDA_TYPE_CSTRMIX = 0x42; 117 public static final int DRDA_TYPE_NCSTRMIX = 0x43; 118 public static final int DRDA_TYPE_PSCLBYTE = 0x44; 119 public static final int DRDA_TYPE_NPSCLBYTE = 0x45; 120 public static final int DRDA_TYPE_LSTR = 0x46; 121 public static final int DRDA_TYPE_NLSTR = 0x47; 122 public static final int DRDA_TYPE_LSTRMIX = 0x48; 123 public static final int DRDA_TYPE_NLSTRMIX = 0x49; 124 public static final int DRDA_TYPE_SDATALINK = 0x4C; 125 public static final int DRDA_TYPE_NSDATALINK = 0x4D; 126 public static final int DRDA_TYPE_MDATALINK = 0x4E; 127 public static final int DRDA_TYPE_NMDATALINK = 0x4F; 128 129 public static final int DRDA_TYPE_LOBBYTES = 0xC8; 131 public static final int DRDA_TYPE_NLOBBYTES = 0xC9; 132 public static final int DRDA_TYPE_LOBCSBCS = 0xCA; 133 public static final int DRDA_TYPE_NLOBCSBCS = 0xCB; 134 public static final int DRDA_TYPE_LOBCDBCS = 0xCC; 135 public static final int DRDA_TYPE_NLOBCDBCS = 0xCD; 136 public static final int DRDA_TYPE_LOBCMIXED = 0xCE; 137 public static final int DRDA_TYPE_NLOBCMIXED = 0xCF; 138 139 143 146 152 public static final int DB2_SQLTYPE_DATE = 384; public static final int DB2_SQLTYPE_NDATE = 385; 154 public static final int DB2_SQLTYPE_TIME = 388; public static final int DB2_SQLTYPE_NTIME = 389; 156 public static final int DB2_SQLTYPE_TIMESTAMP = 392; public static final int DB2_SQLTYPE_NTIMESTAMP = 393; 158 public static final int DB2_SQLTYPE_DATALINK = 396; public static final int DB2_SQLTYPE_NDATALINK = 397; 160 161 public static final int DB2_SQLTYPE_BLOB = 404; public static final int DB2_SQLTYPE_NBLOB = 405; 163 public static final int DB2_SQLTYPE_CLOB = 408; public static final int DB2_SQLTYPE_NCLOB = 409; 165 public static final int DB2_SQLTYPE_DBCLOB = 412; public static final int DB2_SQLTYPE_NDBCLOB = 413; 167 168 public static final int DB2_SQLTYPE_VARCHAR = 448; public static final int DB2_SQLTYPE_NVARCHAR = 449; 170 public static final int DB2_SQLTYPE_CHAR = 452; public static final int DB2_SQLTYPE_NCHAR = 453; 172 public static final int DB2_SQLTYPE_LONG = 456; public static final int DB2_SQLTYPE_NLONG = 457; 174 public static final int DB2_SQLTYPE_CSTR = 460; public static final int DB2_SQLTYPE_NCSTR = 461; 176 public static final int DB2_SQLTYPE_VARGRAPH = 464; public static final int DB2_SQLTYPE_NVARGRAPH = 465; 179 public static final int DB2_SQLTYPE_GRAPHIC = 468; public static final int DB2_SQLTYPE_NGRAPHIC = 469; 181 public static final int DB2_SQLTYPE_LONGRAPH = 472; public static final int DB2_SQLTYPE_NLONGRAPH = 473; 183 public static final int DB2_SQLTYPE_LSTR = 476; public static final int DB2_SQLTYPE_NLSTR = 477; 185 186 public static final int DB2_SQLTYPE_FLOAT = 480; public static final int DB2_SQLTYPE_NFLOAT = 481; 188 public static final int DB2_SQLTYPE_DECIMAL = 484; public static final int DB2_SQLTYPE_NDECIMAL = 485; 190 public static final int DB2_SQLTYPE_ZONED = 488; public static final int DB2_SQLTYPE_NZONED = 489; 192 193 public static final int DB2_SQLTYPE_BIGINT = 492; public static final int DB2_SQLTYPE_NBIGINT = 493; 195 public static final int DB2_SQLTYPE_INTEGER = 496; public static final int DB2_SQLTYPE_NINTEGER = 497; 197 public static final int DB2_SQLTYPE_SMALL = 500; public static final int DB2_SQLTYPE_NSMALL = 501; 199 200 public static final int DB2_SQLTYPE_NUMERIC = 504; public static final int DB2_SQLTYPE_NNUMERIC = 505; 202 203 public static final int DB2_SQLTYPE_ROWID = 904; public static final int DB2_SQLTYPE_NROWID = 905; 205 public static final int DB2_SQLTYPE_BLOB_LOCATOR = 960; public static final int DB2_SQLTYPE_NBLOB_LOCATOR = 961; 207 public static final int DB2_SQLTYPE_CLOB_LOCATOR = 964; public static final int DB2_SQLTYPE_NCLOB_LOCATOR = 965; 209 public static final int DB2_SQLTYPE_DBCLOB_LOCATOR = 968; public static final int DB2_SQLTYPE_NDBCLOB_LOCATOR = 969; 211 212 216 } 217 | Popular Tags |