📄 postgisfidmapperfactory.html
字号:
<DD><B>Description copied from class: <CODE><A HREF="../../../../../org/geotools/data/jdbc/fidmapper/DefaultFIDMapperFactory.html" title="class in org.geotools.data.jdbc.fidmapper">DefaultFIDMapperFactory</A></CODE></B></DD><DD>DOCUMENT ME!<P><DD><DL><DT><B>Overrides:</B><DD><CODE><A HREF="../../../../../org/geotools/data/jdbc/fidmapper/DefaultFIDMapperFactory.html#buildNoPKMapper(java.lang.String, java.lang.String, java.sql.Connection)">buildNoPKMapper</A></CODE> in class <CODE><A HREF="../../../../../org/geotools/data/jdbc/fidmapper/DefaultFIDMapperFactory.html" title="class in org.geotools.data.jdbc.fidmapper">DefaultFIDMapperFactory</A></CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>schema</CODE> - <DD><CODE>tableName</CODE> - <DD><CODE>connection</CODE> - </DL></DD></DL><HR><A NAME="buildLastResortFidMapper(java.lang.String, java.lang.String, java.sql.Connection, org.geotools.data.jdbc.fidmapper.DefaultFIDMapperFactory.ColumnInfo[])"><!-- --></A><H3>buildLastResortFidMapper</H3><PRE>protected <A HREF="../../../../../org/geotools/data/jdbc/fidmapper/FIDMapper.html" title="interface in org.geotools.data.jdbc.fidmapper">FIDMapper</A> <B>buildLastResortFidMapper</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> schema, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> tableName, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/sql/Connection.html" title="class or interface in java.sql">Connection</A> connection, <A HREF="../../../../../org/geotools/data/jdbc/fidmapper/DefaultFIDMapperFactory.ColumnInfo.html" title="class in org.geotools.data.jdbc.fidmapper">DefaultFIDMapperFactory.ColumnInfo</A>[] colInfos)</PRE><DL><DD><B>Description copied from class: <CODE><A HREF="../../../../../org/geotools/data/jdbc/fidmapper/DefaultFIDMapperFactory.html" title="class in org.geotools.data.jdbc.fidmapper">DefaultFIDMapperFactory</A></CODE></B></DD><DD>Builds a FidMapper when every other tentative of building one fails. This method is used as a last resort fall back, use it if you can provide a FIDMapper that works on every kind of table, but it's usually suboptimal. The default behaviour is to return no FID mapper at all.<P><DD><DL><DT><B>Overrides:</B><DD><CODE><A HREF="../../../../../org/geotools/data/jdbc/fidmapper/DefaultFIDMapperFactory.html#buildLastResortFidMapper(java.lang.String, java.lang.String, java.sql.Connection, org.geotools.data.jdbc.fidmapper.DefaultFIDMapperFactory.ColumnInfo[])">buildLastResortFidMapper</A></CODE> in class <CODE><A HREF="../../../../../org/geotools/data/jdbc/fidmapper/DefaultFIDMapperFactory.html" title="class in org.geotools.data.jdbc.fidmapper">DefaultFIDMapperFactory</A></CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>schema</CODE> - <DD><CODE>tableName</CODE> - <DD><CODE>connection</CODE> - <DD><CODE>colInfos</CODE> - </DL></DD></DL><HR><A NAME="buildSingleColumnFidMapper(java.lang.String, java.lang.String, java.sql.Connection, org.geotools.data.jdbc.fidmapper.DefaultFIDMapperFactory.ColumnInfo)"><!-- --></A><H3>buildSingleColumnFidMapper</H3><PRE>protected <A HREF="../../../../../org/geotools/data/jdbc/fidmapper/FIDMapper.html" title="interface in org.geotools.data.jdbc.fidmapper">FIDMapper</A> <B>buildSingleColumnFidMapper</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> schema, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> tableName, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/sql/Connection.html" title="class or interface in java.sql">Connection</A> connection, <A HREF="../../../../../org/geotools/data/jdbc/fidmapper/DefaultFIDMapperFactory.ColumnInfo.html" title="class in org.geotools.data.jdbc.fidmapper">DefaultFIDMapperFactory.ColumnInfo</A> ci)</PRE><DL><DD><B>Description copied from class: <CODE><A HREF="../../../../../org/geotools/data/jdbc/fidmapper/DefaultFIDMapperFactory.html" title="class in org.geotools.data.jdbc.fidmapper">DefaultFIDMapperFactory</A></CODE></B></DD><DD>Builds a FID mapper based on a single column primary key. Default version tries the auto-increment way, then a mapping on an <A HREF="../../../../../org/geotools/data/jdbc/fidmapper/MaxIncFIDMapper.html" title="class in org.geotools.data.jdbc.fidmapper"><CODE>MaxIncFIDMapper</CODE></A> type for numeric columns, and a plain <A HREF="../../../../../org/geotools/data/jdbc/fidmapper/BasicFIDMapper.html" title="class in org.geotools.data.jdbc.fidmapper"><CODE>BasicFIDMapper</CODE></A> of text based columns.<P><DD><DL><DT><B>Overrides:</B><DD><CODE><A HREF="../../../../../org/geotools/data/jdbc/fidmapper/DefaultFIDMapperFactory.html#buildSingleColumnFidMapper(java.lang.String, java.lang.String, java.sql.Connection, org.geotools.data.jdbc.fidmapper.DefaultFIDMapperFactory.ColumnInfo)">buildSingleColumnFidMapper</A></CODE> in class <CODE><A HREF="../../../../../org/geotools/data/jdbc/fidmapper/DefaultFIDMapperFactory.html" title="class in org.geotools.data.jdbc.fidmapper">DefaultFIDMapperFactory</A></CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>schema</CODE> - <DD><CODE>tableName</CODE> - <DD><CODE>connection</CODE> - an open database connection.<DD><CODE>ci</CODE> - the column information for the FID column.<DT><B>Returns:</B><DD>the appropriate FIDMapper.</DL></DD></DL><HR><A NAME="isAutoIncrement(java.lang.String, java.lang.String, java.lang.String, java.sql.Connection, java.sql.ResultSet, java.lang.String, int)"><!-- --></A><H3>isAutoIncrement</H3><PRE>protected boolean <B>isAutoIncrement</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> catalog, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> schema, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> tableName, <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/sql/ResultSet.html" title="class or interface in java.sql">ResultSet</A> tableInfo, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> columnName, int dataType) throws <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/sql/SQLException.html" title="class or interface in java.sql">SQLException</A></PRE><DL><DD>see@DefaultFIDMapperFactory in main module (jdbc) This version pre-double quotes the column name and table name and passes it to the superclass's version.<P><DD><DL><DT><B>Overrides:</B><DD><CODE><A HREF="../../../../../org/geotools/data/jdbc/fidmapper/DefaultFIDMapperFactory.html#isAutoIncrement(java.lang.String, java.lang.String, java.lang.String, java.sql.Connection, java.sql.ResultSet, java.lang.String, int)">isAutoIncrement</A></CODE> in class <CODE><A HREF="../../../../../org/geotools/data/jdbc/fidmapper/DefaultFIDMapperFactory.html" title="class in org.geotools.data.jdbc.fidmapper">DefaultFIDMapperFactory</A></CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>catalog</CODE> - <DD><CODE>schema</CODE> - <DD><CODE>tableName</CODE> - <DD><CODE>conn</CODE> - <DD><CODE>tableInfo</CODE> - <DD><CODE>columnName</CODE> - <DD><CODE>dataType</CODE> - <DT><B>Throws:</B><DD><CODE><A HREF="http://java.sun.com/j2se/1.4/docs/api/java/sql/SQLException.html" title="class or interface in java.sql">SQLException</A></CODE></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> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/PostgisFIDMapperFactory.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> </TR></TABLE></TD><TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM></EM></TD></TR><TR><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../../../../org/geotools/data/postgis/fidmapper/PostGISAutoIncrementFIDMapper.html" title="class in org.geotools.data.postgis.fidmapper"><B>PREV CLASS</B></A> NEXT CLASS</FONT></TD><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../../../../index.html" target="_top"><B>FRAMES</B></A> <A HREF="PostgisFIDMapperFactory.html" target="_top"><B>NO FRAMES</B></A> <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: <A HREF="#nested_classes_inherited_from_class_org.geotools.data.jdbc.fidmapper.DefaultFIDMapperFactory">NESTED</A> | <A HREF="#fields_inherited_from_class_DefaultFIDMapperFactory">FIELD</A> | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">DETAIL: FIELD | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD></TR></TABLE><A NAME="skip-navbar_bottom"></A><!-- ======== END OF BOTTOM NAVBAR ======= --><HR>Copyright © 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 + -