|
Syntax
- long getColumnCount
();
- raises ( com::sun::star::sdbc::SQLException );
Description
returns the number of columns in this ResultSet.
Returns
-
the column count
Throws
- SQLException
if a database access error occurs.
Syntax
- boolean isAutoIncrement
(
- long column )
- raises ( com::sun::star::sdbc::SQLException );
Description
indicates whether the column is automatically numbered, thus read-only.
Parameter column
-
the first column is 1, the second is 2,
Returns
-
true
if so
Throws
- SQLException
if a database access error occurs.
Syntax
- boolean isCaseSensitive
(
- long column )
- raises ( com::sun::star::sdbc::SQLException );
Description
indicates whether a column's case matters.
Parameter column
-
the first column is 1, the second is 2,
Returns
-
true
if so
Throws
- SQLException
if a database access error occurs.
Syntax
- boolean isSearchable
(
- long column )
- raises ( com::sun::star::sdbc::SQLException );
Description
indicates whether the column can be used in a where clause.
Parameter column
-
the first column is 1, the second is 2,
Returns
-
true
if so
Throws
- SQLException
if a database access error occurs.
Syntax
- boolean isCurrency
(
- long column )
- raises ( com::sun::star::sdbc::SQLException );
Description
indicates whether the column is a cash value.
Parameter column
-
the first column is 1, the second is 2,
Returns
-
true
if so
Throws
- SQLException
if a database access error occurs.
Syntax
- long isNullable
(
- long column )
- raises ( com::sun::star::sdbc::SQLException );
Description
indicates the nullability of values in the designated column.
See also
- ColumnValue
-
Parameter column
-
the first column is 1, the second is 2,
Returns
-
true
if so
Throws
- SQLException
if a database access error occurs.
Syntax
- boolean isSigned
(
- long column )
- raises ( com::sun::star::sdbc::SQLException );
Description
indicates whether values in the column are signed numbers.
Parameter column
-
the first column is 1, the second is 2,
Returns
-
true
if so
Throws
- SQLException
if a database access error occurs.
Syntax
- long getColumnDisplaySize
(
- long column )
- raises ( com::sun::star::sdbc::SQLException );
Description
indicates the column's normal max width in chars.
Parameter column
-
the first column is 1, the second is 2,
Returns
-
the normal maximum number of characters allowed as the width of the designated column
Throws
- SQLException
if a database access error occurs.
Syntax
- string getColumnLabel
(
- long column )
- raises ( com::sun::star::sdbc::SQLException );
Description
gets the suggested column title for use in printouts and
displays.
Parameter column
-
the first column is 1, the second is 2,
Returns
-
the suggested column title
Throws
- SQLException
if a database access error occurs.
Syntax
- string getColumnName
(
- long column )
- raises ( com::sun::star::sdbc::SQLException );
Description
gets a column's name.
Parameter column
-
the first column is 1, the second is 2,
Returns
-
the column name
Throws
- SQLException
if a database access error occurs.
Syntax
- string getSchemaName
(
- long column )
- raises ( com::sun::star::sdbc::SQLException );
Description
gets a column's table's schema.
Parameter column
-
the first column is 1, the second is 2,
Returns
-
the schema name
Throws
- SQLException
if a database access error occurs.
Syntax
- long getPrecision
(
- long column )
- raises ( com::sun::star::sdbc::SQLException );
Description
gets a column's number of decimal digits.
Parameter column
-
the first column is 1, the second is 2,
Returns
-
precision
Throws
- SQLException
if a database access error occurs.
Syntax
- long getScale
(
- long column )
- raises ( com::sun::star::sdbc::SQLException );
Description
gets a column's number of digits to right of the decimal point.
Parameter column
-
the first column is 1, the second is 2,
Returns
-
scale
Throws
- SQLException
if a database access error occurs.
Syntax
- string getTableName
(
- long column )
- raises ( com::sun::star::sdbc::SQLException );
Description
gets a column's table name.
Parameter column
-
the first column is 1, the second is 2,
Returns
-
the table name
Throws
- SQLException
if a database access error occurs.
Syntax
- string getCatalogName
(
- long column )
- raises ( com::sun::star::sdbc::SQLException );
Description
gets a column's table's catalog name.
Parameter column
-
the first column is 1, the second is 2,
Returns
-
the catalog name
Throws
- SQLException
if a database access error occurs.
Syntax
- long getColumnType
(
- long column )
- raises ( com::sun::star::sdbc::SQLException );
Description
retrieves a column's SQL type.
Parameter column
-
the first column is 1, the second is 2,
Returns
-
the column type
Throws
- SQLException
if a database access error occurs.
Syntax
- string getColumnTypeName
(
- long column )
- raises ( com::sun::star::sdbc::SQLException );
Description
retrieves a column's database-specific type name.
Parameter column
-
the first column is 1, the second is 2,
Returns
-
the type name
Throws
- SQLException
if a database access error occurs.
Syntax
- boolean isReadOnly
(
- long column )
- raises ( com::sun::star::sdbc::SQLException );
Description
indicates whether a column is definitely not writable.
Parameter column
-
the first column is 1, the second is 2,
Returns
-
true
if so
Throws
- SQLException
if a database access error occurs.
Syntax
- boolean isWritable
(
- long column )
- raises ( com::sun::star::sdbc::SQLException );
Description
indicates whether it is possible for a write on the column to succeed.
Parameter column
-
the first column is 1, the second is 2,
Returns
-
true
if so
Throws
- SQLException
if a database access error occurs.
Syntax
- boolean isDefinitelyWritable
(
- long column )
- raises ( com::sun::star::sdbc::SQLException );
Description
indicates whether a write on the column will definitely succeed.
Parameter column
-
the first column is 1, the second is 2,
Returns
-
true
if so
Throws
- SQLException
if a database access error occurs.
Syntax
- string getColumnServiceName
(
- long column )
- raises ( com::sun::star::sdbc::SQLException );
Description
returns the fully-qualified name of the service whose instances
are manufactured if the method
XResultSet::.getObject()
is called to retrieve a value from the column.
Parameter column
-
the first column is 1, the second is 2,
Returns
-
the service name
Throws
- SQLException
if a database access error occurs.
|