java/jdbc-loopback-driver/src/main/java/info/globalcode/jdbc/loopback/AbstractResultSetMetaData.java
author František Kučera <franta-hg@frantovo.cz>
Thu, 24 Oct 2019 21:43:08 +0200
branchv_0
changeset 250 aae5009bd0af
parent 247 3380ae5275be
permissions -rw-r--r--
fix license version: GNU GPLv3
     1 /**
     2  * SQL-DK
     3  * Copyright © 2014 František Kučera (frantovo.cz)
     4  *
     5  * This program is free software: you can redistribute it and/or modify
     6  * it under the terms of the GNU General Public License as published by
     7  * the Free Software Foundation, version 3 of the License.
     8  *
     9  * This program is distributed in the hope that it will be useful,
    10  * but WITHOUT ANY WARRANTY; without even the implied warranty of
    11  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
    12  * GNU General Public License for more details.
    13  *
    14  * You should have received a copy of the GNU General Public License
    15  * along with this program. If not, see <http://www.gnu.org/licenses/>.
    16  */
    17 package info.globalcode.jdbc.loopback;
    18 
    19 import java.sql.SQLException;
    20 
    21 /**
    22  *
    23  * @author Ing. František Kučera (frantovo.cz)
    24  */
    25 public abstract class AbstractResultSetMetaData implements java.sql.ResultSetMetaData {
    26 
    27 	@Override
    28 	public int getColumnCount() throws SQLException {
    29 		throw new SQLException("Not supported yet.");
    30 	}
    31 
    32 	@Override
    33 	public boolean isAutoIncrement(int column) throws SQLException {
    34 		throw new SQLException("Not supported yet.");
    35 	}
    36 
    37 	@Override
    38 	public boolean isCaseSensitive(int column) throws SQLException {
    39 		throw new SQLException("Not supported yet.");
    40 	}
    41 
    42 	@Override
    43 	public boolean isSearchable(int column) throws SQLException {
    44 		throw new SQLException("Not supported yet.");
    45 	}
    46 
    47 	@Override
    48 	public boolean isCurrency(int column) throws SQLException {
    49 		throw new SQLException("Not supported yet.");
    50 	}
    51 
    52 	@Override
    53 	public int isNullable(int column) throws SQLException {
    54 		throw new SQLException("Not supported yet.");
    55 	}
    56 
    57 	@Override
    58 	public boolean isSigned(int column) throws SQLException {
    59 		throw new SQLException("Not supported yet.");
    60 	}
    61 
    62 	@Override
    63 	public int getColumnDisplaySize(int column) throws SQLException {
    64 		throw new SQLException("Not supported yet.");
    65 	}
    66 
    67 	@Override
    68 	public String getColumnLabel(int column) throws SQLException {
    69 		throw new SQLException("Not supported yet.");
    70 	}
    71 
    72 	@Override
    73 	public String getColumnName(int column) throws SQLException {
    74 		throw new SQLException("Not supported yet.");
    75 	}
    76 
    77 	@Override
    78 	public String getSchemaName(int column) throws SQLException {
    79 		throw new SQLException("Not supported yet.");
    80 	}
    81 
    82 	@Override
    83 	public int getPrecision(int column) throws SQLException {
    84 		throw new SQLException("Not supported yet.");
    85 	}
    86 
    87 	@Override
    88 	public int getScale(int column) throws SQLException {
    89 		throw new SQLException("Not supported yet.");
    90 	}
    91 
    92 	@Override
    93 	public String getTableName(int column) throws SQLException {
    94 		return "";
    95 	}
    96 
    97 	@Override
    98 	public String getCatalogName(int column) throws SQLException {
    99 		throw new SQLException("Not supported yet.");
   100 	}
   101 
   102 	@Override
   103 	public int getColumnType(int column) throws SQLException {
   104 		throw new SQLException("Not supported yet.");
   105 	}
   106 
   107 	@Override
   108 	public String getColumnTypeName(int column) throws SQLException {
   109 		throw new SQLException("Not supported yet.");
   110 	}
   111 
   112 	@Override
   113 	public boolean isReadOnly(int column) throws SQLException {
   114 		throw new SQLException("Not supported yet.");
   115 	}
   116 
   117 	@Override
   118 	public boolean isWritable(int column) throws SQLException {
   119 		throw new SQLException("Not supported yet.");
   120 	}
   121 
   122 	@Override
   123 	public boolean isDefinitelyWritable(int column) throws SQLException {
   124 		throw new SQLException("Not supported yet.");
   125 	}
   126 
   127 	@Override
   128 	public String getColumnClassName(int column) throws SQLException {
   129 		throw new SQLException("Not supported yet.");
   130 	}
   131 
   132 	@Override
   133 	public <T> T unwrap(Class<T> iface) throws SQLException {
   134 		throw new SQLException("Not supported yet.");
   135 	}
   136 
   137 	@Override
   138 	public boolean isWrapperFor(Class<?> iface) throws SQLException {
   139 		throw new SQLException("Not supported yet.");
   140 	}
   141 }