📄 typedfidmapper.html
字号:
<A HREF="../../../../../org/geotools/feature/Feature.html" title="interface in org.geotools.feature">Feature</A> feature, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/sql/Statement.html" title="class or interface in java.sql">Statement</A> statement)</CODE><BR> Creates a new ID for a feature. </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> boolean</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../org/geotools/data/jdbc/fidmapper/TypedFIDMapper.html#equals(java.lang.Object)">equals</A></B>(<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html" title="class or interface in java.lang">Object</A> object)</CODE><BR> </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> int</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../org/geotools/data/jdbc/fidmapper/TypedFIDMapper.html#getColumnCount()">getColumnCount</A></B>()</CODE><BR> Returns the number of columns in the primary keys handled by this mapper</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> int</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../org/geotools/data/jdbc/fidmapper/TypedFIDMapper.html#getColumnDecimalDigits(int)">getColumnDecimalDigits</A></B>(int colIndex)</CODE><BR> Provides the number of decimal digits for this column. </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/jdbc/fidmapper/TypedFIDMapper.html#getColumnName(int)">getColumnName</A></B>(int colIndex)</CODE><BR> Returns the name of the specified column in the primary key</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> int</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../org/geotools/data/jdbc/fidmapper/TypedFIDMapper.html#getColumnSize(int)">getColumnSize</A></B>(int colIndex)</CODE><BR> Returns the size of a primary key column as it would be provided by the database metadata. </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> int</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../org/geotools/data/jdbc/fidmapper/TypedFIDMapper.html#getColumnType(int)">getColumnType</A></B>(int colIndex)</CODE><BR> Returns the column type by using a constant available in the java.sql.Types interface</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/jdbc/fidmapper/TypedFIDMapper.html#getID(java.lang.Object[])">getID</A></B>(<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html" title="class or interface in java.lang">Object</A>[] attributes)</CODE><BR> Returns the FID given the values of the prymary key attributes</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/Object.html" title="class or interface in java.lang">Object</A>[]</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../org/geotools/data/jdbc/fidmapper/TypedFIDMapper.html#getPKAttributes(java.lang.String)">getPKAttributes</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> FID)</CODE><BR> Creates the value for the PK attributes given the feature. </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/jdbc/fidmapper/TypedFIDMapper.html#getTableName()">getTableName</A></B>()</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/jdbc/fidmapper/TypedFIDMapper.html#getTableSchemaName()">getTableSchemaName</A></B>()</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><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><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/fidmapper/TypedFIDMapper.html#initSupportStructures()">initSupportStructures</A></B>()</CODE><BR> This method will be called by JDBCDataStore when creating new tables to give the FID mapper an opportunity to initialize needed data structures, such as support tables, sequences, and so on.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> boolean</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../org/geotools/data/jdbc/fidmapper/TypedFIDMapper.html#isAutoIncrement(int)">isAutoIncrement</A></B>(int colIndex)</CODE><BR> Returns true if the column is of serial type, that is, its value is automatically generated by the database if the user does not provide one</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> boolean</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../org/geotools/data/jdbc/fidmapper/TypedFIDMapper.html#isVolatile()">isVolatile</A></B>()</CODE><BR> Convenience since most FID mappers should be persistent, override on the specific ones that aren't.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> boolean</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../org/geotools/data/jdbc/fidmapper/TypedFIDMapper.html#returnFIDColumnsAsAttributes()">returnFIDColumnsAsAttributes</A></B>()</CODE><BR> If true the primary key columns will be returned as attributes. </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/jdbc/fidmapper/TypedFIDMapper.html#toString()">toString</A></B>()</CODE><BR> Create a nice string representation of a FID Mapper</TD></TR></TABLE> <A NAME="methods_inherited_from_class_AbstractFIDMapper"><!-- --></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/fidmapper/AbstractFIDMapper.html" title="class in org.geotools.data.jdbc.fidmapper">AbstractFIDMapper</A></B></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><A HREF="../../../../../org/geotools/data/jdbc/fidmapper/AbstractFIDMapper.html#getColumnDecimalDigits()">getColumnDecimalDigits</A>, <A HREF="../../../../../org/geotools/data/jdbc/fidmapper/AbstractFIDMapper.html#getColumnName()">getColumnName</A>, <A HREF="../../../../../org/geotools/data/jdbc/fidmapper/AbstractFIDMapper.html#getColumnSize()">getColumnSize</A>, <A HREF="../../../../../org/geotools/data/jdbc/fidmapper/AbstractFIDMapper.html#getColumnType()">getColumnType</A>, <A HREF="../../../../../org/geotools/data/jdbc/fidmapper/AbstractFIDMapper.html#hasAutoIncrementColumns()">hasAutoIncrementColumns</A>, <A HREF="../../../../../org/geotools/data/jdbc/fidmapper/AbstractFIDMapper.html#isAutoIncrement()">isAutoIncrement</A>, <A HREF="../../../../../org/geotools/data/jdbc/fidmapper/AbstractFIDMapper.html#setInfo(java.lang.String, int, int, int, boolean)">setInfo</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#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#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="TypedFIDMapper(org.geotools.data.jdbc.fidmapper.FIDMapper, java.lang.String)"><!-- --></A><H3>TypedFIDMapper</H3><PRE>public <B>TypedFIDMapper</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)</PRE><DL><DD>Creates a new TypedFIDMapper object.<P><DT><B>Parameters:</B><DD><CODE>wrapped</CODE> - <DD><CODE>featureTypeName</CODE> -
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -