📄 group__g__lob.html
字号:
<td class="paramkey"></td> <td></td> <td class="paramtype">big_uint </td> <td class="paramname"> <em>len</em></td><td> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td><td width="100%"></td> </tr> </table></div><div class="memdoc"><p>Erase a portion of the lob at a given position. <p><dl compact><dt><b>Parameters:</b></dt><dd> <table border="0" cellspacing="2" cellpadding="0"> <tr><td valign="top"></td><td valign="top"><em>lob</em> </td><td>- Lob handle </td></tr> <tr><td valign="top"></td><td valign="top"><em>offset</em> </td><td>- Absolute position in source lob </td></tr> <tr><td valign="top"></td><td valign="top"><em>len</em> </td><td>- Number of bytes or characters to erase</td></tr> </table></dl><dl class="note" compact><dt><b>Note:</b></dt><dd>Absolute position start at 1.</dd></dl><dl class="return" compact><dt><b>Returns:</b></dt><dd>Number of bytes (BLOB) or characters (CLOB/NCLOB) erased on success otherwise 0 on failure </dd></dl><p>Definition at line <a class="el" href="lob_8c-source.html#l00468">468</a> of file <a class="el" href="lob_8c-source.html">lob.c</a>.</p><p>References <a class="el" href="ocilib__types_8h-source.html#l00405">OCI_Lob::con</a>, <a class="el" href="ocilib__types_8h-source.html#l00237">OCI_Connection::cxt</a>, <a class="el" href="ocilib__types_8h-source.html#l00235">OCI_Connection::err</a>, and <a class="el" href="ocilib__types_8h-source.html#l00403">OCI_Lob::handle</a>.</p></div></div><p><a class="anchor" name="gac269a3de312c2c7d1a6193a9ab79545"></a><!-- doxytag: member="ocilib.h::OCI_LobFree" ref="gac269a3de312c2c7d1a6193a9ab79545" args="(OCI_Lob *lob)" --><div class="memitem"><div class="memproto"> <table class="memname"> <tr> <td class="memname">OCI_EXPORT boolean OCI_API OCI_LobFree </td> <td>(</td> <td class="paramtype"><a class="el" href="struct_o_c_i___lob.html">OCI_Lob</a> * </td> <td class="paramname"> <em>lob</em> </td> <td> ) </td> <td width="100%"></td> </tr> </table></div><div class="memdoc"><p>Free a local temporary lob. <p><dl compact><dt><b>Parameters:</b></dt><dd> <table border="0" cellspacing="2" cellpadding="0"> <tr><td valign="top"></td><td valign="top"><em>lob</em> </td><td>- Lob handle</td></tr> </table></dl><dl class="warning" compact><dt><b>Warning:</b></dt><dd>Only lobs created with <a class="el" href="group__g__lob.html#g318f1273603e24b51c3d9e4c29f42685" title="Create a local temporary Lob instance.">OCI_LobCreate()</a> should be freed by <a class="el" href="group__g__lob.html#gac269a3de312c2c7d1a6193a9ab79545" title="Free a local temporary lob.">OCI_LobFree()</a></dd></dl><dl class="return" compact><dt><b>Returns:</b></dt><dd>TRUE on success otherwise FALSE </dd></dl><p>Definition at line <a class="el" href="lob_8c-source.html#l00157">157</a> of file <a class="el" href="lob_8c-source.html">lob.c</a>.</p><p>References <a class="el" href="ocilib__types_8h-source.html#l00405">OCI_Lob::con</a>, <a class="el" href="ocilib__types_8h-source.html#l00237">OCI_Connection::cxt</a>, <a class="el" href="ocilib__types_8h-source.html#l00235">OCI_Connection::err</a>, <a class="el" href="ocilib__types_8h-source.html#l00403">OCI_Lob::handle</a>, <a class="el" href="ocilib__types_8h-source.html#l00404">OCI_Lob::hstate</a>, and <a class="el" href="group__g__lob.html#g642bbf0e0fa52f9900aa332ec2d70cdb">OCI_LobIsTemporary()</a>.</p><p>Referenced by <a class="el" href="group__g__collection.html#gdf1010d812aa53c3b27d991fa47b4f98">OCI_ElemFree()</a>, and <a class="el" href="group__g__usertypes.html#g3fd2c9dfdcab2c56400c95c31cc0851e">OCI_ObjectFree()</a>.</p></div></div><p><a class="anchor" name="g1fed642e2fdc4b72724340e27e13153e"></a><!-- doxytag: member="ocilib.h::OCI_LobGetLength" ref="g1fed642e2fdc4b72724340e27e13153e" args="(OCI_Lob *lob)" --><div class="memitem"><div class="memproto"> <table class="memname"> <tr> <td class="memname">OCI_EXPORT big_uint OCI_API OCI_LobGetLength </td> <td>(</td> <td class="paramtype"><a class="el" href="struct_o_c_i___lob.html">OCI_Lob</a> * </td> <td class="paramname"> <em>lob</em> </td> <td> ) </td> <td width="100%"></td> </tr> </table></div><div class="memdoc"><p>Return the actual lenght of a lob. <p><dl compact><dt><b>Parameters:</b></dt><dd> <table border="0" cellspacing="2" cellpadding="0"> <tr><td valign="top"></td><td valign="top"><em>lob</em> </td><td>- Lob handle</td></tr> </table></dl><dl class="note" compact><dt><b>Note:</b></dt><dd>The returned value is in bytes for BLOBS and characters for CLOBS/NCLOBs </dd></dl><p>Definition at line <a class="el" href="lob_8c-source.html#l00515">515</a> of file <a class="el" href="lob_8c-source.html">lob.c</a>.</p><p>References <a class="el" href="ocilib__types_8h-source.html#l00405">OCI_Lob::con</a>, <a class="el" href="ocilib__types_8h-source.html#l00237">OCI_Connection::cxt</a>, <a class="el" href="ocilib__types_8h-source.html#l00235">OCI_Connection::err</a>, and <a class="el" href="ocilib__types_8h-source.html#l00403">OCI_Lob::handle</a>.</p><p>Referenced by <a class="el" href="group__g__lob.html#g7bfac772587753b2cef9c5a704ae7ce9">OCI_LobAppend()</a>, <a class="el" href="group__g__lob.html#gcda64fca2ab7eb9d8a8d68190b13a285">OCI_LobAppendLob()</a>, and <a class="el" href="group__g__lob.html#g63df7f944c418642fc04571a4a522b87">OCI_LobSeek()</a>.</p></div></div><p><a class="anchor" name="gb3bc556383addcbd81f7e4158757626e"></a><!-- doxytag: member="ocilib.h::OCI_LobGetOffset" ref="gb3bc556383addcbd81f7e4158757626e" args="(OCI_Lob *lob)" --><div class="memitem"><div class="memproto"> <table class="memname"> <tr> <td class="memname">OCI_EXPORT big_uint OCI_API OCI_LobGetOffset </td> <td>(</td> <td class="paramtype"><a class="el" href="struct_o_c_i___lob.html">OCI_Lob</a> * </td> <td class="paramname"> <em>lob</em> </td> <td> ) </td> <td width="100%"></td> </tr> </table></div><div class="memdoc"><p>Return the current position in the Lob content buffer. <p><dl compact><dt><b>Parameters:</b></dt><dd> <table border="0" cellspacing="2" cellpadding="0"> <tr><td valign="top"></td><td valign="top"><em>lob</em> </td><td>- Lob handle</td></tr> </table></dl><dl class="return" compact><dt><b>Returns:</b></dt><dd>Lob position (starting with 0) or 0 on failure </dd></dl><p>Definition at line <a class="el" href="lob_8c-source.html#l00233">233</a> of file <a class="el" href="lob_8c-source.html">lob.c</a>.</p><p>References <a class="el" href="ocilib__types_8h-source.html#l00407">OCI_Lob::offset</a>.</p></div></div><p><a class="anchor" name="g08db605f9acb170ddc9b0f403f65d871"></a><!-- doxytag: member="ocilib.h::OCI_LobGetType" ref="g08db605f9acb170ddc9b0f403f65d871" args="(OCI_Lob *lob)" --><div class="memitem"><div class="memproto"> <table class="memname"> <tr> <td class="memname">OCI_EXPORT unsigned int OCI_API OCI_LobGetType </td> <td>(</td> <td class="paramtype"><a class="el" href="struct_o_c_i___lob.html">OCI_Lob</a> * </td> <td class="paramname"> <em>lob</em> </td> <td> ) </td> <td width="100%"></td> </tr> </table></div><div class="memdoc"><p>Return the type of the given Lob object. <p><dl compact><dt><b>Parameters:</b></dt><dd> <table border="0" cellspacing="2" cellpadding="0"> <tr><td valign="top"></td><td valign="top"><em>lob</em> </td><td>- Lob handle</td></tr> </table></dl><dl class="note" compact><dt><b>Note:</b></dt><dd>For possibles values, see <a class="el" href="group__g__lob.html#g318f1273603e24b51c3d9e4c29f42685" title="Create a local temporary Lob instance.">OCI_LobCreate()</a></dd></dl><dl class="return" compact><dt><b>Returns:</b></dt><dd>Object type or OCI_UNKNOWN the input handle is NULL </dd></dl><p>Definition at line <a class="el" href="lob_8c-source.html#l00191">191</a> of file <a class="el" href="lob_8c-source.html">lob.c</a>.</p><p>References <a class="el" href="ocilib__types_8h-source.html#l00406">OCI_Lob::type</a>.</p></div></div><p><a class="anchor" name="g2440e9d98b1a647c6f681d30dcf9cb59"></a><!-- doxytag: member="ocilib.h::OCI_LobIsEqual" ref="g2440e9d98b1a647c6f681d30dcf9cb59" args="(OCI_Lob *lob, OCI_Lob *lob2)" --><div class="memitem"><div class="memproto"> <table class="memname"> <tr> <td class="memname">OCI_EXPORT boolean OCI_API OCI_LobIsEqual </td> <td>(</td> <td class="paramtype"><a class="el" href="struct_o_c_i___lob.html">OCI_Lob</a> * </td> <td class="paramname"> <em>lob</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype"><a class="el" href="struct_o_c_i___lob.html">OCI_Lob</a> * </td> <td class="paramname"> <em>lob2</em></td><td> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td><td width="100%"></td> </tr> </table></div><div class="memdoc"><p>Compare two lob handles for equality. <p><dl compact><dt><b>Parameters:</b></dt><dd> <table border="0" cellspacing="2" cellpadding="0"> <tr><td valign="top"></td><td valign="top"><em>lob</em> </td><td>- Lob handle </td></tr> <tr><td valign="top"></td><td valign="top"><em>lob2</em> </td><td>- Lob2 handle</td></tr> </table></dl><dl class="note" compact><dt><b>Note:</b></dt><dd></dd></dl><dl class="return" compact><dt><b>Returns:</b></dt><dd>TRUE is the lobs are not null and equal otherwise FALSE </dd></dl><p>Definition at line <a class="el" href="lob_8c-source.html#l00862">862</a> of file <a class="el" href="lob_8c-source.html">lob.c</a>.</p><p>References <a class="el" href="ocilib__types_8h-source.html#l00405">OCI_Lob::con</a>, and <a class="el" href="ocilib__types_8h-source.html#l00403">OCI_Lob::handle</a>.</p></div></div><p><a class="anchor" name="g642bbf0e0fa52f9900aa332ec2d70cdb"></a><!-- doxytag: member="ocilib.h::OCI_LobIsTemporary" ref="g642bbf0e0fa52f9900aa332ec2d70cdb" args="(OCI_Lob *lob)" --><div class="memitem"><div class="memproto"> <table class="memname"> <tr> <td class="memname">OCI_EXPORT boolean OCI_API OCI_LobIsTemporary </td> <td>(</td> <td class="paramtype"><a class="el" href="struct_o_c_i___lob.html">OCI_Lob</a> * </td> <td class="paramname"> <em>lob</em> </td> <td> ) </td> <td width="100%"></td> </tr> </table></div><div class="memdoc"><p>Check if the given lob is a temporary lob. <p><dl compact><dt><b>Parameters:</b></dt><dd> <table border="0" cellspacing="2" cellpadding="0"> <tr><td valign="top"></td><td valign="top"><em>lob</em> </td><td>- Lob handle</td></tr> </table></dl><dl class="return" compact><dt><b>Returns:</b></dt><dd>TRUE if it's a temporary lob otherwise FALSE </dd></dl><p>Definition at line <a class="el" href="lob_8c-source.html#l00795">795</a> of file <a class="el" href="lob_8c-source.html">lob.c</a>.</p><p>References <a class="el" href="ocilib__types_8h-source.html#l00405">OCI_Lob::con</a>, <a class="el" href="ocilib__types_8h-source.html#l00235">OCI_Connection::err</a>, and <a class="el" href="ocilib__types_8h-source.html#l00403">OCI_Lob::handle</a>.</p><p>Referenced by <a class="el" href="group__g__lob.html#gac269a3de312c2c7d1a6193a9ab79545">OCI_LobFree()</a>.</p></div></div><p><a class="anchor" name="g191f3b34b55bac65e994f18118080a08"></a><!-- doxytag: member="ocilib.h::OCI_LobOpen" ref="g191f3b34b55bac65e994f18118080a08" args="(OCI_Lob *lob, unsigned int mode)" --><div class="memitem"><div class="memproto"> <table class="memname"> <tr> <td class="memname">OCI_EXPORT boolean OCI_API OCI_LobOpen </td> <td>(</td> <td class="paramtype"><a class="el" href="struct_o_c_i___lob.html">OCI_Lob</a> * </td> <td class="paramname"> <em>lob</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -