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

📄 db2featurestore.html

📁 Geotools是一个开源的Java GIS工具包,可利用它来开发符合标准的地理信息系统。Geotools提供了OGC(Open Geospatial Consortium)规范的一个实现来作为他们的
💻 HTML
📖 第 1 页 / 共 2 页
字号:
&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#getBounds()">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_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#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="DB2FeatureStore(org.geotools.data.db2.DB2DataStore, org.geotools.feature.FeatureType)"><!-- --></A><H3>DB2FeatureStore</H3><PRE>public <B>DB2FeatureStore</B>(<A HREF="../../../../org/geotools/data/db2/DB2DataStore.html" title="class in org.geotools.data.db2">DB2DataStore</A>&nbsp;dataStore,                       <A HREF="../../../../org/geotools/feature/FeatureType.html" title="interface in org.geotools.feature">FeatureType</A>&nbsp;featureType)</PRE><DL><DD>Basic constructor for DB2FeatureStore<P><DT><B>Parameters:</B><DD><CODE>dataStore</CODE> - <DD><CODE>featureType</CODE> - </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="getBounds(org.geotools.data.Query)"><!-- --></A><H3>getBounds</H3><PRE>public <A HREF="http://www.jump-project.org/docs/jts/1.7/api/com/vividsolutions/jts/geom/Envelope.html" title="class or interface in com.vividsolutions.jts.geom">Envelope</A> <B>getBounds</B>(<A HREF="../../../../org/geotools/data/Query.html" title="interface in org.geotools.data">Query</A>&nbsp;query)                   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><DL><DD>Gets the bounds of the feature using the specified query.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/geotools/data/FeatureSource.html#getBounds(org.geotools.data.Query)">getBounds</A></CODE> in interface <CODE><A HREF="../../../../org/geotools/data/FeatureSource.html" title="interface in org.geotools.data">FeatureSource</A></CODE><DT><B>Overrides:</B><DD><CODE><A HREF="../../../../org/geotools/data/jdbc/JDBCFeatureSource.html#getBounds(org.geotools.data.Query)">getBounds</A></CODE> in class <CODE><A HREF="../../../../org/geotools/data/jdbc/JDBCFeatureSource.html" title="class in org.geotools.data.jdbc">JDBCFeatureSource</A></CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>query</CODE> - a query object.<DT><B>Returns:</B><DD>the envelope representing the bounds of the features.<DT><B>Throws:</B><DD><CODE><A HREF="http://java.sun.com/j2se/1.4/docs/api/java/io/IOException.html" title="class or interface in java.io">IOException</A></CODE> - if there was an encoder problem.<DD><CODE><A HREF="../../../../org/geotools/data/DataSourceException.html" title="class in org.geotools.data">DataSourceException</A></CODE> - if there was an error executing the query to         get the bounds.</DL></DD></DL><HR><A NAME="closeAll(java.sql.ResultSet, java.sql.Statement, java.sql.Connection, org.geotools.data.Transaction, java.sql.SQLException)"><!-- --></A><H3>closeAll</H3><PRE>protected void <B>closeAll</B>(<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/sql/ResultSet.html" title="class or interface in java.sql">ResultSet</A>&nbsp;rs,                        <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/sql/Statement.html" title="class or interface in java.sql">Statement</A>&nbsp;stmt,                        <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/sql/Connection.html" title="class or interface in java.sql">Connection</A>&nbsp;conn,                        <A HREF="../../../../org/geotools/data/Transaction.html" title="interface in org.geotools.data">Transaction</A>&nbsp;transaction,                        <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/sql/SQLException.html" title="class or interface in java.sql">SQLException</A>&nbsp;e)</PRE><DL><DD>Closes everything associated with a query, the ResultSet, Statement and Connection.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>rs</CODE> - the ResultSet<DD><CODE>stmt</CODE> - the Statement<DD><CODE>conn</CODE> - the Connection<DD><CODE>transaction</CODE> - the Transaction<DD><CODE>e</CODE> - the SQLException, if any, or null</DL></DD></DL><HR><A NAME="count(org.geotools.data.Query, org.geotools.data.Transaction)"><!-- --></A><H3>count</H3><PRE>public int <B>count</B>(<A HREF="../../../../org/geotools/data/Query.html" title="interface in org.geotools.data">Query</A>&nbsp;query,                 <A HREF="../../../../org/geotools/data/Transaction.html" title="interface in org.geotools.data">Transaction</A>&nbsp;transaction)          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><DL><DD>Direct SQL query number of rows in query.  <p> Note this is a low level SQL statement and if it fails the provided Transaction will be rolled back. </p> <p> SQL: SELECT COUNT(*) as cnt FROM table WHERE filter </p><P><DD><DL><DT><B>Overrides:</B><DD><CODE><A HREF="../../../../org/geotools/data/jdbc/JDBCFeatureSource.html#count(org.geotools.data.Query, org.geotools.data.Transaction)">count</A></CODE> in class <CODE><A HREF="../../../../org/geotools/data/jdbc/JDBCFeatureSource.html" title="class in org.geotools.data.jdbc">JDBCFeatureSource</A></CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>query</CODE> - <DD><CODE>transaction</CODE> - <DT><B>Returns:</B><DD>Number of rows in query, or -1 if not optimizable.<DT><B>Throws:</B><DD><CODE><A HREF="http://java.sun.com/j2se/1.4/docs/api/java/io/IOException.html" title="class or interface in java.io">IOException</A></CODE> - Usual on the basis of a filter error</DL></DD></DL><!-- ========= END OF CLASS DATA ========= --><HR><!-- ======= START OF BOTTOM NAVBAR ====== --><A NAME="navbar_bottom"><!-- --></A><A HREF="#skip-navbar_bottom" title="Skip navigation links"></A><TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""><TR><TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"><A NAME="navbar_bottom_firstrow"><!-- --></A><TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">  <TR ALIGN="center" VALIGN="top">  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="class-use/DB2FeatureStore.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>  </TR></TABLE></TD><TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM></EM></TD></TR><TR><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">&nbsp;<A HREF="../../../../org/geotools/data/db2/DB2FeatureSource.html" title="class in org.geotools.data.db2"><B>PREV CLASS</B></A>&nbsp;&nbsp;<A HREF="../../../../org/geotools/data/db2/DB2FeatureTypeHandler.html" title="class in org.geotools.data.db2"><B>NEXT CLASS</B></A></FONT></TD><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">  <A HREF="../../../../index.html" target="_top"><B>FRAMES</B></A>  &nbsp;&nbsp;<A HREF="DB2FeatureStore.html" target="_top"><B>NO FRAMES</B></A>  &nbsp;&nbsp;<SCRIPT type="text/javascript">  <!--  if(window==top) {    document.writeln('<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>');  }  //--></SCRIPT><NOSCRIPT>  <A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A></NOSCRIPT></FONT></TD></TR><TR><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">  SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;<A HREF="#fields_inherited_from_class_JDBCFeatureStore">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">DETAIL:&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD></TR></TABLE><A NAME="skip-navbar_bottom"></A><!-- ======== END OF BOTTOM NAVBAR ======= --><HR>Copyright &copy; 1996-2007 <a href="http://www.geotools.org">Geotools</a>. All Rights Reserved.</BODY></HTML>

⌨️ 快捷键说明

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