org.sqlite.jdbc
クラス JdbcResultSetMetaData

java.lang.Object
  上位を拡張 org.sqlite.jdbc.JdbcResultSetMetaData
すべての実装されたインタフェース:
java.sql.ResultSetMetaData

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


フィールドの概要
 
インタフェース java.sql.ResultSetMetaData から継承されたフィールド
columnNoNulls, columnNullable, columnNullableUnknown
 
コンストラクタの概要
JdbcResultSetMetaData(Statement stmt)
           
 
メソッドの概要
 java.lang.String getCatalogName(int column)
          It always returns empty string.
 java.lang.String getColumnClassName(int column)
          NOTE: Required to invoke the java.sql.ResultSet#next() method beforehand.
 int getColumnCount()
           
 int getColumnDisplaySize(int column)
          NOTE: Required to invoke the java.sql.ResultSet#next() method beforehand.
 java.lang.String getColumnLabel(int column)
           
protected  ColumnMetaData getColumnMetaData(int columnIndex)
           
 java.lang.String getColumnName(int column)
           
 int getColumnType(int column)
          NOTE: Required to invoke the java.sql.ResultSet#next() method beforehand.
 java.lang.String getColumnTypeName(int column)
           
 int getPrecision(int column)
          NOTE: Required to invoke the java.sql.ResultSet#next() method beforehand.
 int getScale(int column)
          It always returns 0.
 java.lang.String getSchemaName(int column)
          It always returns empty string.
 int getSQLiteColumnType(int column)
          NOTE: Required to invoke the java.sql.ResultSet#next() method beforehand.
 java.lang.String getTableName(int column)
           
 boolean isAutoIncrement(int column)
           
 boolean isCaseSensitive(int column)
          True when Collation Sequences is 'NOCASE'.
 boolean isCurrency(int column)
          It always returns false.
 boolean isDefinitelyWritable(int column)
          It always returns false.
 int isNullable(int column)
           
 boolean isReadOnly(int column)
          It always returns true.
 boolean isSearchable(int column)
          It always returns true.
 boolean isSigned(int column)
          NOTE: Required to invoke the java.sql.ResultSet#next() method beforehand.
 boolean isWritable(int column)
          It always returns false.
protected  void validateColumnIndexRange(int columnIndex)
           
 
クラス java.lang.Object から継承されたメソッド
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

コンストラクタの詳細

JdbcResultSetMetaData

public JdbcResultSetMetaData(Statement stmt)
メソッドの詳細

getColumnCount

public int getColumnCount()
                   throws java.sql.SQLException
定義:
インタフェース java.sql.ResultSetMetaData 内の getColumnCount
例外:
java.sql.SQLException

isAutoIncrement

public boolean isAutoIncrement(int column)
                        throws java.sql.SQLException
定義:
インタフェース java.sql.ResultSetMetaData 内の isAutoIncrement
パラメータ:
column -
戻り値:
例外:
java.sql.SQLException

isCaseSensitive

public boolean isCaseSensitive(int column)
                        throws java.sql.SQLException
True when Collation Sequences is 'NOCASE'. When it is not 'NOCASE', false is returned.

定義:
インタフェース java.sql.ResultSetMetaData 内の isCaseSensitive
パラメータ:
column -
戻り値:
例外:
java.sql.SQLException

isSearchable

public boolean isSearchable(int column)
                     throws java.sql.SQLException
It always returns true.

定義:
インタフェース java.sql.ResultSetMetaData 内の isSearchable
パラメータ:
column -
戻り値:
true
例外:
java.sql.SQLException
関連項目:
JdbcDatabaseMetaData.getTypeInfo()

isCurrency

public boolean isCurrency(int column)
                   throws java.sql.SQLException
It always returns false.

定義:
インタフェース java.sql.ResultSetMetaData 内の isCurrency
パラメータ:
column -
戻り値:
false
例外:
java.sql.SQLException

isNullable

public int isNullable(int column)
               throws java.sql.SQLException
定義:
インタフェース java.sql.ResultSetMetaData 内の isNullable
例外:
java.sql.SQLException

isSigned

public boolean isSigned(int column)
                 throws java.sql.SQLException
NOTE: Required to invoke the java.sql.ResultSet#next() method beforehand.

定義:
インタフェース java.sql.ResultSetMetaData 内の isSigned
パラメータ:
column -
戻り値:
例外:
java.sql.SQLException
関連項目:
JdbcDatabaseMetaData.getTypeInfo()

getColumnDisplaySize

public int getColumnDisplaySize(int column)
                         throws java.sql.SQLException
NOTE: Required to invoke the java.sql.ResultSet#next() method beforehand.

