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

📄 postgisfeaturewriter.html

📁 Geotools是一个开源的Java GIS工具包,可利用它来开发符合标准的地理信息系统。Geotools提供了OGC(Open Geospatial Consortium)规范的一个实现来作为他们的
💻 HTML
📖 第 1 页 / 共 2 页
字号:
</TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><A HREF="../../../../org/geotools/data/jdbc/JDBCTextFeatureWriter.html#addQuotes(java.lang.Object)">addQuotes</A>, <A HREF="../../../../org/geotools/data/jdbc/JDBCTextFeatureWriter.html#doInsert(org.geotools.data.jdbc.MutableFIDFeature)">doInsert</A>, <A HREF="../../../../org/geotools/data/jdbc/JDBCTextFeatureWriter.html#doUpdate(org.geotools.feature.Feature, org.geotools.feature.Feature)">doUpdate</A>, <A HREF="../../../../org/geotools/data/jdbc/JDBCTextFeatureWriter.html#makeDeleteSql(org.geotools.feature.Feature)">makeDeleteSql</A>, <A HREF="../../../../org/geotools/data/jdbc/JDBCTextFeatureWriter.html#makeInsertSql(org.geotools.feature.Feature)">makeInsertSql</A>, <A HREF="../../../../org/geotools/data/jdbc/JDBCTextFeatureWriter.html#makeUpdateSql(org.geotools.feature.Feature, org.geotools.feature.Feature)">makeUpdateSql</A>, <A HREF="../../../../org/geotools/data/jdbc/JDBCTextFeatureWriter.html#remove()">remove</A>, <A HREF="../../../../org/geotools/data/jdbc/JDBCTextFeatureWriter.html#useQueryDataForInsert()">useQueryDataForInsert</A></CODE></TD></TR></TABLE>&nbsp;<A NAME="methods_inherited_from_class_JDBCFeatureWriter"><!-- --></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/JDBCFeatureWriter.html" title="class in org.geotools.data.jdbc">JDBCFeatureWriter</A></B></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><A HREF="../../../../org/geotools/data/jdbc/JDBCFeatureWriter.html#close()">close</A>, <A HREF="../../../../org/geotools/data/jdbc/JDBCFeatureWriter.html#getFeatureType()">getFeatureType</A>, <A HREF="../../../../org/geotools/data/jdbc/JDBCFeatureWriter.html#hasNext()">hasNext</A>, <A HREF="../../../../org/geotools/data/jdbc/JDBCFeatureWriter.html#next()">next</A>, <A HREF="../../../../org/geotools/data/jdbc/JDBCFeatureWriter.html#setFeatureListenerManager(org.geotools.data.FeatureListenerManager)">setFeatureListenerManager</A>, <A HREF="../../../../org/geotools/data/jdbc/JDBCFeatureWriter.html#write()">write</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;<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></DL><!-- ========= 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="PostgisFeatureWriter(org.geotools.data.FeatureReader, org.geotools.data.jdbc.QueryData, boolean, boolean, org.geotools.data.postgis.PostgisSQLBuilder)"><!-- --></A><H3>PostgisFeatureWriter</H3><PRE>public <B>PostgisFeatureWriter</B>(<A HREF="../../../../org/geotools/data/FeatureReader.html" title="interface in org.geotools.data">FeatureReader</A>&nbsp;fReader,                            <A HREF="../../../../org/geotools/data/jdbc/QueryData.html" title="class in org.geotools.data.jdbc">QueryData</A>&nbsp;queryData,                            boolean&nbsp;WKBEnabled,                            boolean&nbsp;byteaWKB,                            <A HREF="../../../../org/geotools/data/postgis/PostgisSQLBuilder.html" title="class in org.geotools.data.postgis">PostgisSQLBuilder</A>&nbsp;sqlBuilder)                     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><DT><B>Parameters:</B><DD><CODE>fReader</CODE> - <DD><CODE>queryData</CODE> - <DD><CODE>WKBEnabled</CODE> - <DD><CODE>byteaWKB</CODE> - -- true if you're using postgis 1.0+.  they changed how to do wkb writing.<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></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="getGeometryInsertText(com.vividsolutions.jts.geom.Geometry, int)"><!-- --></A><H3>getGeometryInsertText</H3><PRE>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> <B>getGeometryInsertText</B>(<A HREF="http://www.jump-project.org/docs/jts/1.7/api/com/vividsolutions/jts/geom/Geometry.html" title="class or interface in com.vividsolutions.jts.geom">Geometry</A>&nbsp;geom,                                       int&nbsp;srid)                                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><B>Description copied from class: <CODE><A HREF="../../../../org/geotools/data/jdbc/JDBCTextFeatureWriter.html" title="class in org.geotools.data.jdbc">JDBCTextFeatureWriter</A></CODE></B></DD><DD>Turns a geometry into the textual version needed for the sql statement<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/geotools/data/jdbc/JDBCTextFeatureWriter.html#getGeometryInsertText(com.vividsolutions.jts.geom.Geometry, int)">getGeometryInsertText</A></CODE> in class <CODE><A HREF="../../../../org/geotools/data/jdbc/JDBCTextFeatureWriter.html" title="class in org.geotools.data.jdbc">JDBCTextFeatureWriter</A></CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>geom</CODE> - <DD><CODE>srid</CODE> - <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></DL></DD></DL><HR><A NAME="isWKBEnabled()"><!-- --></A><H3>isWKBEnabled</H3><PRE>public boolean <B>isWKBEnabled</B>()</PRE><DL><DD>Returns true if the WKB format is used to transfer geometries, false otherwise<P><DD><DL></DL></DD></DL><HR><A NAME="setWKBEnabled(boolean)"><!-- --></A><H3>setWKBEnabled</H3><PRE>public void <B>setWKBEnabled</B>(boolean&nbsp;enabled)</PRE><DL><DD>If turned on, WKB will be used to transfer geometry data instead of  WKT<P><DD><DL><DT><B>Parameters:</B><DD><CODE>enabled</CODE> - </DL></DD></DL><HR><A NAME="encodeName(java.lang.String)"><!-- --></A><H3>encodeName</H3><PRE>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> <B>encodeName</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>&nbsp;tableName)</PRE><DL><DD>DJB: this is the javadoc from the superclass, but this wasnt being done.  Encodes the tableName, default is to do nothing, but postgis will override and put double quotes around the tablename.<P><DD><DL><DT><B>Overrides:</B><DD><CODE><A HREF="../../../../org/geotools/data/jdbc/JDBCTextFeatureWriter.html#encodeName(java.lang.String)">encodeName</A></CODE> in class <CODE><A HREF="../../../../org/geotools/data/jdbc/JDBCTextFeatureWriter.html" title="class in org.geotools.data.jdbc">JDBCTextFeatureWriter</A></CODE></DL></DD><DD><DL></DL></DD></DL><HR><A NAME="encodeColumnName(java.lang.String)"><!-- --></A><H3>encodeColumnName</H3><PRE>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> <B>encodeColumnName</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>&nbsp;colName)</PRE><DL><DD><B>Description copied from class: <CODE><A HREF="../../../../org/geotools/data/jdbc/JDBCTextFeatureWriter.html" title="class in org.geotools.data.jdbc">JDBCTextFeatureWriter</A></CODE></B></DD><DD>Encodes the colName, default just calls <A HREF="../../../../org/geotools/data/jdbc/JDBCTextFeatureWriter.html#encodeName(java.lang.String)"><CODE>JDBCTextFeatureWriter.encodeName(String)</CODE></A>.<P><DD><DL><DT><B>Overrides:</B><DD><CODE><A HREF="../../../../org/geotools/data/jdbc/JDBCTextFeatureWriter.html#encodeColumnName(java.lang.String)">encodeColumnName</A></CODE> in class <CODE><A HREF="../../../../org/geotools/data/jdbc/JDBCTextFeatureWriter.html" title="class in org.geotools.data.jdbc">JDBCTextFeatureWriter</A></CODE></DL></DD><DD><DL></DL></DD></DL><HR><A NAME="makeSelectForUpdateSql(org.geotools.feature.Feature)"><!-- --></A><H3>makeSelectForUpdateSql</H3><PRE>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> <B>makeSelectForUpdateSql</B>(<A HREF="../../../../org/geotools/feature/Feature.html" title="interface in org.geotools.feature">Feature</A>&nbsp;current)</PRE><DL><DD>For postgres >= 8.1 NOWAIT is used (meaning you get a response). Prior versions will block during concurrent editing.<P><DD><DL><DT><B>Overrides:</B><DD><CODE><A HREF="../../../../org/geotools/data/jdbc/JDBCTextFeatureWriter.html#makeSelectForUpdateSql(org.geotools.feature.Feature)">makeSelectForUpdateSql</A></CODE> in class <CODE><A HREF="../../../../org/geotools/data/jdbc/JDBCTextFeatureWriter.html" title="class in org.geotools.data.jdbc">JDBCTextFeatureWriter</A></CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>current</CODE> - <DT><B>Returns:</B><DD>sql string or null</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/PostgisFeatureWriter.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/postgis/PostgisFeatureStore.html" title="class in org.geotools.data.postgis"><B>PREV CLASS</B></A>&nbsp;&nbsp;<A HREF="../../../../org/geotools/data/postgis/PostgisSQLBuilder.html" title="class in org.geotools.data.postgis"><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="PostgisFeatureWriter.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="#field_summary">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;<A HREF="#field_detail">FIELD</A>&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 + -