module com { module sun { module star { module sdbc {
/** can be used to find out about the types and properties ofthecolumnsinaResultSet.
*/
published interface XResultSetMetaData: com::sun::star::uno::XInterface
{
/** returns the number of columns in this ResultSet. @returns thecolumncount @throwsSQLException ifadatabaseaccesserroroccurs.
*/ long getColumnCount() raises (SQLException);
/** indicates whether a column's case matters. @paramcolumn thefirstcolumnis1,thesecondis2, @returns `TRUE`ifso @throwsSQLException ifadatabaseaccesserroroccurs.
*/
boolean isCaseSensitive([in]long column) raises (SQLException);
/** indicates whether the column can be used in a where clause. @paramcolumn thefirstcolumnis1,thesecondis2, @returns `TRUE`ifso @throwsSQLException ifadatabaseaccesserroroccurs.
*/
boolean isSearchable([in]long column) raises (SQLException);
/** indicates whether the column is a cash value. @paramcolumn thefirstcolumnis1,thesecondis2, @returns `TRUE`ifso @throwsSQLException ifadatabaseaccesserroroccurs.
*/
boolean isCurrency([in]long column) raises (SQLException);
/** indicates the nullability of values in the designated column.@see com::sun::star::sdbc::ColumnValue @paramcolumn thefirstcolumnis1,thesecondis2, @returns `TRUE`ifso @throwsSQLException ifadatabaseaccesserroroccurs.
*/ long isNullable([in]long column) raises (SQLException);
/** indicates whether values in the column are signed numbers. @paramcolumn thefirstcolumnis1,thesecondis2, @returns `TRUE`ifso @throwsSQLException ifadatabaseaccesserroroccurs.
*/
boolean isSigned([in]long column) raises (SQLException);
/** indicates the column's normal max width in chars. @paramcolumn thefirstcolumnis1,thesecondis2, @returns thenormalmaximumnumberofcharactersallowedasthewidthofthedesignatedcolumn @throwsSQLException ifadatabaseaccesserroroccurs.
*/ long getColumnDisplaySize([in]long column) raises (SQLException);
/** gets the suggested column title for use in printouts and displays. @paramcolumn thefirstcolumnis1,thesecondis2, @returns thesuggestedcolumntitle @throwsSQLException ifadatabaseaccesserroroccurs.
*/
string getColumnLabel([in]long column) raises (SQLException);
/** gets a column's number of decimal digits. @paramcolumn thefirstcolumnis1,thesecondis2, @returns precision @throwsSQLException ifadatabaseaccesserroroccurs.
*/ long getPrecision([in]long column) raises (SQLException);
/** gets a column's number of digits to right of the decimal point. @paramcolumn thefirstcolumnis1,thesecondis2, @returns scale @throwsSQLException ifadatabaseaccesserroroccurs.
*/ long getScale([in]long column) raises (SQLException);
/** retrieves a column's SQL type. @paramcolumn thefirstcolumnis1,thesecondis2, @returns thecolumntype @throwsSQLException ifadatabaseaccesserroroccurs.
*/ long getColumnType([in]long column) raises (SQLException);
/** retrieves a column's database-specific type name. @paramcolumn thefirstcolumnis1,thesecondis2, @returns thetypename @throwsSQLException ifadatabaseaccesserroroccurs.
*/
string getColumnTypeName([in]long column) raises (SQLException);
/** indicates whether a column is definitely not writable. @paramcolumn thefirstcolumnis1,thesecondis2, @returns `TRUE`ifso @throwsSQLException ifadatabaseaccesserroroccurs.
*/
boolean isReadOnly([in]long column) raises (SQLException);
/** indicates whether it is possible for a write on the column to succeed. @paramcolumn thefirstcolumnis1,thesecondis2, @returns `TRUE`ifso @throwsSQLException ifadatabaseaccesserroroccurs.
*/
boolean isWritable([in]long column) raises (SQLException);
/** indicates whether a write on the column will definitely succeed. @paramcolumn thefirstcolumnis1,thesecondis2, @returns `TRUE`ifso @throwsSQLException ifadatabaseaccesserroroccurs.
*/
boolean isDefinitelyWritable([in]long column) raises (SQLException);
/** returns the fully-qualified name of the service whose instances aremanufacturedifthemethod com::sun::star::sdbc::XResultSet::.getObject() iscalledtoretrieveavaluefromthecolumn. @paramcolumn thefirstcolumnis1,thesecondis2, @returns theservicename @throwsSQLException ifadatabaseaccesserroroccurs.
*/
string getColumnServiceName([in]long column) raises (SQLException);
};
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.