java/jdbc-loopback-driver/src/info/globalcode/jdbc/loopback/AbstractResultSetMetaData.java
Tabular formatter: fix problem with CR (carriage return).
Less command or orher programs shows it as ^M (two characters) and it breaks the table layout – so we need to translate it to a single symbol.
3 * Copyright © 2014 František Kučera (frantovo.cz)
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, either version 3 of the License, or
8 * (at your option) any later version.
10 * This program is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 * GNU General Public License for more details.
15 * You should have received a copy of the GNU General Public License
16 * along with this program. If not, see <http://www.gnu.org/licenses/>.
18 package info.globalcode.jdbc.loopback;
20 import java.sql.SQLException;
24 * @author Ing. František Kučera (frantovo.cz)
26 public abstract class AbstractResultSetMetaData implements java.sql.ResultSetMetaData {
29 public int getColumnCount() throws SQLException {
30 throw new SQLException("Not supported yet.");
34 public boolean isAutoIncrement(int column) throws SQLException {
35 throw new SQLException("Not supported yet.");
39 public boolean isCaseSensitive(int column) throws SQLException {
40 throw new SQLException("Not supported yet.");
44 public boolean isSearchable(int column) throws SQLException {
45 throw new SQLException("Not supported yet.");
49 public boolean isCurrency(int column) throws SQLException {
50 throw new SQLException("Not supported yet.");
54 public int isNullable(int column) throws SQLException {
55 throw new SQLException("Not supported yet.");
59 public boolean isSigned(int column) throws SQLException {
60 throw new SQLException("Not supported yet.");
64 public int getColumnDisplaySize(int column) throws SQLException {
65 throw new SQLException("Not supported yet.");
69 public String getColumnLabel(int column) throws SQLException {
70 throw new SQLException("Not supported yet.");
74 public String getColumnName(int column) throws SQLException {
75 throw new SQLException("Not supported yet.");
79 public String getSchemaName(int column) throws SQLException {
80 throw new SQLException("Not supported yet.");
84 public int getPrecision(int column) throws SQLException {
85 throw new SQLException("Not supported yet.");
89 public int getScale(int column) throws SQLException {
90 throw new SQLException("Not supported yet.");
94 public String getTableName(int column) throws SQLException {
95 throw new SQLException("Not supported yet.");
99 public String getCatalogName(int column) throws SQLException {
100 throw new SQLException("Not supported yet.");
104 public int getColumnType(int column) throws SQLException {
105 throw new SQLException("Not supported yet.");
109 public String getColumnTypeName(int column) throws SQLException {
110 throw new SQLException("Not supported yet.");
114 public boolean isReadOnly(int column) throws SQLException {
115 throw new SQLException("Not supported yet.");
119 public boolean isWritable(int column) throws SQLException {
120 throw new SQLException("Not supported yet.");
124 public boolean isDefinitelyWritable(int column) throws SQLException {
125 throw new SQLException("Not supported yet.");
129 public String getColumnClassName(int column) throws SQLException {
130 throw new SQLException("Not supported yet.");
134 public <T> T unwrap(Class<T> iface) throws SQLException {
135 throw new SQLException("Not supported yet.");
139 public boolean isWrapperFor(Class<?> iface) throws SQLException {
140 throw new SQLException("Not supported yet.");