⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 oracle.sql.structdescriptor.html

📁 Oracle JDBC 的javaDoc
💻 HTML
字号:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN"><!--NewPage--><html><head><!-- Generated by javadoc on Thu Dec 02 03:30:11 PST 1999 --><title>  Class oracle.sql.StructDescriptor</title></head><body><a name="_top_"></a><pre><a href="packages.html">All Packages</a>  <a href="tree.html">Class Hierarchy</a>  <a href="Package-oracle.sql.html">This Package</a>  <a href="oracle.sql.STRUCT.html#_top_">Previous</a>  <a href="Package-oracle.sql.html">Next</a>  <a href="AllNames.html">Index</a></pre><hr><h1>  Class oracle.sql.StructDescriptor</h1><pre>java.lang.Object   |   +----oracle.sql.StructDescriptor</pre><hr><dl>  <dt> public class <b>StructDescriptor</b>  <dt> extends Object</dl>Descriptor of a SQL structured object. (That is an SQL Object type). Its main responsibility isunderstanding how to convert between various representations of such astruct.<P>There should be a method to return information about the fields (beyondtheir number.But there is no public representation for that.<p><hr><a name="index"></a><h2>  <img src="images/constructor-index.gif" width=275 height=38 alt="Constructor Index"></h2><dl>  <dt> <img src="images/yellow-ball-small.gif" width=6 height=6 alt=" o ">	<a href="#StructDescriptor(oracle.sql.SQLName, oracle.jdbc.oracore.OracleTypeADT, java.sql.Connection)"><b>StructDescriptor</b></a>(SQLName, OracleTypeADT, Connection)  <dd> (INTERNAL)Constructor.</dl><h2>  <img src="images/method-index.gif" width=207 height=38 alt="Method Index"></h2><dl>  <dt> <img src="images/green-ball-small.gif" width=6 height=6 alt=" o ">	<a href="#createDescriptor(java.lang.String, java.sql.Connection)"><b>createDescriptor</b></a>(String, Connection)  <dd> Descriptor factory.  <dt> <img src="images/red-ball-small.gif" width=6 height=6 alt=" o ">	<a href="#getLength()"><b>getLength</b></a>()  <dd> The number of fields in the Object Type.  <dt> <img src="images/red-ball-small.gif" width=6 height=6 alt=" o ">	<a href="#getMetaData()"><b>getMetaData</b></a>()  <dd> Gets the metadata regarding this type.  <dt> <img src="images/red-ball-small.gif" width=6 height=6 alt=" o ">	<a href="#getName()"><b>getName</b></a>()  <dd> Return fully qualified type name.</dl><a name="constructors"></a><h2>  <img src="images/constructors.gif" width=231 height=38 alt="Constructors"></h2><a name="StructDescriptor"></a><a name="StructDescriptor(oracle.sql.SQLName, oracle.jdbc.oracore.OracleTypeADT, java.sql.Connection)"><img src="images/yellow-ball.gif" width=12 height=12 alt=" o "></a><b>StructDescriptor</b><pre> public StructDescriptor(<a href="oracle.sql.SQLName.html#_top_">SQLName</a> name,                         OracleTypeADT type,                         Connection connection) throws SQLException</pre><dl>  <dd> (INTERNAL)Constructor. Create a brand new StructDescriptor.<p>  <dd><dl>    <dt> <b>Parameters:</b>    <dd> name - the String that names the type (fully qualified name).    <dd> OracleConnection - the connection to the data base to locate thetype.  </dl></dd></dl><a name="methods"></a><h2>  <img src="images/methods.gif" width=151 height=38 alt="Methods"></h2><a name="createDescriptor(java.lang.String, java.sql.Connection)"><img src="images/green-ball.gif" width=12 height=12 alt=" o "></a><a name="createDescriptor"><b>createDescriptor</b></a><pre> public static <a href="#_top_">StructDescriptor</a> createDescriptor(String name,                                                 Connection conn) throws SQLException</pre><dl>  <dd> Descriptor factory.Lookup the name in the database, and determine the characteristicsof this array.<p>  <dd><dl>    <dt> <b>Parameters:</b>    <dd> name - a String naming the type. (Not necessarily fully qualified)    <dd> connection - a Connection to a database  </dl></dd></dl><a name="getName()"><img src="images/red-ball.gif" width=12 height=12 alt=" o "></a><a name="getName"><b>getName</b></a><pre> public String getName() throws SQLException</pre><dl>  <dd> Return fully qualified type name.<p></dl><a name="getLength()"><img src="images/red-ball.gif" width=12 height=12 alt=" o "></a><a name="getLength"><b>getLength</b></a><pre> public int getLength() throws SQLException</pre><dl>  <dd> The number of fields in the Object Type.<p>  <dd><dl>    <dt> <b>Returns:</b>    <dd> the size.  </dl></dd></dl><a name="getMetaData()"><img src="images/red-ball.gif" width=12 height=12 alt=" o "></a><a name="getMetaData"><b>getMetaData</b></a><pre> public ResultSetMetaData getMetaData() throws SQLException</pre><dl>  <dd> Gets the metadata regarding this type. The return ResultSetMetaDatacontains the attribute name, attribute type id and attribute typeprecision information. The column index in ResultSetMetaData mapsto the position of the attribute in a Struct (with the first attributebeing at index 1).<p>  <dd><dl>    <dt> <b>Returns:</b>    <dd> a ResultSetMetaData object that contains the type info    <dt> <b>Throws:</b> if    <dd> database access error occurs  </dl></dd></dl><hr><pre><a href="packages.html">All Packages</a>  <a href="tree.html">Class Hierarchy</a>  <a href="Package-oracle.sql.html">This Package</a>  <a href="oracle.sql.STRUCT.html#_top_">Previous</a>  <a href="Package-oracle.sql.html">Next</a>  <a href="AllNames.html">Index</a></pre></body></html>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -