📄 oracle.sql.arraydescriptor.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.ArrayDescriptor</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.ARRAY.html#_top_">Previous</a> <a href="oracle.sql.BFILE.html#_top_">Next</a> <a href="AllNames.html">Index</a></pre><hr><h1> Class oracle.sql.ArrayDescriptor</h1><pre>java.lang.Object | +----oracle.sql.ArrayDescriptor</pre><hr><dl> <dt> public class <b>ArrayDescriptor</b> <dt> extends Object</dl><hr><a name="index"></a><h2> <img src="images/variable-index.gif" width=207 height=38 alt="Variable Index"></h2><dl> <dt> <img src="images/blue-ball-small.gif" width=6 height=6 alt=" o "> <a href="#TYPE_NESTED_TABLE"><b>TYPE_NESTED_TABLE</b></a> <dd> <dt> <img src="images/blue-ball-small.gif" width=6 height=6 alt=" o "> <a href="#TYPE_VARRAY"><b>TYPE_VARRAY</b></a> <dd> </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="#getArrayType()"><b>getArrayType</b></a>() <dd> Return the database type of the array. <dt> <img src="images/red-ball-small.gif" width=6 height=6 alt=" o "> <a href="#getBaseName()"><b>getBaseName</b></a>() <dd> In case the elements are named types the fully qualified nameof their type.Otherwise, return type name used by the database <dt> <img src="images/red-ball-small.gif" width=6 height=6 alt=" o "> <a href="#getBaseType()"><b>getBaseType</b></a>() <dd> Return element's type code. <dt> <img src="images/red-ball-small.gif" width=6 height=6 alt=" o "> <a href="#getMaxLength()"><b>getMaxLength</b></a>() <dd> Return the maximun number of elements this array object can hold. <dt> <img src="images/red-ball-small.gif" width=6 height=6 alt=" o "> <a href="#getName()"><b>getName</b></a>() <dd> Name supplied when ArrayDescriptor was constructed.</dl><a name="variables"></a><h2> <img src="images/variables.gif" width=153 height=38 alt="Variables"></h2><a name="TYPE_VARRAY"><img src="images/blue-ball.gif" width=12 height=12 alt=" o "></a><b>TYPE_VARRAY</b><pre> public static final int TYPE_VARRAY</pre><a name="TYPE_NESTED_TABLE"><img src="images/blue-ball.gif" width=12 height=12 alt=" o "></a><b>TYPE_NESTED_TABLE</b><pre> public static final int TYPE_NESTED_TABLE</pre><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_">ArrayDescriptor</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 <dt> <b>Throws:</b> SQLException <dd> if the name does not name an 117array type. </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> Name supplied when ArrayDescriptor was constructed.<p> <dd><dl> <dt> <b>Returns:</b> <dd> name by which the array type is known </dl></dd></dl><a name="getBaseType()"><img src="images/red-ball.gif" width=12 height=12 alt=" o "></a><a name="getBaseType"><b>getBaseType</b></a><pre> public int getBaseType() throws SQLException</pre><dl> <dd> Return element's type code.<p> <dd><dl> <dt> <b>Returns:</b> <dd> the type code of elements of the array </dl></dd></dl><a name="getBaseName()"><img src="images/red-ball.gif" width=12 height=12 alt=" o "></a><a name="getBaseName"><b>getBaseName</b></a><pre> public String getBaseName() throws SQLException</pre><dl> <dd> In case the elements are named types the fully qualified nameof their type.Otherwise, return type name used by the database<p> <dd><dl> <dt> <b>Returns:</b> <dd> the name of the base type. <dt> <b>Throws:</b> SQLException <dd> if the element's type is not named. </dl></dd></dl><a name="getArrayType()"><img src="images/red-ball.gif" width=12 height=12 alt=" o "></a><a name="getArrayType"><b>getArrayType</b></a><pre> public int getArrayType() throws SQLException</pre><dl> <dd> Return the database type of the array. The possible return valuesare ArrayDescriptor.TYPE_VARRAY and ArrayDescriptor.TYPE_NESTED_TABLE.<p> <dd><dl> <dt> <b>Returns:</b> <dd> database array type. </dl></dd></dl><a name="getMaxLength()"><img src="images/red-ball.gif" width=12 height=12 alt=" o "></a><a name="getMaxLength"><b>getMaxLength</b></a><pre> public long getMaxLength() throws SQLException</pre><dl> <dd> Return the maximun number of elements this array object can hold.<p> <dd><dl> <dt> <b>Returns:</b> <dd> the maximum array size; return 0 if no limit. </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.ARRAY.html#_top_">Previous</a> <a href="oracle.sql.BFILE.html#_top_">Next</a> <a href="AllNames.html">Index</a></pre></body></html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -