📄 postgisfeaturestore.html
字号:
<TD><CODE><B><A HREF="../../../../org/geotools/data/postgis/PostgisFeatureStore.html#sqlBuilder">sqlBuilder</A></B></CODE><BR> To create the sql where statement</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>protected <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/geotools/data/postgis/PostgisFeatureStore.html#tableName">tableName</A></B></CODE><BR> </TD></TR></TABLE> <A NAME="fields_inherited_from_class_JDBCFeatureStore"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"><TD><B>Fields 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#transaction">transaction</A></CODE></TD></TR></TABLE> <!-- ======== CONSTRUCTOR SUMMARY ======== --><A NAME="constructor_summary"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TD COLSPAN=2><FONT SIZE="+2"><B>Constructor Summary</B></FONT></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><B><A HREF="../../../../org/geotools/data/postgis/PostgisFeatureStore.html#PostgisFeatureStore(org.geotools.data.postgis.PostgisDataStore, org.geotools.feature.FeatureType)">PostgisFeatureStore</A></B>(<A HREF="../../../../org/geotools/data/postgis/PostgisDataStore.html" title="class in org.geotools.data.postgis">PostgisDataStore</A> postgisDataStore, <A HREF="../../../../org/geotools/feature/FeatureType.html" title="interface in org.geotools.feature">FeatureType</A> featureType)</CODE><BR> </TD></TR></TABLE> <!-- ========== 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>protected <A HREF="../../../../org/geotools/geometry/jts/ReferencedEnvelope.html" title="class in org.geotools.geometry.jts">ReferencedEnvelope</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/geotools/data/postgis/PostgisFeatureStore.html#bounds(org.geotools.data.Query)">bounds</A></B>(<A HREF="../../../../org/geotools/data/Query.html" title="interface in org.geotools.data">Query</A> query)</CODE><BR> </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <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></CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/geotools/data/postgis/PostgisFeatureStore.html#getBounds()">getBounds</A></B>()</CODE><BR> Gets the bounding box of this datasource. </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <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></CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/geotools/data/postgis/PostgisFeatureStore.html#getBounds(org.geotools.data.Query)">getBounds</A></B>(<A HREF="../../../../org/geotools/data/Query.html" title="interface in org.geotools.data">Query</A> query)</CODE><BR> Retrieve Bounds of Query results. </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>protected <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></CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/geotools/data/postgis/PostgisFeatureStore.html#getEnvelope(java.sql.Connection, java.lang.String, org.geotools.data.jdbc.SQLBuilder, org.geotools.filter.Filter)">getEnvelope</A></B>(<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/sql/Connection.html" title="class or interface in java.sql">Connection</A> conn, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> geomName, <A HREF="../../../../org/geotools/data/jdbc/SQLBuilder.html" title="interface in org.geotools.data.jdbc">SQLBuilder</A> sqlBuilder, <A HREF="../../../../org/geotools/filter/Filter.html" title="interface in org.geotools.filter">Filter</A> filter)</CODE><BR> </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>protected <A HREF="../../../../org/geotools/data/postgis/PostgisDataStore.html" title="class in org.geotools.data.postgis">PostgisDataStore</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/geotools/data/postgis/PostgisFeatureStore.html#getPostgisDataStore()">getPostgisDataStore</A></B>()</CODE><BR> Performs the setFeautres operation by removing all and then adding the full collection. </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>protected int</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/geotools/data/postgis/PostgisFeatureStore.html#getSRID(java.lang.String)">getSRID</A></B>(<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> geomName)</CODE><BR> </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/geotools/data/postgis/PostgisFeatureStore.html#makeSql(org.geotools.data.Query)">makeSql</A></B>(<A HREF="../../../../org/geotools/data/Query.html" title="interface in org.geotools.data">Query</A> query)</CODE><BR> Creates a SQL statement for the PostGIS database.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/geotools/data/postgis/PostgisFeatureStore.html#makeSql(org.geotools.filter.SQLUnpacker, org.geotools.data.Query)">makeSql</A></B>(<A HREF="../../../../org/geotools/filter/SQLUnpacker.html" title="class in org.geotools.filter">SQLUnpacker</A> unpacker, <A HREF="../../../../org/geotools/data/Query.html" title="interface in org.geotools.data">Query</A> query)</CODE><BR> <B>Deprecated.</B> <I>please use makeSql(query)</I></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/postgis/PostgisFeatureStore.html#modifyFeatures(org.geotools.feature.AttributeType[], java.lang.Object[], org.geotools.filter.Filter)">modifyFeatures</A></B>(<A HREF="../../../../org/geotools/feature/AttributeType.html" title="interface in org.geotools.feature">AttributeType</A>[] type, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html" title="class or interface in java.lang">Object</A>[] value, <A HREF="../../../../org/geotools/filter/Filter.html" title="interface in org.geotools.filter">Filter</A> filter)</CODE><BR> Modifies the passed attribute types with the passed objects in all features that correspond to the passed OGS filter.</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/postgis/PostgisFeatureStore.html#modifyFeatures(org.geotools.feature.AttributeType, java.lang.Object, org.geotools.filter.Filter)">modifyFeatures</A></B>(<A HREF="../../../../org/geotools/feature/AttributeType.html" title="interface in org.geotools.feature">AttributeType</A> type, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html" title="class or interface in java.lang">Object</A> value, <A HREF="../../../../org/geotools/filter/Filter.html" title="interface in org.geotools.filter">Filter</A> filter)</CODE><BR> Modifies the passed attribute types with the passed objects in all features that correspond to the passed OGS filter. </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/postgis/PostgisFeatureStore.html#removeFeatures(org.geotools.filter.Filter)">removeFeatures</A></B>(<A HREF="../../../../org/geotools/filter/Filter.html" title="interface in org.geotools.filter">Filter</A> filter)</CODE><BR> Removes the features specified by the passed filter from the PostGIS database.</TD></TR></TABLE> <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#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> <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#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> <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> <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#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> <P><!-- ============ FIELD DETAIL =========== --><A NAME="field_detail"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TD COLSPAN=1><FONT SIZE="+2"><B>Field Detail</B></FONT></TD></TR></TABLE><A NAME="geometryWriter"><!-- --></A><H3>geometryWriter</H3><PRE>protected static <A HREF="http://www.jump-project.org/docs/jts/1.7/api/com/vividsolutions/jts/io/WKTWriter.html" title="class or interface in com.vividsolutions.jts.io">WKTWriter</A> <B>geometryWriter</B></PRE><DL><DD>Well Known Text writer (from JTS).<P><DL></DL>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -