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

📄 jdbcfeaturelocking.html

📁 Geotools是一个开源的Java GIS工具包,可利用它来开发符合标准的地理信息系统。Geotools提供了OGC(Open Geospatial Consortium)规范的一个实现来作为他们的
💻 HTML
📖 第 1 页 / 共 3 页
字号:
<B>Constructor Summary</B></FONT></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><B><A HREF="../../../../org/geotools/data/jdbc/JDBCFeatureLocking.html#JDBCFeatureLocking(org.geotools.data.jdbc.JDBC1DataStore, org.geotools.feature.FeatureType)">JDBCFeatureLocking</A></B>(<A HREF="../../../../org/geotools/data/jdbc/JDBC1DataStore.html" title="class in org.geotools.data.jdbc">JDBC1DataStore</A>&nbsp;jdbcDataStore,                   <A HREF="../../../../org/geotools/feature/FeatureType.html" title="interface in org.geotools.feature">FeatureType</A>&nbsp;featureType)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD></TR></TABLE>&nbsp;<!-- ========== METHOD SUMMARY =========== --><A NAME="method_summary"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TD COLSPAN=2><FONT SIZE="+2"><B>Method Summary</B></FONT></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;int</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/geotools/data/jdbc/JDBCFeatureLocking.html#lockFeatures()">lockFeatures</A></B>()</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Lock all Features</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;int</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/geotools/data/jdbc/JDBCFeatureLocking.html#lockFeatures(org.geotools.filter.Filter)">lockFeatures</A></B>(<A HREF="../../../../org/geotools/filter/Filter.html" title="interface in org.geotools.filter">Filter</A>&nbsp;filter)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Lock features matching <code>filter</code>.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;int</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/geotools/data/jdbc/JDBCFeatureLocking.html#lockFeatures(org.geotools.data.Query)">lockFeatures</A></B>(<A HREF="../../../../org/geotools/data/Query.html" title="interface in org.geotools.data">Query</A>&nbsp;query)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Lock features matching Query.  </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/geotools/data/jdbc/JDBCFeatureLocking.html#setFeatureLock(org.geotools.data.FeatureLock)">setFeatureLock</A></B>(<A HREF="../../../../org/geotools/data/FeatureLock.html" title="interface in org.geotools.data">FeatureLock</A>&nbsp;lock)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Provide a FeatureLock for locking opperations to opperate against.  </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/geotools/data/jdbc/JDBCFeatureLocking.html#unLockFeatures()">unLockFeatures</A></B>()</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Unlock all Features.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/geotools/data/jdbc/JDBCFeatureLocking.html#unLockFeatures(org.geotools.filter.Filter)">unLockFeatures</A></B>(<A HREF="../../../../org/geotools/filter/Filter.html" title="interface in org.geotools.filter">Filter</A>&nbsp;filter)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Unlock Features specified by <code>filter</code>.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/geotools/data/jdbc/JDBCFeatureLocking.html#unLockFeatures(org.geotools.data.Query)">unLockFeatures</A></B>(<A HREF="../../../../org/geotools/data/Query.html" title="interface in org.geotools.data">Query</A>&nbsp;query)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Unlock features specified by the <code>query</code>.  </TD></TR></TABLE>&nbsp;<A NAME="methods_inherited_from_class_JDBCFeatureStore"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"><TD><B>Methods inherited from class <A HREF="../../../../org/geotools/data/jdbc/JDBCFeatureStore.html" title="class in org.geotools.data.jdbc">JDBCFeatureStore</A></B></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><A HREF="../../../../org/geotools/data/jdbc/JDBCFeatureStore.html#addFeatures(org.geotools.feature.FeatureCollection)">addFeatures</A>, <A HREF="../../../../org/geotools/data/jdbc/JDBCFeatureStore.html#addFeatures(org.geotools.data.FeatureReader)">addFeatures</A>, <A HREF="../../../../org/geotools/data/jdbc/JDBCFeatureStore.html#assertFids(java.util.Set)">assertFids</A>, <A HREF="../../../../org/geotools/data/jdbc/JDBCFeatureStore.html#assertFilter(org.geotools.filter.Filter)">assertFilter</A>, <A HREF="../../../../org/geotools/data/jdbc/JDBCFeatureStore.html#fids(org.geotools.filter.Filter)">fids</A>, <A HREF="../../../../org/geotools/data/jdbc/JDBCFeatureStore.html#getInProcessLockingManager()">getInProcessLockingManager</A>, <A HREF="../../../../org/geotools/data/jdbc/JDBCFeatureStore.html#getTransaction()">getTransaction</A>, <A HREF="../../../../org/geotools/data/jdbc/JDBCFeatureStore.html#modifyFeatures(org.geotools.feature.AttributeType[], java.lang.Object[], org.geotools.data.FeatureWriter)">modifyFeatures</A>, <A HREF="../../../../org/geotools/data/jdbc/JDBCFeatureStore.html#modifyFeatures(org.geotools.feature.AttributeType[], java.lang.Object[], org.geotools.filter.Filter)">modifyFeatures</A>, <A HREF="../../../../org/geotools/data/jdbc/JDBCFeatureStore.html#modifyFeatures(org.geotools.feature.AttributeType, java.lang.Object, org.geotools.filter.Filter)">modifyFeatures</A>, <A HREF="../../../../org/geotools/data/jdbc/JDBCFeatureStore.html#removeFeatures(org.geotools.filter.Filter)">removeFeatures</A>, <A HREF="../../../../org/geotools/data/jdbc/JDBCFeatureStore.html#setFeatures(org.geotools.data.FeatureReader)">setFeatures</A>, <A HREF="../../../../org/geotools/data/jdbc/JDBCFeatureStore.html#setTransaction(org.geotools.data.Transaction)">setTransaction</A></CODE></TD></TR></TABLE>&nbsp;<A NAME="methods_inherited_from_class_JDBCFeatureSource"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"><TD><B>Methods inherited from class <A HREF="../../../../org/geotools/data/jdbc/JDBCFeatureSource.html" title="class in org.geotools.data.jdbc">JDBCFeatureSource</A></B></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><A HREF="../../../../org/geotools/data/jdbc/JDBCFeatureSource.html#addFeatureListener(org.geotools.data.FeatureListener)">addFeatureListener</A>, <A HREF="../../../../org/geotools/data/jdbc/JDBCFeatureSource.html#close(java.sql.Connection, org.geotools.data.Transaction, java.sql.SQLException)">close</A>, <A HREF="../../../../org/geotools/data/jdbc/JDBCFeatureSource.html#close(java.sql.ResultSet)">close</A>, <A HREF="../../../../org/geotools/data/jdbc/JDBCFeatureSource.html#close(java.sql.Statement)">close</A>, <A HREF="../../../../org/geotools/data/jdbc/JDBCFeatureSource.html#count(org.geotools.data.Query, org.geotools.data.Transaction)">count</A>, <A HREF="../../../../org/geotools/data/jdbc/JDBCFeatureSource.html#getBounds()">getBounds</A>, <A HREF="../../../../org/geotools/data/jdbc/JDBCFeatureSource.html#getBounds(org.geotools.data.Query)">getBounds</A>, <A HREF="../../../../org/geotools/data/jdbc/JDBCFeatureSource.html#getConnection()">getConnection</A>, <A HREF="../../../../org/geotools/data/jdbc/JDBCFeatureSource.html#getCount(org.geotools.data.Query)">getCount</A>, <A HREF="../../../../org/geotools/data/jdbc/JDBCFeatureSource.html#getDataStore()">getDataStore</A>, <A HREF="../../../../org/geotools/data/jdbc/JDBCFeatureSource.html#getFeatures()">getFeatures</A>, <A HREF="../../../../org/geotools/data/jdbc/JDBCFeatureSource.html#getFeatures(org.geotools.filter.Filter)">getFeatures</A>, <A HREF="../../../../org/geotools/data/jdbc/JDBCFeatureSource.html#getFeatures(org.geotools.data.Query)">getFeatures</A>, <A HREF="../../../../org/geotools/data/jdbc/JDBCFeatureSource.html#getJDBCDataStore()">getJDBCDataStore</A>, <A HREF="../../../../org/geotools/data/jdbc/JDBCFeatureSource.html#getSchema()">getSchema</A>, <A HREF="../../../../org/geotools/data/jdbc/JDBCFeatureSource.html#removeFeatureListener(org.geotools.data.FeatureListener)">removeFeatureListener</A></CODE></TD></TR></TABLE>&nbsp;<A NAME="methods_inherited_from_class_Object"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"><TD><B>Methods inherited from class <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html" title="class or interface in java.lang">Object</A></B></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html#clone()" title="class or interface in java.lang">clone</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html#equals(java.lang.Object)" title="class or interface in java.lang">equals</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html#finalize()" title="class or interface in java.lang">finalize</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html#getClass()" title="class or interface in java.lang">getClass</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html#hashCode()" title="class or interface in java.lang">hashCode</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html#notify()" title="class or interface in java.lang">notify</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html#notifyAll()" title="class or interface in java.lang">notifyAll</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html#toString()" title="class or interface in java.lang">toString</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html#wait()" title="class or interface in java.lang">wait</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html#wait(long)" title="class or interface in java.lang">wait</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html#wait(long, int)" title="class or interface in java.lang">wait</A></CODE></TD></TR></TABLE>&nbsp;<A NAME="methods_inherited_from_class_FeatureStore"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"><TD><B>Methods inherited from interface <A HREF="../../../../org/geotools/data/FeatureStore.html" title="interface in org.geotools.data">FeatureStore</A></B></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><A HREF="../../../../org/geotools/data/FeatureStore.html#addFeatures(org.geotools.feature.FeatureCollection)">addFeatures</A>, <A HREF="../../../../org/geotools/data/FeatureStore.html#addFeatures(org.geotools.data.FeatureReader)">addFeatures</A>, <A HREF="../../../../org/geotools/data/FeatureStore.html#getTransaction()">getTransaction</A>, <A HREF="../../../../org/geotools/data/FeatureStore.html#modifyFeatures(org.geotools.feature.AttributeType[], java.lang.Object[], org.geotools.filter.Filter)">modifyFeatures</A>, <A HREF="../../../../org/geotools/data/FeatureStore.html#modifyFeatures(org.geotools.feature.AttributeType, java.lang.Object, org.geotools.filter.Filter)">modifyFeatures</A>, <A HREF="../../../../org/geotools/data/FeatureStore.html#removeFeatures(org.geotools.filter.Filter)">removeFeatures</A>, <A HREF="../../../../org/geotools/data/FeatureStore.html#setFeatures(org.geotools.data.FeatureReader)">setFeatures</A>, <A HREF="../../../../org/geotools/data/FeatureStore.html#setTransaction(org.geotools.data.Transaction)">setTransaction</A></CODE></TD></TR></TABLE>&nbsp;<A NAME="methods_inherited_from_class_FeatureSource"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"><TD><B>Methods inherited from interface <A HREF="../../../../org/geotools/data/FeatureSource.html" title="interface in org.geotools.data">FeatureSource</A></B></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><A HREF="../../../../org/geotools/data/FeatureSource.html#addFeatureListener(org.geotools.data.FeatureListener)">addFeatureListener</A>, <A HREF="../../../../org/geotools/data/FeatureSource.html#getBounds()">getBounds</A>, <A HREF="../../../../org/geotools/data/FeatureSource.html#getBounds(org.geotools.data.Query)">getBounds</A>, <A HREF="../../../../org/geotools/data/FeatureSource.html#getCount(org.geotools.data.Query)">getCount</A>, <A HREF="../../../../org/geotools/data/FeatureSource.html#getDataStore()">getDataStore</A>, <A HREF="../../../../org/geotools/data/FeatureSource.html#getFeatures()">getFeatures</A>, <A HREF="../../../../org/geotools/data/FeatureSource.html#getFeatures(org.geotools.filter.Filter)">getFeatures</A>, <A HREF="../../../../org/geotools/data/FeatureSource.html#getFeatures(org.geotools.data.Query)">getFeatures</A>, <A HREF="../../../../org/geotools/data/FeatureSource.html#getSchema()">getSchema</A>, <A HREF="../../../../org/geotools/data/FeatureSource.html#removeFeatureListener(org.geotools.data.FeatureListener)">removeFeatureListener</A></CODE></TD></TR></TABLE>&nbsp;<P><!-- ============ FIELD DETAIL =========== --><!-- ========= CONSTRUCTOR DETAIL ======== --><A NAME="constructor_detail"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TD COLSPAN=1><FONT SIZE="+2"><B>Constructor Detail</B></FONT></TD></TR></TABLE><A NAME="JDBCFeatureLocking(org.geotools.data.jdbc.JDBC1DataStore, org.geotools.feature.FeatureType)"><!-- --></A><H3>JDBCFeatureLocking</H3><PRE>public <B>JDBCFeatureLocking</B>(<A HREF="../../../../org/geotools/data/jdbc/JDBC1DataStore.html" title="class in org.geotools.data.jdbc">JDBC1DataStore</A>&nbsp;jdbcDataStore,                          <A HREF="../../../../org/geotools/feature/FeatureType.html" title="interface in org.geotools.feature">FeatureType</A>&nbsp;featureType)</PRE><DL></DL><!-- ============ METHOD DETAIL ========== --><A NAME="method_detail"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TD COLSPAN=1><FONT SIZE="+2"><B>Method Detail</B></FONT></TD></TR></TABLE><A NAME="setFeatureLock(org.geotools.data.FeatureLock)"><!-- --></A><H3>setFeatureLock</H3><PRE>public void <B>setFeatureLock</B>(<A HREF="../../../../org/geotools/data/FeatureLock.html" title="interface in org.geotools.data">FeatureLock</A>&nbsp;lock)</PRE><DL><DD>Provide a FeatureLock for locking opperations to opperate against.  <p> Initial Transactional duration locks can be restored with setFeatureLock( FetaureLock.TRANSACTION ) </p><P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/geotools/data/FeatureLocking.html#setFeatureLock(org.geotools.data.FeatureLock)">setFeatureLock</A></CODE> in interface <CODE><A HREF="../../../../org/geotools/data/FeatureLocking.html" title="interface in org.geotools.data">FeatureLocking</A></CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>lock</CODE> - FeatureLock (or FeatureLock.TRANSACTION );<DT><B>Throws:</B><DD><CODE><A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/NullPointerException.html" title="class or interface in java.lang">NullPointerException</A></CODE> - DOCUMENT ME!<DT><B>See Also:</B><DD><A HREF="../../../../org/geotools/data/FeatureLocking.html#setFeatureLock(org.geotools.data.FeatureLock)"><CODE>FeatureLocking.setFeatureLock(org.geotools.data.FeatureLock)</CODE></A></DL></DD></DL><HR><A NAME="lockFeatures()"><!-- --></A><H3>lockFeatures</H3><PRE>public int <B>lockFeatures</B>()                 throws <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/io/IOException.html" title="class or interface in java.io">IOException</A></PRE>

⌨️ 快捷键说明

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