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