:: com :: sun :: star :: sdbc ::
|
interface XStruct |
|
- Description
- is used for the standard mapping for a SQL structured type.
A
Struct
object contains a value for each attribute
of the SQL structured type that it represents.
By default, an instance of
Struct
is valid as long as the
application has a reference to it.
|
Methods' Summary |
getSQLTypeName |
retrieves the SQL type name of the SQL structured type
that this
Struct
object represents.
|
getAttributes |
produces the ordered values of the attributes of the SQL
structured type that this
Struct
object represents.
|
Methods' Details |
getSQLTypeName
- Description
- retrieves the SQL type name of the SQL structured type
that this
Struct
object represents.
- Returns
- the name of the SQL type.
- Throws
- SQLException
if a database access error occurs.
|
|
getAttributes
- Description
- produces the ordered values of the attributes of the SQL
structured type that this
Struct
object represents.
This method uses the given type map for customizations of the type
mappings. If there is no entry in the given type map that matches or
the given type map is
NULL
, the structured type that this
Struct
object represents, the driver uses
the connection type mapping.
- Parameter typeMap
- is a map object that contains mappings of SQL type names to
services. If the
typeMap is
NULL
, the type-map
associated with the connection for customizations of the type-mappings
is used.
- Returns
- an array containing the ordered attribute values.
- Throws
- SQLException
if a database access error occurs.
|
|
Top of Page
Copyright © 2000, 2012 LibreOffice contributors and/or their affiliates. All rights reserved.
LibreOffice was created by The Document Foundation, based on OpenOffice.org, which is Copyright 2000, 2010 Oracle and/or its affiliates.
The Document Foundation acknowledges all community members, please find more info at our website.
Privacy Policy | Impressum (Legal Info) | Copyright information: The source code of LibreOffice is licensed under the GNU Lesser General Public License (LGPLv3). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.