/projects/derby-10.9.1.0/db-derby-10.9.1.0-src/java/stubs/jdbc4/java/sql/Types.java

https://gitlab.com/essere.lab.public/qualitas.class-corpus · Java · 58 lines · 40 code · 2 blank · 16 comment · 0 complexity · cdb6bb7bec86253e2ff9af6d5c5d176b MD5 · raw file

  1. /*
  2. * Licensed to the Apache Software Foundation (ASF) under one or more
  3. * contributor license agreements. See the NOTICE file distributed with
  4. * this work for additional information regarding copyright ownership.
  5. * The ASF licenses this file to You under the Apache License, Version 2.0
  6. * (the "License"); you may not use this file except in compliance with
  7. * the License. You may obtain a copy of the License at
  8. *
  9. * http://www.apache.org/licenses/LICENSE-2.0
  10. *
  11. * Unless required by applicable law or agreed to in writing, software
  12. * distributed under the License is distributed on an "AS IS" BASIS,
  13. * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  14. * See the License for the specific language governing permissions and
  15. * limitations under the License.
  16. */
  17. package java.sql;
  18. public class Types
  19. {
  20. public static final int BIGINT = -5;
  21. public static final int BINARY = -2;
  22. public static final int BIT = -7;
  23. public static final int CHAR = 1;
  24. public static final int DATE = 91;
  25. public static final int DECIMAL = 3;
  26. public static final int DOUBLE = 8;
  27. public static final int FLOAT = 6;
  28. public static final int INTEGER = 4;
  29. public static final int LONGVARBINARY = -4;
  30. public static final int LONGVARCHAR = -1;
  31. public static final int NULL = 0;
  32. public static final int NUMERIC = 2;
  33. public static final int OTHER = 1111;
  34. public static final int REAL = 7;
  35. public static final int SMALLINT = 5;
  36. public static final int TIME = 92;
  37. public static final int TIMESTAMP = 93;
  38. public static final int TINYINT = -6;
  39. public static final int VARBINARY = -3;
  40. public static final int VARCHAR = 12;
  41. public static final int ARRAY = 2003;
  42. public static final int BLOB = 2004;
  43. public static final int BOOLEAN = 16;
  44. public static final int CLOB = 2005;
  45. public static final int DATALINK = 70;
  46. public static final int DISTINCT = 2001;
  47. public static final int JAVA_OBJECT = 2000;
  48. public static final int LONGNVARCHAR = -16;
  49. public static final int NCHAR = -15;
  50. public static final int NCLOB = 2011;
  51. public static final int NVARCHAR = -9;
  52. public static final int REF = 2006;
  53. public static final int ROWID = -8;
  54. public static final int SQLXML = 2009;
  55. public static final int STRUCT = 2002;
  56. }