Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

com.rohanclan.ashpool.core
Class AResultSetMetaData  view AResultSetMetaData download AResultSetMetaData.java

java.lang.Object
  extended bycom.rohanclan.ashpool.core.AResultSetMetaData
All Implemented Interfaces:
java.sql.ResultSetMetaData

public class AResultSetMetaData
extends java.lang.Object
implements java.sql.ResultSetMetaData

Metadata object for a AResultSet


Field Summary
private  AResultSet rs
           
 
Fields inherited from interface java.sql.ResultSetMetaData
columnNoNulls, columnNullable, columnNullableUnknown
 
Constructor Summary
AResultSetMetaData()
          Creates a new instance of AResultSetMetaData
AResultSetMetaData(AResultSet prs)
           
 
Method Summary
 java.lang.String getCatalogName(int column)
          Gets the designated column's table's catalog name.
 java.lang.String getColumnClassName(int column)
          Returns the fully-qualified name of the Java class whose instances are manufactured if the method ResultSet.getObject is called to retrieve a value from the column.
 int getColumnCount()
          Returns the number of columns in this ResultSet object.
 int getColumnDisplaySize(int column)
          Indicates the designated column's normal maximum width in characters.
 java.lang.String getColumnLabel(int column)
          Gets the designated column's suggested title for use in printouts and displays.
 java.lang.String getColumnName(int column)
          Get the designated column's name.
 int getColumnType(int column)
          Retrieves the designated column's SQL type.
 java.lang.String getColumnTypeName(int column)
          Retrieves the designated column's database-specific type name.
 int getPrecision(int column)
          Get the designated column's number of decimal digits.
 int getRecordCount()
           
 int getScale(int column)
          Gets the designated column's number of digits to right of the decimal point.
 java.lang.String getSchemaName(int column)
          Get the designated column's table's schema.
 java.lang.String getTableName(int column)
          Gets the designated column's table name.
 boolean isAutoIncrement(int column)
          Indicates whether the designated column is automatically numbered, thus read-only.
 boolean isCaseSensitive(int column)
          Indicates whether a column's case matters.
 boolean isCurrency(int column)
          Indicates whether the designated column is a cash value.
 boolean isDefinitelyWritable(int column)
          Indicates whether a write on the designated column will definitely succeed.
 int isNullable(int column)
          Indicates the nullability of values in the designated column.
 boolean isReadOnly(int column)
          Indicates whether the designated column is definitely not writable.
 boolean isSearchable(int column)
          Indicates whether the designated column can be used in a where clause.
 boolean isSigned(int column)
          Indicates whether values in the designated column are signed numbers.
 boolean isWritable(int column)
          Indicates whether it is possible for a write on the designated column to succeed.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

rs

private AResultSet rs
Constructor Detail

AResultSetMetaData

public AResultSetMetaData()
Creates a new instance of AResultSetMetaData


AResultSetMetaData

public AResultSetMetaData(AResultSet prs)
Method Detail

getCatalogName

public java.lang.String getCatalogName(int column)
                                throws java.sql.SQLException
Gets the designated column's table's catalog name.

Specified by:
getCatalogName in interface java.sql.ResultSetMetaData

getColumnClassName

public java.lang.String getColumnClassName(int column)
                                    throws java.sql.SQLException

Returns the fully-qualified name of the Java class whose instances are manufactured if the method ResultSet.getObject is called to retrieve a value from the column. ResultSet.getObject may return a subclass of the class returned by this method.

Specified by:
getColumnClassName in interface java.sql.ResultSetMetaData
Since:
1.2

getColumnCount

public int getColumnCount()
                   throws java.sql.SQLException
Returns the number of columns in this ResultSet object.

Specified by:
getColumnCount in interface java.sql.ResultSetMetaData

getRecordCount

public int getRecordCount()
                   throws java.sql.SQLException

getColumnDisplaySize

public int getColumnDisplaySize(int column)
                         throws java.sql.SQLException
Indicates the designated column's normal maximum width in characters.

Specified by:
getColumnDisplaySize in interface java.sql.ResultSetMetaData

getColumnLabel

public java.lang.String getColumnLabel(int column)
                                throws java.sql.SQLException
Gets the designated column's suggested title for use in printouts and displays.

Specified by:
getColumnLabel in interface java.sql.ResultSetMetaData

getColumnName

public java.lang.String getColumnName(int column)
                               throws java.sql.SQLException
Get the designated column's name.

Specified by:
getColumnName in interface java.sql.ResultSetMetaData

getColumnType

public int getColumnType(int column)
                  throws java.sql.SQLException
Retrieves the designated column's SQL type.

Specified by:
getColumnType in interface java.sql.ResultSetMetaData

getColumnTypeName

public java.lang.String getColumnTypeName(int column)
                                   throws java.sql.SQLException
Retrieves the designated column's database-specific type name.

Specified by:
getColumnTypeName in interface java.sql.ResultSetMetaData

getPrecision

public int getPrecision(int column)
                 throws java.sql.SQLException
Get the designated column's number of decimal digits.

Specified by:
getPrecision in interface java.sql.ResultSetMetaData

getScale

public int getScale(int column)
             throws java.sql.SQLException
Gets the designated column's number of digits to right of the decimal point.

Specified by:
getScale in interface java.sql.ResultSetMetaData

getSchemaName

public java.lang.String getSchemaName(int column)
                               throws java.sql.SQLException
Get the designated column's table's schema.

Specified by:
getSchemaName in interface java.sql.ResultSetMetaData

getTableName

public java.lang.String getTableName(int column)
                              throws java.sql.SQLException
Gets the designated column's table name.

Specified by:
getTableName in interface java.sql.ResultSetMetaData

isAutoIncrement

public boolean isAutoIncrement(int column)
                        throws java.sql.SQLException
Indicates whether the designated column is automatically numbered, thus read-only.

Specified by:
isAutoIncrement in interface java.sql.ResultSetMetaData

isCaseSensitive

public boolean isCaseSensitive(int column)
                        throws java.sql.SQLException
Indicates whether a column's case matters.

Specified by:
isCaseSensitive in interface java.sql.ResultSetMetaData

isCurrency

public boolean isCurrency(int column)
                   throws java.sql.SQLException
Indicates whether the designated column is a cash value.

Specified by:
isCurrency in interface java.sql.ResultSetMetaData

isDefinitelyWritable

public boolean isDefinitelyWritable(int column)
                             throws java.sql.SQLException
Indicates whether a write on the designated column will definitely succeed.

Specified by:
isDefinitelyWritable in interface java.sql.ResultSetMetaData

isNullable

public int isNullable(int column)
               throws java.sql.SQLException
Indicates the nullability of values in the designated column.

Specified by:
isNullable in interface java.sql.ResultSetMetaData

isReadOnly

public boolean isReadOnly(int column)
                   throws java.sql.SQLException
Indicates whether the designated column is definitely not writable.

Specified by:
isReadOnly in interface java.sql.ResultSetMetaData

isSearchable

public boolean isSearchable(int column)
                     throws java.sql.SQLException
Indicates whether the designated column can be used in a where clause.

Specified by:
isSearchable in interface java.sql.ResultSetMetaData

isSigned

public boolean isSigned(int column)
                 throws java.sql.SQLException
Indicates whether values in the designated column are signed numbers.

Specified by:
isSigned in interface java.sql.ResultSetMetaData

isWritable

public boolean isWritable(int column)
                   throws java.sql.SQLException
Indicates whether it is possible for a write on the designated column to succeed.

Specified by:
isWritable in interface java.sql.ResultSetMetaData