Package com.alibaba.druid.proxy.jdbc
Class ResultSetMetaDataProxyImpl
- java.lang.Object
-
- com.alibaba.druid.proxy.jdbc.WrapperProxyImpl
-
- com.alibaba.druid.proxy.jdbc.ResultSetMetaDataProxyImpl
-
- All Implemented Interfaces:
ResultSetMetaDataProxy,WrapperProxy,ResultSetMetaData,Wrapper
public class ResultSetMetaDataProxyImpl extends WrapperProxyImpl implements ResultSetMetaDataProxy
- Author:
- kiki
-
-
Field Summary
-
Fields inherited from interface java.sql.ResultSetMetaData
columnNoNulls, columnNullable, columnNullableUnknown
-
-
Constructor Summary
Constructors Constructor Description ResultSetMetaDataProxyImpl(ResultSetMetaData metaData, long id, ResultSetProxy resultSet)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description FilterChainImplcreateChain()StringgetCatalogName(int column)StringgetColumnClassName(int column)intgetColumnCount()intgetColumnDisplaySize(int column)StringgetColumnLabel(int column)StringgetColumnName(int column)intgetColumnType(int column)StringgetColumnTypeName(int column)intgetPrecision(int column)ResultSetMetaDatagetResultSetMetaDataRaw()ResultSetProxygetResultSetProxy()intgetScale(int column)StringgetSchemaName(int column)StringgetTableName(int column)booleanisAutoIncrement(int column)booleanisCaseSensitive(int column)booleanisCurrency(int column)booleanisDefinitelyWritable(int column)intisNullable(int column)booleanisReadOnly(int column)booleanisSearchable(int column)booleanisSigned(int column)booleanisWritable(int column)voidrecycleFilterChain(FilterChainImpl chain)-
Methods inherited from class com.alibaba.druid.proxy.jdbc.WrapperProxyImpl
clearAttributes, getAttribute, getAttributes, getAttributesSize, getId, getRawObject, isWrapperFor, putAttribute, unwrap
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface java.sql.Wrapper
isWrapperFor, unwrap
-
Methods inherited from interface com.alibaba.druid.proxy.jdbc.WrapperProxy
clearAttributes, getAttribute, getAttributes, getAttributesSize, getId, getRawObject, putAttribute
-
-
-
-
Constructor Detail
-
ResultSetMetaDataProxyImpl
public ResultSetMetaDataProxyImpl(ResultSetMetaData metaData, long id, ResultSetProxy resultSet)
-
-
Method Detail
-
getColumnCount
public int getColumnCount() throws SQLException- Specified by:
getColumnCountin interfaceResultSetMetaData- Throws:
SQLException
-
isAutoIncrement
public boolean isAutoIncrement(int column) throws SQLException- Specified by:
isAutoIncrementin interfaceResultSetMetaData- Throws:
SQLException
-
isCaseSensitive
public boolean isCaseSensitive(int column) throws SQLException- Specified by:
isCaseSensitivein interfaceResultSetMetaData- Throws:
SQLException
-
isSearchable
public boolean isSearchable(int column) throws SQLException- Specified by:
isSearchablein interfaceResultSetMetaData- Throws:
SQLException
-
isCurrency
public boolean isCurrency(int column) throws SQLException- Specified by:
isCurrencyin interfaceResultSetMetaData- Throws:
SQLException
-
isNullable
public int isNullable(int column) throws SQLException- Specified by:
isNullablein interfaceResultSetMetaData- Throws:
SQLException
-
isSigned
public boolean isSigned(int column) throws SQLException- Specified by:
isSignedin interfaceResultSetMetaData- Throws:
SQLException
-
getColumnDisplaySize
public int getColumnDisplaySize(int column) throws SQLException- Specified by:
getColumnDisplaySizein interfaceResultSetMetaData- Throws:
SQLException
-
getColumnLabel
public String getColumnLabel(int column) throws SQLException
- Specified by:
getColumnLabelin interfaceResultSetMetaData- Throws:
SQLException
-
getColumnName
public String getColumnName(int column) throws SQLException
- Specified by:
getColumnNamein interfaceResultSetMetaData- Throws:
SQLException
-
getSchemaName
public String getSchemaName(int column) throws SQLException
- Specified by:
getSchemaNamein interfaceResultSetMetaData- Throws:
SQLException
-
getPrecision
public int getPrecision(int column) throws SQLException- Specified by:
getPrecisionin interfaceResultSetMetaData- Throws:
SQLException
-
getScale
public int getScale(int column) throws SQLException- Specified by:
getScalein interfaceResultSetMetaData- Throws:
SQLException
-
getTableName
public String getTableName(int column) throws SQLException
- Specified by:
getTableNamein interfaceResultSetMetaData- Throws:
SQLException
-
getCatalogName
public String getCatalogName(int column) throws SQLException
- Specified by:
getCatalogNamein interfaceResultSetMetaData- Throws:
SQLException
-
getColumnType
public int getColumnType(int column) throws SQLException- Specified by:
getColumnTypein interfaceResultSetMetaData- Throws:
SQLException
-
getColumnTypeName
public String getColumnTypeName(int column) throws SQLException
- Specified by:
getColumnTypeNamein interfaceResultSetMetaData- Throws:
SQLException
-
isReadOnly
public boolean isReadOnly(int column) throws SQLException- Specified by:
isReadOnlyin interfaceResultSetMetaData- Throws:
SQLException
-
isWritable
public boolean isWritable(int column) throws SQLException- Specified by:
isWritablein interfaceResultSetMetaData- Throws:
SQLException
-
isDefinitelyWritable
public boolean isDefinitelyWritable(int column) throws SQLException- Specified by:
isDefinitelyWritablein interfaceResultSetMetaData- Throws:
SQLException
-
getColumnClassName
public String getColumnClassName(int column) throws SQLException
- Specified by:
getColumnClassNamein interfaceResultSetMetaData- Throws:
SQLException
-
createChain
public FilterChainImpl createChain()
- Specified by:
createChainin classWrapperProxyImpl
-
recycleFilterChain
public void recycleFilterChain(FilterChainImpl chain)
-
getResultSetProxy
public ResultSetProxy getResultSetProxy()
- Specified by:
getResultSetProxyin interfaceResultSetMetaDataProxy
-
getResultSetMetaDataRaw
public ResultSetMetaData getResultSetMetaDataRaw()
- Specified by:
getResultSetMetaDataRawin interfaceResultSetMetaDataProxy
-
-