ModeShape Distribution 3.0.0.Beta4

org.modeshape.jdbc.metadata
Class ResultSetMetaDataImpl

java.lang.Object
  extended by org.modeshape.jdbc.metadata.ResultSetMetaDataImpl
All Implemented Interfaces:
ResultSetMetaData, Wrapper

public class ResultSetMetaDataImpl
extends Object
implements ResultSetMetaData


Field Summary
 
Fields inherited from interface java.sql.ResultSetMetaData
columnNoNulls, columnNullable, columnNullableUnknown
 
Constructor Summary
ResultSetMetaDataImpl(MetadataProvider provider)
           
 
Method Summary
 String getCatalogName(int index)
           
 String getColumnClassName(int index)
           
 int getColumnCount()
           
 int getColumnDisplaySize(int index)
           
 String getColumnLabel(int index)
           
 String getColumnName(int index)
           
 int getColumnType(int index)
           
 String getColumnTypeName(int index)
           
 int getPrecision(int index)
           
 int getScale(int index)
           
 String getSchemaName(int index)
           
 String getTableName(int index)
           
 boolean isAutoIncrement(int index)
           
 boolean isCaseSensitive(int index)
           
 boolean isCurrency(int index)
           
 boolean isDefinitelyWritable(int index)
           
 int isNullable(int index)
           
 boolean isReadOnly(int index)
           
 boolean isSearchable(int index)
           
 boolean isSigned(int index)
           
 boolean isWrapperFor(Class<?> iface)
          
 boolean isWritable(int index)
           
<T> T
unwrap(Class<T> iface)
          
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ResultSetMetaDataImpl

public ResultSetMetaDataImpl(MetadataProvider provider)
Method Detail

getColumnCount

public int getColumnCount()
Specified by:
getColumnCount in interface ResultSetMetaData

isAutoIncrement

public boolean isAutoIncrement(int index)
Specified by:
isAutoIncrement in interface ResultSetMetaData

isCaseSensitive

public boolean isCaseSensitive(int index)
Specified by:
isCaseSensitive in interface ResultSetMetaData

isSearchable

public boolean isSearchable(int index)
Specified by:
isSearchable in interface ResultSetMetaData

isCurrency

public boolean isCurrency(int index)
Specified by:
isCurrency in interface ResultSetMetaData

isNullable

public int isNullable(int index)
Specified by:
isNullable in interface ResultSetMetaData

isSigned

public boolean isSigned(int index)
Specified by:
isSigned in interface ResultSetMetaData

getColumnDisplaySize

public int getColumnDisplaySize(int index)
Specified by:
getColumnDisplaySize in interface ResultSetMetaData

getColumnLabel

public String getColumnLabel(int index)
Specified by:
getColumnLabel in interface ResultSetMetaData

getColumnName

public String getColumnName(int index)
Specified by:
getColumnName in interface ResultSetMetaData

getSchemaName

public String getSchemaName(int index)
Specified by:
getSchemaName in interface ResultSetMetaData

getPrecision

public int getPrecision(int index)
Specified by:
getPrecision in interface ResultSetMetaData

getScale

public int getScale(int index)
Specified by:
getScale in interface ResultSetMetaData

getTableName

public String getTableName(int index)
Specified by:
getTableName in interface ResultSetMetaData

getCatalogName

public String getCatalogName(int index)
Specified by:
getCatalogName in interface ResultSetMetaData

getColumnType

public int getColumnType(int index)
Specified by:
getColumnType in interface ResultSetMetaData

getColumnTypeName

public String getColumnTypeName(int index)
Specified by:
getColumnTypeName in interface ResultSetMetaData

isReadOnly

public boolean isReadOnly(int index)
Specified by:
isReadOnly in interface ResultSetMetaData

isWritable

public boolean isWritable(int index)
Specified by:
isWritable in interface ResultSetMetaData

isDefinitelyWritable

public boolean isDefinitelyWritable(int index)
Specified by:
isDefinitelyWritable in interface ResultSetMetaData

getColumnClassName

public String getColumnClassName(int index)
Specified by:
getColumnClassName in interface ResultSetMetaData

isWrapperFor

public boolean isWrapperFor(Class<?> iface)

Specified by:
isWrapperFor in interface Wrapper
See Also:
Wrapper.isWrapperFor(java.lang.Class)

unwrap

public <T> T unwrap(Class<T> iface)
         throws SQLException

Specified by:
unwrap in interface Wrapper
Throws:
SQLException
See Also:
Wrapper.unwrap(java.lang.Class)

ModeShape Distribution 3.0.0.Beta4

Copyright © 2008-2012 JBoss, a division of Red Hat. All Rights Reserved.