📄 jdbcfeaturesource.html
字号:
</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../../../org/geotools/data/DataStore.html" title="interface in org.geotools.data">DataStore</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/geotools/data/jdbc/JDBCFeatureSource.html#getDataStore()">getDataStore</A></B>()</CODE><BR> Retrieve DataStore for this FetureSource.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../../../org/geotools/feature/FeatureCollection.html" title="interface in org.geotools.feature">FeatureCollection</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/geotools/data/jdbc/JDBCFeatureSource.html#getFeatures()">getFeatures</A></B>()</CODE><BR> Retrieve all Features</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../../../org/geotools/feature/FeatureCollection.html" title="interface in org.geotools.feature">FeatureCollection</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/geotools/data/jdbc/JDBCFeatureSource.html#getFeatures(org.geotools.filter.Filter)">getFeatures</A></B>(<A HREF="../../../../org/geotools/filter/Filter.html" title="interface in org.geotools.filter">Filter</A> filter)</CODE><BR> Retrieve all Feature matching the Filter</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../../../org/geotools/feature/FeatureCollection.html" title="interface in org.geotools.feature">FeatureCollection</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/geotools/data/jdbc/JDBCFeatureSource.html#getFeatures(org.geotools.data.Query)">getFeatures</A></B>(<A HREF="../../../../org/geotools/data/Query.html" title="interface in org.geotools.data">Query</A> request)</CODE><BR> Provides an interface to for the Resutls of a Query. </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../../../org/geotools/data/jdbc/JDBC1DataStore.html" title="class in org.geotools.data.jdbc">JDBC1DataStore</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/geotools/data/jdbc/JDBCFeatureSource.html#getJDBCDataStore()">getJDBCDataStore</A></B>()</CODE><BR> Allows access to JDBCDataStore(). </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../../../org/geotools/feature/FeatureType.html" title="interface in org.geotools.feature">FeatureType</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/geotools/data/jdbc/JDBCFeatureSource.html#getSchema()">getSchema</A></B>()</CODE><BR> Retrieve FeatureType represented by this FeatureSource</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../../../org/geotools/data/Transaction.html" title="interface in org.geotools.data">Transaction</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/geotools/data/jdbc/JDBCFeatureSource.html#getTransaction()">getTransaction</A></B>()</CODE><BR> Retrieve the Transaction this FeatureSource is opperating against. </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/geotools/data/jdbc/JDBCFeatureSource.html#removeFeatureListener(org.geotools.data.FeatureListener)">removeFeatureListener</A></B>(<A HREF="../../../../org/geotools/data/FeatureListener.html" title="interface in org.geotools.data">FeatureListener</A> listener)</CODE><BR> Remove FeatureListener to the JDBCDataStore against this FeatureSource.</TD></TR></TABLE> <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> <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="JDBCFeatureSource(org.geotools.data.jdbc.JDBC1DataStore, org.geotools.feature.FeatureType)"><!-- --></A><H3>JDBCFeatureSource</H3><PRE>public <B>JDBCFeatureSource</B>(<A HREF="../../../../org/geotools/data/jdbc/JDBC1DataStore.html" title="class in org.geotools.data.jdbc">JDBC1DataStore</A> jdbcDataStore, <A HREF="../../../../org/geotools/feature/FeatureType.html" title="interface in org.geotools.feature">FeatureType</A> featureType)</PRE><DL><DD>JDBCFeatureSource creation. <p> Constructs a FeatureStore that opperates against the provided jdbcDataStore to serve up the contents of featureType. </p><P><DT><B>Parameters:</B><DD><CODE>jdbcDataStore</CODE> - DataStore containing contents<DD><CODE>featureType</CODE> - FeatureType being served</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="getDataStore()"><!-- --></A><H3>getDataStore</H3><PRE>public <A HREF="../../../../org/geotools/data/DataStore.html" title="interface in org.geotools.data">DataStore</A> <B>getDataStore</B>()</PRE><DL><DD>Retrieve DataStore for this FetureSource.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/geotools/data/FeatureSource.html#getDataStore()">getDataStore</A></CODE> in interface <CODE><A HREF="../../../../org/geotools/data/FeatureSource.html" title="interface in org.geotools.data">FeatureSource</A></CODE></DL></DD><DD><DL><DT><B>Returns:</B><DD>DataStore implementing this FeatureStore<DT><B>See Also:</B><DD><A HREF="../../../../org/geotools/data/FeatureSource.html#getDataStore()"><CODE>FeatureSource.getDataStore()</CODE></A></DL></DD></DL><HR><A NAME="getJDBCDataStore()"><!-- --></A><H3>getJDBCDataStore</H3><PRE>public <A HREF="../../../../org/geotools/data/jdbc/JDBC1DataStore.html" title="class in org.geotools.data.jdbc">JDBC1DataStore</A> <B>getJDBCDataStore</B>()</PRE><DL><DD>Allows access to JDBCDataStore(). Description <p> Subclass must implement </p><P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>JDBDataStore managing this FeatureSource</DL></DD></DL><HR><A NAME="addFeatureListener(org.geotools.data.FeatureListener)"><!-- --></A><H3>addFeatureListener</H3><PRE>public void <B>addFeatureListener</B>(<A HREF="../../../../org/geotools/data/FeatureListener.html" title="interface in org.geotools.data">FeatureListener</A> listener)</PRE><DL><DD>Adds FeatureListener to the JDBCDataStore against this FeatureSource.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/geotools/data/FeatureSource.html#addFeatureListener(org.geotools.data.FeatureListener)">addFeatureListener</A></CODE> in interface <CODE><A HREF="../../../../org/geotools/data/FeatureSource.html" title="interface in org.geotools.data">FeatureSource</A></CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>listener</CODE> - <DT><B>See Also:</B><DD><A HREF="../../../../org/geotools/data/FeatureSource.html#addFeatureListener(org.geotools.data.FeatureListener)"><CODE>FeatureSource.addFeatureListener(org.geotools.data.FeatureListener)</CODE></A></DL></DD></DL><HR><A NAME="removeFeatureListener(org.geotools.data.FeatureListener)"><!-- --></A><H3>removeFeatureListener</H3><PRE>public void <B>removeFeatureListener</B>(<A HREF="../../../../org/geotools/data/FeatureListener.html" title="interface in org.geotools.data">FeatureListener</A> listener)</PRE><DL><DD>Remove FeatureListener to the JDBCDataStore against this FeatureSource.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/geotools/data/FeatureSource.html#removeFeatureListener(org.geotools.data.FeatureListener)">removeFeatureListener</A></CODE> in interface <CODE><A HREF="../../../../org/geotools/data/FeatureSource.html" title="interface in org.geotools.data">FeatureSource</A></CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>listener</CODE> - <DT><B>See Also:</B><DD><A HREF="../../../../org/geotools/data/FeatureSource.html#removeFeatureListener(org.geotools.data.FeatureListener)"><CODE>FeatureSource.removeFeatureListener(org.geotools.data.FeatureListener)</CODE></A></DL></DD></DL><HR><A NAME="getTransaction()"><!-- --></A><H3>getTransaction</H3><PRE>public <A HREF="../../../../org/geotools/data/Transaction.html" title="interface in org.geotools.data">Transaction</A> <B>getTransaction</B>()</PRE><DL><DD>Retrieve the Transaction this FeatureSource is opperating against. <p> For a plain JDBCFeatureSource that cannot modify this will always be Transaction.AUTO_COMMIT. </p><P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>DOCUMENT ME!</DL></DD></DL><HR><A NAME="getFeatures(org.geotools.data.Query)"><!-- --></A><H3>getFeatures</H3><PRE>public <A HREF="../../../../org/geotools/feature/FeatureCollection.html" title="interface in org.geotools.feature">FeatureCollection</A> <B>getFeatures</B>(<A HREF="../../../../org/geotools/data/Query.html" title="interface in org.geotools.data">Query</A> request) 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>Provides an interface to for the Resutls of a Query. <p> Various queries can be made against the results, the most basic being to retrieve Features. </p><P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/geotools/data/FeatureSource.html#getFeatures(org.geotools.data.Query)">getFeatures</A></CODE> in interface <CODE><A HREF="../../../../org/geotools/data/FeatureSource.html" title="interface in org.geotools.data">FeatureSource</A></CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>request</CODE> - <DT><B>Returns:</B><DD>Collection The collection to put the features into.<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><DT><B>See Also:</B><DD><A HREF="../../../../org/geotools/data/FeatureSource.html#getFeatures(org.geotools.data.Query)"><CODE>FeatureSource.getFeatures(org.geotools.data.Query)</CODE></A></DL></DD></DL><HR><A NAME="getFeatures(org.geotools.filter.Filter)"><!-- --></A><H3>getFeatures</H3><PRE>public <A HREF="../../../../org/geotools/feature/FeatureCollection.html" title="interface in org.geotools.feature">FeatureCollection</A> <B>getFeatures</B>(<A HREF="../../../../org/geotools/filter/Filter.html" title="interface in org.geotools.filter">Filter</A> filter) 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>Retrieve all Feature matching the Filter<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/geotools/data/FeatureSource.html#getFeatures(org.geotools.filter.Filter)">getFeatures</A></CODE> in interface <CODE><A HREF="../../../../org/geotools/data/FeatureSource.html" title="interface in org.geotools.data">FeatureSource</A></CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>filter</CODE> - DOCUMENT ME!<DT><B>Returns:</B><DD>DOCUMENT ME!<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> - DOCUMENT ME!</DL></DD></DL><HR><A NAME="getFeatures()"><!-- --></A><H3>getFeatures</H3><PRE>public <A HREF="../../../../org/geotools/feature/FeatureCollection.html" title="interface in org.geotools.feature">FeatureCollection</A> <B>getFeatures</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><DL>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -