📄 oracle.sql.raw.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.RAW</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.OracleSQLOutput.html#_top_">Previous</a> <a href="oracle.sql.REF.html#_top_">Next</a> <a href="AllNames.html">Index</a></pre><hr><h1> Class oracle.sql.RAW</h1><pre>oracle.sql.RAW</pre><hr><dl> <dt> public class <b>RAW</b></dl>The RAW class is a representation of the Oracle RAW datatype.It is intended to be immutable. The user should not try to changeits contents once it is constructed.<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="#RAW(byte[])"><b>RAW</b></a>(byte[]) <dd> Construct a RAW from a byte array. <dt> <img src="images/yellow-ball-small.gif" width=6 height=6 alt=" o "> <a href="#RAW(java.lang.Object)"><b>RAW</b></a>(Object) <dd> Construct a RAW from a Java object.</dl><h2> <img src="images/method-index.gif" width=207 height=38 alt="Method Index"></h2><dl> <dt> <img src="images/red-ball-small.gif" width=6 height=6 alt=" o "> <a href="#isConvertibleTo(java.lang.Class)"><b>isConvertibleTo</b></a>(Class) <dd> Test whether this data object can be converted to the specifiedJava data type. <dt> <img src="images/red-ball-small.gif" width=6 height=6 alt=" o "> <a href="#stringValue()"><b>stringValue</b></a>() <dd> Convert this data object into a String. <dt> <img src="images/red-ball-small.gif" width=6 height=6 alt=" o "> <a href="#toJdbc()"><b>toJdbc</b></a>() <dd> Convert this data object into its default Java object type.</dl><a name="constructors"></a><h2> <img src="images/constructors.gif" width=231 height=38 alt="Constructors"></h2><a name="RAW"></a><a name="RAW(byte[])"><img src="images/yellow-ball.gif" width=12 height=12 alt=" o "></a><b>RAW</b><pre> public RAW(byte raw_bytes[])</pre><dl> <dd> Construct a RAW from a byte array.<p> <dd><dl> <dt> <b>Parameters:</b> <dd> raw_bytesinput - data from which this class instance isconstructed. </dl></dd></dl><a name="RAW(java.lang.Object)"><img src="images/yellow-ball.gif" width=12 height=12 alt=" o "></a><b>RAW</b><pre> public RAW(Object val) throws SQLException</pre><dl> <dd> Construct a RAW from a Java object. The possible object types arejava.lang.String and byte[].<p> <dd><dl> <dt> <b>Parameters:</b> <dd> raw_bytesinput - data from which this class instance isconstructed. </dl></dd></dl><a name="methods"></a><h2> <img src="images/methods.gif" width=151 height=38 alt="Methods"></h2><a name="toJdbc()"><img src="images/red-ball.gif" width=12 height=12 alt=" o "></a><a name="toJdbc"><b>toJdbc</b></a><pre> public Object toJdbc() throws SQLException</pre><dl> <dd> Convert this data object into its default Java object type.<p> <dd><dl> <dt> <b>Returns:</b> <dd> the data value as a byte array. <dt> <b>Throws:</b> SQLException <dd> if any of the lower layer code throws an exception. </dl></dd></dl><a name="isConvertibleTo(java.lang.Class)"><img src="images/red-ball.gif" width=12 height=12 alt=" o "></a><a name="isConvertibleTo"><b>isConvertibleTo</b></a><pre> public boolean isConvertibleTo(Class jClass)</pre><dl> <dd> Test whether this data object can be converted to the specifiedJava data type.<p> <dd><dl> <dt> <b>Parameters:</b> <dd> jClassspecifies - the Java data type to test against. <dt> <b>Returns:</b> <dd> true if this data object is convertible to thespecified Java class, and a corresponding xxxValue()method is available; otherwise, a false is returned. </dl></dd></dl><a name="stringValue()"><img src="images/red-ball.gif" width=12 height=12 alt=" o "></a><a name="stringValue"><b>stringValue</b></a><pre> public String stringValue()</pre><dl> <dd> Convert this data object into a String.<p> <dd><dl> <dt> <b>Returns:</b> <dd> the data value in String representation. </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.OracleSQLOutput.html#_top_">Previous</a> <a href="oracle.sql.REF.html#_top_">Next</a> <a href="AllNames.html">Index</a></pre></body></html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -