artefaktur
software engineer &        architecture

 
 
 
 

class LiteResultSetMetaData

Modules   Namespace List   Class Hierarchy   Alphabetical List   Compound List   Namespace Members   Compound Members   Related Pages  

acdk::sql::sqlite::LiteResultSetMetaData Class Reference

#include <LiteResultSetMetaData.h>

Inheritance diagram for acdk::sql::sqlite::LiteResultSetMetaData:

acdk::lang::Object acdk::sql::ResultSetMetaData acdk::lang::ObjectBase acdk::lang::dmi::StdDispatch List of all members.

Public Member Functions

 LiteResultSetMetaData (IN(RLiteTable) table)
virtual int getColumnCount () throw ( RSQLException )
 This method returns the number of columns in the result set.

virtual bool isAutoIncrement (int index) throw ( RSQLException )
 This method test whether or not the column is an auto-increment column.

virtual bool isCaseSensitive (int index) throw ( RSQLException )
 This method tests whether or not a column is case sensitive in its values.

virtual bool isSearchable (int index) throw ( RSQLException )
 This method tests whether not the specified column can be used in a WHERE clause.

virtual bool isCurrency (int index) throw ( RSQLException )
 This method tests whether or not the column stores a monetary value.

virtual int isNullable (int index) throw ( RSQLException )
 This method returns a value indicating whether or not the specified column may contain a NULL value.

virtual bool isSigned (int index) throw ( RSQLException )
 This method tests whether or not the value of the specified column is signed or unsigned.

virtual int getColumnDisplaySize (int index) throw ( RSQLException )
 This method returns the maximum number of characters that can be used to display a value in this column.

virtual RString getColumnLabel (int index) throw ( RSQLException )
 This method returns a string that should be used as a caption for this column for user display purposes.

virtual RString getColumnName (int index) throw ( RSQLException )
 This method returns the name of the specified column.

virtual RString getSchemaName (int index) throw ( RSQLException )
 This method returns the name of the schema that contains the specified column.

virtual int getPrecision (int index) throw ( RSQLException )
 This method returns the precision of the specified column, which is the number of decimal digits it contains.

virtual int getScale (int index) throw ( RSQLException )
 This method returns the scale of the specified column, which is the number of digits to the right of the decimal point.

virtual RString getTableName (int index) throw ( RSQLException )
 This method returns the name of the table containing the specified column.

virtual RString getCatalogName (int index) throw ( RSQLException )
 This method returns the name of the catalog containing the specified column.

virtual int getColumnType (int index) throw ( RSQLException )
 This method returns the SQL type of the specified column.

virtual RString getColumnTypeName (int index) throw ( RSQLException )
 This method returns the name of the SQL type for this column.

virtual bool isReadOnly (int index) throw ( RSQLException )
 This method tests whether or not the specified column is read only.

virtual bool isWritable (int index) throw ( RSQLException )
 This method tests whether or not the column may be writable.

virtual bool isDefinitelyWritable (int index) throw ( RSQLException )
 This method tests whether or not the column is writable.

virtual RString getColumnClassName (int index) throw ( RSQLException )
 This method returns the name of the Java class which will be used to create objects representing the data in this column.


Protected Attributes

RLiteTable _table

Constructor & Destructor Documentation

acdk::sql::sqlite::LiteResultSetMetaData::LiteResultSetMetaData IN(RLiteTable table  )  [inline]
 


Member Function Documentation

virtual RString acdk::sql::sqlite::LiteResultSetMetaData::getCatalogName int  index  )  throw ( RSQLException ) [inline, virtual]
 

This method returns the name of the catalog containing the specified column.

Parameters:
index The index of the column to check the catalog name for.
Returns:
The name of the catalog containing the column.
Exceptions:
SQLException If an error occurs.

Implements acdk::sql::ResultSetMetaData.

virtual RString acdk::sql::sqlite::LiteResultSetMetaData::getColumnClassName int  index  )  throw ( RSQLException ) [inline, virtual]
 

This method returns the name of the Java class which will be used to create objects representing the data in this column.

Parameters:
index The index of the column to check.
Returns:
The name of the Java class that will be used for values in this column.
Exceptions:
SQLException If an error occurs.

Implements acdk::sql::ResultSetMetaData.

virtual int acdk::sql::sqlite::LiteResultSetMetaData::getColumnCount  )  throw ( RSQLException ) [inline, virtual]
 

This method returns the number of columns in the result set.

Returns:
The number of columns in the result set.
Exceptions:
SQLException If an error occurs.

Implements acdk::sql::ResultSetMetaData.

virtual int acdk::sql::sqlite::LiteResultSetMetaData::getColumnDisplaySize int  index  )  throw ( RSQLException ) [inline, virtual]
 

This method returns the maximum number of characters that can be used to display a value in this column.

Parameters:
index The index of the column to check.
Returns:
The maximum number of characters that can be used to display a value for this column.
Exceptions:
SQLException If an error occurs.

Implements acdk::sql::ResultSetMetaData.

virtual RString acdk::sql::sqlite::LiteResultSetMetaData::getColumnLabel int  index  )  throw ( RSQLException ) [inline, virtual]
 

This method returns a string that should be used as a caption for this column for user display purposes.

Parameters:
index The index of the column to check.
Returns:
A display string for the column.
Exceptions:
SQLException If an error occurs.

Implements acdk::sql::ResultSetMetaData.

virtual RString acdk::sql::sqlite::LiteResultSetMetaData::getColumnName int  index  )  throw ( RSQLException ) [inline, virtual]
 

This method returns the name of the specified column.

Parameters:
index The index of the column to return the name of.
Returns:
The name of the column.
Exceptions:
SQLException If an error occurs.

Implements acdk::sql::ResultSetMetaData.

virtual int acdk::sql::sqlite::LiteResultSetMetaData::getColumnType int  index  )  throw ( RSQLException ) [inline, virtual]
 

This method returns the SQL type of the specified column.

This will be one of the constants from Types.

Parameters:
index The index of the column to check the SQL type of.
Returns:
The SQL type for this column.
Exceptions:
SQLException If an error occurs.
See also:
Types

Implements acdk::sql::ResultSetMetaData.

virtual RString acdk::sql::sqlite::LiteResultSetMetaData::getColumnTypeName int  index  )  throw ( RSQLException ) [inline, virtual]
 

This method returns the name of the SQL type for this column.

Parameters:
index The index of the column to check the SQL type name for.
Returns:
The name of the SQL type for this column.
Exceptions:
SQLException If an error occurs.

Implements acdk::sql::ResultSetMetaData.

virtual int acdk::sql::sqlite::LiteResultSetMetaData::getPrecision int  index  )  throw ( RSQLException ) [inline, virtual]
 

This method returns the precision of the specified column, which is the number of decimal digits it contains.

Parameters:
index The index of the column to check the precision on.
Returns:
The precision of the specified column.
Exceptions:
SQLException If an error occurs.

Implements acdk::sql::ResultSetMetaData.

virtual int acdk::sql::sqlite::LiteResultSetMetaData::getScale int  index  )  throw ( RSQLException ) [inline, virtual]
 

This method returns the scale of the specified column, which is the number of digits to the right of the decimal point.

Parameters:
index The index column to check the scale of.
Returns:
The scale of the column.
Exceptions:
SQLException If an error occurs.

Implements acdk::sql::ResultSetMetaData.

virtual RString acdk::sql::sqlite::LiteResultSetMetaData::getSchemaName int  index  )  throw ( RSQLException ) [inline, virtual]
 

This method returns the name of the schema that contains the specified column.

Parameters:
index The index of the column to check the schema name for.
Returns:
The name of the schema that contains the column.
Exceptions:
SQLException If an error occurs.

Implements acdk::sql::ResultSetMetaData.

virtual RString acdk::sql::sqlite::LiteResultSetMetaData::getTableName int  index  )  throw ( RSQLException ) [inline, virtual]
 

This method returns the name of the table containing the specified column.

Parameters:
index The index of the column to check the table name for.
Returns:
The name of the table containing the column.
Exceptions:
SQLException If an error occurs.

Implements acdk::sql::ResultSetMetaData.