定義:
インタフェース java.sql.ResultSetMetaData 内の getColumnDisplaySize
パラメータ:
column -
戻り値:
例外:
java.sql.SQLException
関連項目:
JdbcDatabaseMetaData.getColumnDisplaySize(int), org.hsqldb.Types#getMaxDisplaySize(int)

getColumnLabel

public java.lang.String getColumnLabel(int column)
                                throws java.sql.SQLException
定義:
インタフェース java.sql.ResultSetMetaData 内の getColumnLabel
パラメータ:
column -
戻り値:
例外:
java.sql.SQLException

getColumnName

public java.lang.String getColumnName(int column)
                               throws java.sql.SQLException
定義:
インタフェース java.sql.ResultSetMetaData 内の getColumnName
例外:
java.sql.SQLException

getSchemaName

public java.lang.String getSchemaName(int column)
                               throws java.sql.SQLException
It always returns empty string.

定義:
インタフェース java.sql.ResultSetMetaData 内の getSchemaName
パラメータ:
column -
戻り値:
empty string
例外:
java.sql.SQLException

getPrecision

public int getPrecision(int column)
                 throws java.sql.SQLException
NOTE: Required to invoke the java.sql.ResultSet#next() method beforehand.

定義:
インタフェース java.sql.ResultSetMetaData 内の getPrecision
パラメータ:
column -
戻り値:
例外:
java.sql.SQLException
関連項目:
JdbcDatabaseMetaData.getTypeInfo()

getScale

public int getScale(int column)
             throws java.sql.SQLException
It always returns 0. NOTE: Required to invoke the java.sql.ResultSet#next() method beforehand.

定義:
インタフェース java.sql.ResultSetMetaData 内の getScale
パラメータ:
column -
戻り値:
0
例外:
java.sql.SQLException

getTableName

public java.lang.String getTableName(int column)
                              throws java.sql.SQLException
定義:
インタフェース java.sql.ResultSetMetaData 内の getTableName
例外:
java.sql.SQLException

getCatalogName

public java.lang.String getCatalogName(int column)
                                throws java.sql.SQLException
It always returns empty string.

定義:
インタフェース java.sql.ResultSetMetaData 内の getCatalogName
パラメータ:
column -
戻り値:
empty string
例外:
java.sql.SQLException

getColumnType

public int getColumnType(int column)
                  throws java.sql.SQLException
NOTE: Required to invoke the java.sql.ResultSet#next() method beforehand.

定義:
インタフェース java.sql.ResultSetMetaData 内の getColumnType
パラメータ:
column -
戻り値:
例外:
java.sql.SQLException

getColumnTypeName

public java.lang.String getColumnTypeName(int column)
                                   throws java.sql.SQLException
定義:
インタフェース java.sql.ResultSetMetaData 内の getColumnTypeName
例外:
java.sql.SQLException

isReadOnly

public boolean isReadOnly(int column)
                   throws java.sql.SQLException
It always returns true.

定義:
インタフェース java.sql.ResultSetMetaData 内の isReadOnly
パラメータ:
column -
戻り値:
true
例外:
java.sql.SQLException

isWritable

public boolean isWritable(int column)
                   throws java.sql.SQLException
It always returns false.

定義:
インタフェース java.sql.ResultSetMetaData 内の isWritable
パラメータ:
column -
戻り値:
false
例外:
java.sql.SQLException

isDefinitelyWritable

public boolean isDefinitelyWritable(int column)
                             throws java.sql.SQLException
It always returns false.

定義:
インタフェース java.sql.ResultSetMetaData 内の isDefinitelyWritable
パラメータ:
column -
戻り値:
false
例外:
java.sql.SQLException

getColumnClassName

public java.lang.String getColumnClassName(int column)
                                    throws java.sql.SQLException
NOTE: Required to invoke the java.sql.ResultSet#next() method beforehand.

定義:
インタフェース java.sql.ResultSetMetaData 内の getColumnClassName
パラメータ:
column -
戻り値:
例外:
java.sql.SQLException

validateColumnIndexRange

protected void validateColumnIndexRange(int columnIndex)
                                 throws java.sql.SQLException
例外:
java.sql.SQLException

getSQLiteColumnType

public int getSQLiteColumnType(int column)
                        throws java.sql.SQLException
NOTE: Required to invoke the java.sql.ResultSet#next() method beforehand.

パラメータ:
column -
戻り値:
例外:
java.sql.SQLException

getColumnMetaData

protected ColumnMetaData getColumnMetaData(int columnIndex)
                                    throws java.sql.SQLException
例外:
java.sql.SQLException