1 21 22 package org.apache.derby.vti; 23 24 import java.sql.SQLException ; 25 import java.sql.ResultSetMetaData ; 26 27 52 53 public abstract class VTIMetaDataTemplate implements ResultSetMetaData { 54 55 62 public boolean isAutoIncrement(int column) throws SQLException { 63 throw new SQLException ("isAutoIncrement"); 64 } 65 66 67 74 public boolean isCaseSensitive(int column) throws SQLException { 75 throw new SQLException ("isCaseSensitive"); 76 } 77 78 79 86 public boolean isSearchable(int column) throws SQLException { 87 throw new SQLException ("isSearchable"); 88 } 89 90 91 98 public boolean isCurrency(int column) throws SQLException { 99 throw new SQLException ("isCurrency"); 100 } 101 102 103 110 public int isNullable(int column) throws SQLException { 111 throw new SQLException ("isNullable"); 112 } 113 114 115 122 public boolean isSigned(int column) throws SQLException { 123 throw new SQLException ("isSigned"); 124 } 125 126 127 134 public int getColumnDisplaySize(int column) throws SQLException { 135 throw new SQLException ("getColumnDisplaySize"); 136 } 137 138 139 147 public String getColumnLabel(int column) throws SQLException { 148 throw new SQLException ("getColumnLabel"); 149 } 150 151 152 159 public String getColumnName(int column) throws SQLException { 160 throw new SQLException ("getColumnName"); 161 } 162 163 164 171 public String getSchemaName(int column) throws SQLException { 172 throw new SQLException ("getSchemaName"); 173 } 174 175 176 183 public int getPrecision(int column) throws SQLException { 184 throw new SQLException ("getPrecision"); 185 } 186 187 188 195 public int getScale(int column) throws SQLException { 196 throw new SQLException ("getScale"); 197 } 198 199 200 207 public String getTableName(int column) throws SQLException { 208 throw new SQLException ("getTableName"); 209 } 210 211 212 219 public String getCatalogName(int column) throws SQLException { 220 throw new SQLException ("getCatalogName"); 221 } 222 223 224 231 public String getColumnTypeName(int column) throws SQLException { 232 throw new SQLException ("getColumnTypeName"); 233 } 234 235 236 244 public boolean isReadOnly(int column) throws SQLException { 245 return true; 246 } 247 248 249 256 public boolean isWritable(int column) throws SQLException { 257 return false; 258 } 259 260 267 public boolean isDefinitelyWritable(int column) throws SQLException { 268 return false; 269 } 270 271 274 275 282 public String getColumnClassName(int column) throws SQLException { 283 throw new SQLException ("getColumnClassName"); 284 } 285 } 286 | Popular Tags |