virtual bool acdk::sql::sqlite::LiteResultSetMetaData::isAutoIncrement int  index  )  throw ( RSQLException ) [inline, virtual]
 

This method test whether or not the column is an auto-increment column.

Auto-increment columns are read-only.

Parameters:
index The index of the column to test.
Returns:
true if the column is auto-increment, false otherwise.
Exceptions:
SQLException If an error occurs.

Implements acdk::sql::ResultSetMetaData.

virtual bool acdk::sql::sqlite::LiteResultSetMetaData::isCaseSensitive int  index  )  throw ( RSQLException ) [inline, virtual]
 

This method tests whether or not a column is case sensitive in its values.

Parameters:
index The index of the column to test.
Returns:
true if the column value is case sensitive, false otherwise.
Exceptions:
SQLException If an error occurs.

Implements acdk::sql::ResultSetMetaData.

virtual bool acdk::sql::sqlite::LiteResultSetMetaData::isCurrency int  index  )  throw ( RSQLException ) [inline, virtual]
 

This method tests whether or not the column stores a monetary value.

Parameters:
index The index of the column to test.
Returns:
true if the column contains a monetary value, false otherwise.
Exceptions:
SQLException If an error occurs.

Implements acdk::sql::ResultSetMetaData.

virtual bool acdk::sql::sqlite::LiteResultSetMetaData::isDefinitelyWritable int  index  )  throw ( RSQLException ) [inline, virtual]
 

This method tests whether or not the column is writable.

This does guarantee that a write will be successful.

Parameters:
index The index of the column to check for writability.
Returns:
true if the column is writable, false otherwise.
Exceptions:
SQLException If an error occurs.

Implements acdk::sql::ResultSetMetaData.

virtual int acdk::sql::sqlite::LiteResultSetMetaData::isNullable int  index  )  throw ( RSQLException ) [inline, virtual]
 

This method returns a value indicating whether or not the specified column may contain a NULL value.

Parameters:
index The index of the column to test.
Returns:
A constant indicating whether or not the column can contain NULL, which will be one of columnNoNulls, columnNullable, or columnNullableUnknown.
Exceptions:
SQLException If an error occurs.

Implements acdk::sql::ResultSetMetaData.

virtual bool acdk::sql::sqlite::LiteResultSetMetaData::isReadOnly int  index  )  throw ( RSQLException ) [inline, virtual]
 

This method tests whether or not the specified column is read only.

Parameters:
index The index of the column to check.
Returns:
true if the column is read only, false otherwise.
Exceptions:
SQLException If an error occurs.

Implements acdk::sql::ResultSetMetaData.

virtual bool acdk::sql::sqlite::LiteResultSetMetaData::isSearchable int  index  )  throw ( RSQLException ) [inline, virtual]
 

This method tests whether not the specified column can be used in a WHERE clause.

Parameters:
index The index of the column to test.
Returns:
true if the column may be used in a WHERE clause, false otherwise.
Exceptions:
SQLException If an error occurs.

Implements acdk::sql::ResultSetMetaData.

virtual bool acdk::sql::sqlite::LiteResultSetMetaData::isSigned int  index  )  throw ( RSQLException ) [inline, virtual]
 

This method tests whether or not the value of the specified column is signed or unsigned.

Parameters:
index The index of the column to test.
Returns:
true if the column value is signed, false otherwise.
Exceptions:
SQLException If an error occurs.

Implements acdk::sql::ResultSetMetaData.

virtual bool acdk::sql::sqlite::LiteResultSetMetaData::isWritable int  index  )  throw ( RSQLException ) [inline, virtual]
 

This method tests whether or not the column may be writable.

This does not guarantee that a write will be successful.

Parameters:
index The index of the column to check for writability.
Returns:
true if the column may be writable, false otherwise.
Exceptions:
SQLException If an error occurs.

Implements acdk::sql::ResultSetMetaData.


Member Data Documentation

RLiteTable acdk::sql::sqlite::LiteResultSetMetaData::_table [protected]
 

 
Last modified 2005-05-08 18:33 by SYSTEM By Artefaktur, Ing. Bureau Kommer