simpledb.remote
Class SimpleMetaData
java.lang.Object
simpledb.remote.ResultSetMetaDataAdapter
simpledb.remote.SimpleMetaData
- All Implemented Interfaces:
- ResultSetMetaData, Wrapper
public class SimpleMetaData
- extends ResultSetMetaDataAdapter
An adapter class that wraps RemoteMetaData.
Its methods do nothing except transform RemoteExceptions
into SQLExceptions.
- Author:
- Edward Sciore
Methods inherited from class simpledb.remote.ResultSetMetaDataAdapter |
getCatalogName, getColumnClassName, getColumnLabel, getColumnTypeName, getPrecision, getScale, getSchemaName, getTableName, isAutoIncrement, isCaseSensitive, isCurrency, isDefinitelyWritable, isNullable, isReadOnly, isSearchable, isSigned, isWrapperFor, isWritable, unwrap |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SimpleMetaData
public SimpleMetaData(RemoteMetaData md)
getColumnCount
public int getColumnCount()
throws SQLException
- Specified by:
getColumnCount
in interface ResultSetMetaData
- Overrides:
getColumnCount
in class ResultSetMetaDataAdapter
- Throws:
SQLException
getColumnName
public String getColumnName(int column)
throws SQLException
- Specified by:
getColumnName
in interface ResultSetMetaData
- Overrides:
getColumnName
in class ResultSetMetaDataAdapter
- Throws:
SQLException
getColumnType
public int getColumnType(int column)
throws SQLException
- Specified by:
getColumnType
in interface ResultSetMetaData
- Overrides:
getColumnType
in class ResultSetMetaDataAdapter
- Throws:
SQLException
getColumnDisplaySize
public int getColumnDisplaySize(int column)
throws SQLException
- Specified by:
getColumnDisplaySize
in interface ResultSetMetaData
- Overrides:
getColumnDisplaySize
in class ResultSetMetaDataAdapter
- Throws:
SQLException
Copyright © 2011. All Rights Reserved.