src/jdk.incubator.adba/share/classes/jdk/incubator/sql2/AdbaType_1.java
branchJDK-8188051-branch
changeset 56382 9171771664ee
parent 56381 653b066f4a88
child 56397 729f80d0cf31
equal deleted inserted replaced
56381:653b066f4a88 56382:9171771664ee
     1 /*
       
     2  * Copyright (c)  2017, Oracle and/or its affiliates. All rights reserved.
       
     3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
       
     4  *
       
     5  * This code is free software; you can redistribute it and/or modify it
       
     6  * under the terms of the GNU General Public License version 2 only, as
       
     7  * published by the Free Software Foundation.  Oracle designates this
       
     8  * particular file as subject to the "Classpath" exception as provided
       
     9  * by Oracle in the LICENSE file that accompanied this code.
       
    10  *
       
    11  * This code is distributed in the hope that it will be useful, but WITHOUT
       
    12  * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
       
    13  * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
       
    14  * version 2 for more details (a copy is included in the LICENSE file that
       
    15  * accompanied this code).
       
    16  *
       
    17  * You should have received a copy of the GNU General Public License version
       
    18  * 2 along with this work; if not, write to the Free Software Foundation,
       
    19  * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
       
    20  *
       
    21  * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
       
    22  * or visit www.oracle.com if you need additional information or have any
       
    23  * questions.
       
    24  */
       
    25 
       
    26 package jdk.incubator.sql2;
       
    27 
       
    28 /**
       
    29  * Remove dependence on java.sql.
       
    30  */
       
    31 public enum AdbaType_1 implements SqlType {
       
    32 
       
    33   /**
       
    34    *
       
    35    */
       
    36   ARRAY,
       
    37 
       
    38   /**
       
    39    *
       
    40    */
       
    41   BIGINT,
       
    42 
       
    43   /**
       
    44    *
       
    45    */
       
    46   BINARY,
       
    47 
       
    48   /**
       
    49    *
       
    50    */
       
    51   BIT,
       
    52 
       
    53   /**
       
    54    *
       
    55    */
       
    56   BOOLEAN,
       
    57 
       
    58   /**
       
    59    *
       
    60    */
       
    61   CHAR,
       
    62 
       
    63   /**
       
    64    *
       
    65    */
       
    66   CLOB,
       
    67 
       
    68   /**
       
    69    *
       
    70    */
       
    71   CURSOR,
       
    72 
       
    73   /**
       
    74    *
       
    75    */
       
    76   DATALINK,
       
    77 
       
    78   /**
       
    79    *
       
    80    */
       
    81   DATE,
       
    82 
       
    83   /**
       
    84    *
       
    85    */
       
    86   DECIMAL,
       
    87 
       
    88   /**
       
    89    *
       
    90    */
       
    91   DISTINCT,
       
    92 
       
    93   /**
       
    94    *
       
    95    */
       
    96   DOUBLE,
       
    97 
       
    98   /**
       
    99    *
       
   100    */
       
   101   FLOAT,
       
   102 
       
   103   /**
       
   104    *
       
   105    */
       
   106   INTEGER,
       
   107 
       
   108   /**
       
   109    *
       
   110    */
       
   111   JAVA_OBJECT,
       
   112 
       
   113   /**
       
   114    *
       
   115    */
       
   116   LONGNVARCHAR,
       
   117 
       
   118   /**
       
   119    *
       
   120    */
       
   121   LONGVARBINARY,
       
   122 
       
   123   /**
       
   124    *
       
   125    */
       
   126   LONGVARCHAR,
       
   127 
       
   128   /**
       
   129    *
       
   130    */
       
   131   NCHAR,
       
   132 
       
   133   /**
       
   134    *
       
   135    */
       
   136   NCLOB,
       
   137 
       
   138   /**
       
   139    *
       
   140    */
       
   141   NULL,
       
   142 
       
   143   /**
       
   144    *
       
   145    */
       
   146   NUMERIC,
       
   147 
       
   148   /**
       
   149    *
       
   150    */
       
   151   NVARCHAR,
       
   152 
       
   153   /**
       
   154    *
       
   155    */
       
   156   OTHER,
       
   157 
       
   158   /**
       
   159    *
       
   160    */
       
   161   REAL,
       
   162 
       
   163   /**
       
   164    *
       
   165    */
       
   166   REF,
       
   167 
       
   168   /**
       
   169    *
       
   170    */
       
   171   REF_CURSOR,
       
   172 
       
   173   /**
       
   174    *
       
   175    */
       
   176   ROWID,
       
   177 
       
   178   /**
       
   179    *
       
   180    */
       
   181   SMALLINT,
       
   182 
       
   183   /**
       
   184    *
       
   185    */
       
   186   SQLXML,
       
   187 
       
   188   /**
       
   189    *
       
   190    */
       
   191   STRUCT,
       
   192 
       
   193   /**
       
   194    *
       
   195    */
       
   196   TIME,
       
   197   
       
   198   /**
       
   199    *
       
   200    */
       
   201   TIMESTAMP,
       
   202 
       
   203   /**
       
   204    *
       
   205    */
       
   206   TIME_WITH_TIME_ZONE,
       
   207 
       
   208   /**
       
   209    *
       
   210    */
       
   211   TIMESTAMP_WITH_TIME_ZONE,
       
   212 
       
   213   /**
       
   214    *
       
   215    */
       
   216   TINYINT,
       
   217 
       
   218   /**
       
   219    *
       
   220    */
       
   221   VARBINARY,
       
   222 
       
   223   /**
       
   224    *
       
   225    */
       
   226   VARCHAR;
       
   227 
       
   228   /**
       
   229    *
       
   230    * @return
       
   231    */
       
   232   @Override
       
   233   public String getName() {
       
   234     throw new UnsupportedOperationException("Not supported yet."); //To change body of generated methods, choose Tools | Templates.
       
   235   }
       
   236 
       
   237   /**
       
   238    *
       
   239    * @return
       
   240    */
       
   241   @Override
       
   242   public String getVendor() {
       
   243     throw new UnsupportedOperationException("Not supported yet."); //To change body of generated methods, choose Tools | Templates.
       
   244   }
       
   245 
       
   246   /**
       
   247    *
       
   248    * @return
       
   249    */
       
   250   @Override
       
   251   public Integer getVendorTypeNumber() {
       
   252     throw new UnsupportedOperationException("Not supported yet."); //To change body of generated methods, choose Tools | Templates.
       
   253   }
       
   254   
       
   255 }