com.alibaba.druid.util.jdbc
类 ResultSetMetaDataBase

java.lang.Object
  继承者 com.alibaba.druid.util.jdbc.ResultSetMetaDataBase
所有已实现的接口:
ResultSetMetaData, Wrapper
直接已知子类:
MockResultSetMetaData

public class ResultSetMetaDataBase
extends Object
implements ResultSetMetaData


嵌套类摘要
static class ResultSetMetaDataBase.ColumnMetaData
           
 
字段摘要
 
从接口 java.sql.ResultSetMetaData 继承的字段
columnNoNulls, columnNullable, columnNullableUnknown
 
构造方法摘要
ResultSetMetaDataBase()
           
 
方法摘要
 int findColumn(String columnName)
           
 String getCatalogName(int column)
           
 ResultSetMetaDataBase.ColumnMetaData getColumn(int column)
           
 String getColumnClassName(int column)
           
 int getColumnCount()
           
 int getColumnDisplaySize(int column)
           
 String getColumnLabel(int column)
           
 String getColumnName(int column)
           
 List<ResultSetMetaDataBase.ColumnMetaData> getColumns()
           
 int getColumnType(int column)
           
 String getColumnTypeName(int column)
           
 int getPrecision(int column)
           
 int getScale(int column)
           
 String getSchemaName(int column)
           
 String getTableName(int column)
           
 boolean isAutoIncrement(int column)
           
 boolean isCaseSensitive(int column)
           
 boolean isCurrency(int column)
           
 boolean isDefinitelyWritable(int column)
           
 int isNullable(int column)
           
 boolean isReadOnly(int column)
           
 boolean isSearchable(int column)
           
 boolean isSigned(int column)
           
 boolean isWrapperFor(Class<?> iface)
           
 boolean isWritable(int column)
           
<T> T
unwrap(Class<T> iface)
           
 
从类 java.lang.Object 继承的方法
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

构造方法详细信息

ResultSetMetaDataBase

public ResultSetMetaDataBase()
方法详细信息

getColumns

public List<ResultSetMetaDataBase.ColumnMetaData> getColumns()

findColumn

public int findColumn(String columnName)
               throws SQLException
抛出:
SQLException

unwrap

public <T> T unwrap(Class<T> iface)
         throws SQLException
指定者:
接口 Wrapper 中的 unwrap
抛出:
SQLException

isWrapperFor

public boolean isWrapperFor(Class<?> iface)
                     throws SQLException
指定者:
接口 Wrapper 中的 isWrapperFor
抛出:
SQLException

getColumnCount

public int getColumnCount()
                   throws SQLException
指定者:
接口 ResultSetMetaData 中的 getColumnCount
抛出:
SQLException

isAutoIncrement

public boolean isAutoIncrement(int column)
                        throws SQLException
指定者:
接口 ResultSetMetaData 中的 isAutoIncrement
抛出:
SQLException

isCaseSensitive

public boolean isCaseSensitive(int column)
                        throws SQLException
指定者:
接口 ResultSetMetaData 中的 isCaseSensitive
抛出:
SQLException

isSearchable

public boolean isSearchable(int column)
                     throws SQLException
指定者:
接口 ResultSetMetaData 中的 isSearchable
抛出:
SQLException

isCurrency

public boolean isCurrency(int column)
                   throws SQLException
指定者:
接口 ResultSetMetaData 中的 isCurrency
抛出:
SQLException

isNullable

public int isNullable(int column)
               throws SQLException
指定者:
接口 ResultSetMetaData 中的 isNullable
抛出:
SQLException

isSigned

public boolean isSigned(int column)
                 throws SQLException
指定者:
接口 ResultSetMetaData 中的 isSigned
抛出:
SQLException

getColumnDisplaySize

public int getColumnDisplaySize(int column)
                         throws SQLException
指定者:
接口 ResultSetMetaData 中的 getColumnDisplaySize
抛出:
SQLException

getColumnLabel

public String getColumnLabel(int column)
                      throws SQLException
指定者:
接口 ResultSetMetaData 中的 getColumnLabel
抛出:
SQLException

getColumn

public ResultSetMetaDataBase.ColumnMetaData getColumn(int column)

getColumnName

public String getColumnName(int column)
                     throws SQLException
指定者:
接口 ResultSetMetaData 中的 getColumnName
抛出:
SQLException

getSchemaName

public String getSchemaName(int column)
                     throws SQLException
指定者:
接口 ResultSetMetaData 中的 getSchemaName
抛出:
SQLException

getPrecision

public int getPrecision(int column)
                 throws SQLException
指定者:
接口 ResultSetMetaData 中的 getPrecision
抛出:
SQLException

getScale

public int getScale(int column)
             throws SQLException
指定者:
接口 ResultSetMetaData 中的 getScale
抛出:
SQLException

getTableName

public String getTableName(int column)
                    throws SQLException
指定者:
接口 ResultSetMetaData 中的 getTableName
抛出:
SQLException

getCatalogName

public String getCatalogName(int column)
                      throws SQLException
指定者:
接口 ResultSetMetaData 中的 getCatalogName
抛出:
SQLException

getColumnType

public int getColumnType(int column)
                  throws SQLException
指定者:
接口 ResultSetMetaData 中的 getColumnType
抛出:
SQLException

getColumnTypeName

public String getColumnTypeName(int column)
                         throws SQLException
指定者:
接口 ResultSetMetaData 中的 getColumnTypeName
抛出:
SQLException

isReadOnly

public boolean isReadOnly(int column)
                   throws SQLException
指定者:
接口 ResultSetMetaData 中的 isReadOnly
抛出:
SQLException

isWritable

public boolean isWritable(int column)
                   throws SQLException
指定者:
接口 ResultSetMetaData 中的 isWritable
抛出:
SQLException

isDefinitelyWritable

public boolean isDefinitelyWritable(int column)
                             throws SQLException
指定者:
接口 ResultSetMetaData 中的 isDefinitelyWritable
抛出:
SQLException

getColumnClassName

public String getColumnClassName(int column)
                          throws SQLException
指定者:
接口 ResultSetMetaData 中的 getColumnClassName
抛出:
SQLException


Copyright © 2013-2014 Alibaba Group. All Rights Reserved.