📄 fidmapper.html
字号:
column</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> class</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../../org/geotools/data/jdbc/fidmapper/MaxIncFIDMapper.html" title="class in org.geotools.data.jdbc.fidmapper">MaxIncFIDMapper</A></B></CODE><BR> A FID mapper that uses a single integer column as the primary key and that does a <code>SELECT MAX(fixColumn) + 1</code> to generate new ones. </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> class</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../../org/geotools/data/jdbc/fidmapper/MultiColumnFIDMapper.html" title="class in org.geotools.data.jdbc.fidmapper">MultiColumnFIDMapper</A></B></CODE><BR> A simple implementation of FIDMapper for multi column primary keys</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> class</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../../org/geotools/data/jdbc/fidmapper/NullFIDMapper.html" title="class in org.geotools.data.jdbc.fidmapper">NullFIDMapper</A></B></CODE><BR> Last resort fid mapper for tables that does not have a primary key. </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> class</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../../org/geotools/data/jdbc/fidmapper/TypedFIDMapper.html" title="class in org.geotools.data.jdbc.fidmapper">TypedFIDMapper</A></B></CODE><BR> This fidmapper just takes another fid mapper and builds fids based on the wrapped FIDMapper by prefixing them with the feature type name, that is, the resulting fid follow the <featureTypeName>.</TD></TR></TABLE> <P><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#CCCCFF" CLASS="TableSubHeadingColor"><TD COLSPAN=2>Methods in <A HREF="../../../../../../org/geotools/data/jdbc/fidmapper/package-summary.html">org.geotools.data.jdbc.fidmapper</A> that return <A HREF="../../../../../../org/geotools/data/jdbc/fidmapper/FIDMapper.html" title="interface in org.geotools.data.jdbc.fidmapper">FIDMapper</A></FONT></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../../../../../org/geotools/data/jdbc/fidmapper/FIDMapper.html" title="interface in org.geotools.data.jdbc.fidmapper">FIDMapper</A></CODE></FONT></TD><TD><CODE><B>FIDMapperFactory.</B><B><A HREF="../../../../../../org/geotools/data/jdbc/fidmapper/FIDMapperFactory.html#getMapper(java.lang.String, java.lang.String, java.lang.String, java.sql.Connection)">getMapper</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> 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> typeName, <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)</CODE><BR> Returns a FIDMapper for the specified table</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../../../../../org/geotools/data/jdbc/fidmapper/FIDMapper.html" title="interface in org.geotools.data.jdbc.fidmapper">FIDMapper</A></CODE></FONT></TD><TD><CODE><B>FIDMapperFactory.</B><B><A HREF="../../../../../../org/geotools/data/jdbc/fidmapper/FIDMapperFactory.html#getMapper(org.geotools.feature.FeatureType)">getMapper</A></B>(<A HREF="../../../../../../org/geotools/feature/FeatureType.html" title="interface in org.geotools.feature">FeatureType</A> featureType)</CODE><BR> Returns a FIDMapper for the specified feature type. </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../../../../../org/geotools/data/jdbc/fidmapper/FIDMapper.html" title="interface in org.geotools.data.jdbc.fidmapper">FIDMapper</A></CODE></FONT></TD><TD><CODE><B>DefaultFIDMapperFactory.</B><B><A HREF="../../../../../../org/geotools/data/jdbc/fidmapper/DefaultFIDMapperFactory.html#getMapper(java.lang.String, java.lang.String, java.lang.String, java.sql.Connection)">getMapper</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> 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> connection)</CODE><BR> Gets the appropriate FIDMapper for the specified table.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>protected <A HREF="../../../../../../org/geotools/data/jdbc/fidmapper/FIDMapper.html" title="interface in org.geotools.data.jdbc.fidmapper">FIDMapper</A></CODE></FONT></TD><TD><CODE><B>DefaultFIDMapperFactory.</B><B><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></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)</CODE><BR> Builds a FidMapper when every other tentative of building one fails. </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>protected <A HREF="../../../../../../org/geotools/data/jdbc/fidmapper/FIDMapper.html" title="interface in org.geotools.data.jdbc.fidmapper">FIDMapper</A></CODE></FONT></TD><TD><CODE><B>DefaultFIDMapperFactory.</B><B><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></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)</CODE><BR> Builds a FID mapper based on a single column primary key. </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>protected <A HREF="../../../../../../org/geotools/data/jdbc/fidmapper/FIDMapper.html" title="interface in org.geotools.data.jdbc.fidmapper">FIDMapper</A></CODE></FONT></TD><TD><CODE><B>DefaultFIDMapperFactory.</B><B><A HREF="../../../../../../org/geotools/data/jdbc/fidmapper/DefaultFIDMapperFactory.html#buildNoPKMapper(java.lang.String, java.lang.String, java.sql.Connection)">buildNoPKMapper</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> 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)</CODE><BR> DOCUMENT ME!</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>protected <A HREF="../../../../../../org/geotools/data/jdbc/fidmapper/FIDMapper.html" title="interface in org.geotools.data.jdbc.fidmapper">FIDMapper</A></CODE></FONT></TD><TD><CODE><B>DefaultFIDMapperFactory.</B><B><A HREF="../../../../../../org/geotools/data/jdbc/fidmapper/DefaultFIDMapperFactory.html#buildMultiColumnFIDMapper(java.lang.String, java.lang.String, java.sql.Connection, org.geotools.data.jdbc.fidmapper.DefaultFIDMapperFactory.ColumnInfo[])">buildMultiColumnFIDMapper</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> 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)</CODE><BR> Builds a FID mapper for multi column public columns</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../../../../../org/geotools/data/jdbc/fidmapper/FIDMapper.html" title="interface in org.geotools.data.jdbc.fidmapper">FIDMapper</A></CODE></FONT></TD><TD><CODE><B>DefaultFIDMapperFactory.</B><B><A HREF="../../../../../../org/geotools/data/jdbc/fidmapper/DefaultFIDMapperFactory.html#getMapper(org.geotools.feature.FeatureType)">getMapper</A></B>(<A HREF="../../../../../../org/geotools/feature/FeatureType.html" title="interface in org.geotools.feature">FeatureType</A> featureType)</CODE><BR> </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../../../../../org/geotools/data/jdbc/fidmapper/FIDMapper.html" title="interface in org.geotools.data.jdbc.fidmapper">FIDMapper</A></CODE></FONT></TD><TD><CODE><B>TypedFIDMapper.</B><B><A HREF="../../../../../../org/geotools/data/jdbc/fidmapper/TypedFIDMapper.html#getWrappedMapper()">getWrappedMapper</A></B>()</CODE><BR> Returns the base mapper wrapped by this TypedFIDMapper</TD></TR></TABLE> <P><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#CCCCFF" CLASS="TableSubHeadingColor"><TD COLSPAN=2>Constructors in <A HREF="../../../../../../org/geotools/data/jdbc/fidmapper/package-summary.html">org.geotools.data.jdbc.fidmapper</A> with parameters of type <A HREF="../../../../../../org/geotools/data/jdbc/fidmapper/FIDMapper.html" title="interface in org.geotools.data.jdbc.fidmapper">FIDMapper</A></FONT></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><B><A HREF="../../../../../../org/geotools/data/jdbc/fidmapper/TypedFIDMapper.html#TypedFIDMapper(org.geotools.data.jdbc.fidmapper.FIDMapper, java.lang.String)">TypedFIDMapper</A></B>(<A HREF="../../../../../../org/geotools/data/jdbc/fidmapper/FIDMapper.html" title="interface in org.geotools.data.jdbc.fidmapper">FIDMapper</A> wrapped, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> featureTypeName)</CODE><BR> Creates a new TypedFIDMapper object.</TD></TR></TABLE> <P><A NAME="org.geotools.data.mysql"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TD COLSPAN=2><FONT SIZE="+2">Uses of <A HREF="../../../../../../org/geotools/data/jdbc/fidmapper/FIDMapper.html" title="interface in org.geotools.data.jdbc.fidmapper">FIDMapper</A> in <A HREF="../../../../../../org/geotools/data/mysql/package-summary.html">org.geotools.data.mysql</A></FONT></TD></TR></TABLE> <P><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#CCCCFF" CLASS="TableSubHeadingColor"><TD COLSPAN=2>Methods in <A HREF="../../../../../../org/geotools/data/mysql/package-summary.html">org.geotools.data.mysql</A> with parameters of type <A HREF="../../../../../../org/geotools/data/jdbc/fidmapper/FIDMapper.html" title="interface in org.geotools.data.jdbc.fidmapper">FIDMapper</A></FONT></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>MySQLSQLBuilder.</B><B><A HREF="../../../../../../org/geotools/data/mysql/MySQLSQLBuilder.html#sqlColumns(java.lang.StringBuffer, org.geotools.data.jdbc.fidmapper.FIDMapper, org.geotools.feature.AttributeType[])">sqlColumns</A></B>(<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/StringBuffer.html" title="class or interface in java.lang">StringBuffer</A> sql, <A HREF="../../../../../../org/geotools/data/jdbc/fidmapper/FIDMapper.html" title="interface in org.geotools.data.jdbc.fidmapper">FIDMapper</A> mapper, <A HREF="../../../../../../org/geotools/feature/AttributeType.html" title="interface in org.geotools.feature">AttributeType</A>[] attributes)</CODE><BR> Produces the select information required. </TD></TR></TABLE>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -