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

Quick Search    Search Deep

org.apache.derby.impl.load
Class ImportResultSetMetaData  view ImportResultSetMetaData download ImportResultSetMetaData.java

java.lang.Object
  extended byorg.apache.derby.vti.VTIMetaDataTemplate
      extended byorg.apache.derby.impl.load.ImportResultSetMetaData
All Implemented Interfaces:
java.sql.ResultSetMetaData

class ImportResultSetMetaData
extends org.apache.derby.vti.VTIMetaDataTemplate


Field Summary
private  java.lang.String[] columnNames
           
private  int[] columnWidths
           
private  int numberOfColumns
           
 
Fields inherited from interface java.sql.ResultSetMetaData
columnNoNulls, columnNullable, columnNullableUnknown
 
Constructor Summary
ImportResultSetMetaData(int numberOfColumns, java.lang.String[] columnNames, int[] columnWidths)
           
 
Method Summary
 int getColumnCount()
          This method returns the number of columns in the result set.
 int getColumnDisplaySize(int column)
          What's the column's normal maximum width in chars?
 java.lang.String getColumnName(int column)
          What's a column's name?
 int getColumnType(int column)
          This method returns the SQL type of the specified column.
 int isNullable(int column)
          Can you put a NULL in this column?
 
Methods inherited from class org.apache.derby.vti.VTIMetaDataTemplate
getCatalogName, getColumnClassName, getColumnLabel, getColumnTypeName, getPrecision, getScale, getSchemaName, getTableName, isAutoIncrement, isCaseSensitive, isCurrency, isDefinitelyWritable, isReadOnly, isSearchable, isSigned, isWritable
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

numberOfColumns

private final int numberOfColumns

columnNames

private final java.lang.String[] columnNames

columnWidths

private final int[] columnWidths
Constructor Detail

ImportResultSetMetaData

public ImportResultSetMetaData(int numberOfColumns,
                               java.lang.String[] columnNames,
                               int[] columnWidths)
Method Detail

getColumnCount

public int getColumnCount()
Description copied from interface: java.sql.ResultSetMetaData
This method returns the number of columns in the result set.


getColumnName

public java.lang.String getColumnName(int column)
Description copied from class: org.apache.derby.vti.VTIMetaDataTemplate
What's a column's name?


getColumnType

public int getColumnType(int column)
Description copied from interface: java.sql.ResultSetMetaData
This method returns the SQL type of the specified column. This will be one of the constants from Types.


isNullable

public int isNullable(int column)
Description copied from class: org.apache.derby.vti.VTIMetaDataTemplate
Can you put a NULL in this column?


getColumnDisplaySize

public int getColumnDisplaySize(int column)
Description copied from class: org.apache.derby.vti.VTIMetaDataTemplate
What's the column's normal maximum width in chars?