📄 hsqlfidmapper.html
字号:
<DD><DL><DT><B>See Also:</B><DD><A HREF="../../../../../org/geotools/data/jdbc/fidmapper/FIDMapper.html#getColumnName(int)"><CODE>FIDMapper.getColumnName(int)</CODE></A></DL></DD></DL><HR><A NAME="getColumnType(int)"><!-- --></A><H3>getColumnType</H3><PRE>public int <B>getColumnType</B>(int colIndex)</PRE><DL><DD><B>Description copied from interface: <CODE><A HREF="../../../../../org/geotools/data/jdbc/fidmapper/FIDMapper.html" title="interface in org.geotools.data.jdbc.fidmapper">FIDMapper</A></CODE></B></DD><DD>Returns the column type by using a constant available in the java.sql.Types interface<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../org/geotools/data/jdbc/fidmapper/FIDMapper.html#getColumnType(int)">getColumnType</A></CODE> in interface <CODE><A HREF="../../../../../org/geotools/data/jdbc/fidmapper/FIDMapper.html" title="interface in org.geotools.data.jdbc.fidmapper">FIDMapper</A></CODE><DT><B>Overrides:</B><DD><CODE><A HREF="../../../../../org/geotools/data/jdbc/fidmapper/AbstractFIDMapper.html#getColumnType(int)">getColumnType</A></CODE> in class <CODE><A HREF="../../../../../org/geotools/data/jdbc/fidmapper/AbstractFIDMapper.html" title="class in org.geotools.data.jdbc.fidmapper">AbstractFIDMapper</A></CODE></DL></DD><DD><DL><DT><B>See Also:</B><DD><A HREF="../../../../../org/geotools/data/jdbc/fidmapper/FIDMapper.html#getColumnType(int)"><CODE>FIDMapper.getColumnType(int)</CODE></A></DL></DD></DL><HR><A NAME="getColumnSize(int)"><!-- --></A><H3>getColumnSize</H3><PRE>public int <B>getColumnSize</B>(int colIndex)</PRE><DL><DD><B>Description copied from interface: <CODE><A HREF="../../../../../org/geotools/data/jdbc/fidmapper/FIDMapper.html" title="interface in org.geotools.data.jdbc.fidmapper">FIDMapper</A></CODE></B></DD><DD>Returns the size of a primary key column as it would be provided by the database metadata. Some fields requires a size specification, such as VARCHAR or NUMBER, whilst other don't have or don't need it (for example, an INTEGER or a TEXT field).<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../org/geotools/data/jdbc/fidmapper/FIDMapper.html#getColumnSize(int)">getColumnSize</A></CODE> in interface <CODE><A HREF="../../../../../org/geotools/data/jdbc/fidmapper/FIDMapper.html" title="interface in org.geotools.data.jdbc.fidmapper">FIDMapper</A></CODE><DT><B>Overrides:</B><DD><CODE><A HREF="../../../../../org/geotools/data/jdbc/fidmapper/AbstractFIDMapper.html#getColumnSize(int)">getColumnSize</A></CODE> in class <CODE><A HREF="../../../../../org/geotools/data/jdbc/fidmapper/AbstractFIDMapper.html" title="class in org.geotools.data.jdbc.fidmapper">AbstractFIDMapper</A></CODE></DL></DD><DD><DL><DT><B>See Also:</B><DD><A HREF="../../../../../org/geotools/data/jdbc/fidmapper/FIDMapper.html#getColumnSize(int)"><CODE>FIDMapper.getColumnSize(int)</CODE></A></DL></DD></DL><HR><A NAME="getColumnDecimalDigits(int)"><!-- --></A><H3>getColumnDecimalDigits</H3><PRE>public int <B>getColumnDecimalDigits</B>(int colIndex)</PRE><DL><DD><B>Description copied from interface: <CODE><A HREF="../../../../../org/geotools/data/jdbc/fidmapper/FIDMapper.html" title="interface in org.geotools.data.jdbc.fidmapper">FIDMapper</A></CODE></B></DD><DD>Provides the number of decimal digits for this column. This is relevant in particular when the column is a scaled integer such as a NUMBER column<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../org/geotools/data/jdbc/fidmapper/FIDMapper.html#getColumnDecimalDigits(int)">getColumnDecimalDigits</A></CODE> in interface <CODE><A HREF="../../../../../org/geotools/data/jdbc/fidmapper/FIDMapper.html" title="interface in org.geotools.data.jdbc.fidmapper">FIDMapper</A></CODE><DT><B>Overrides:</B><DD><CODE><A HREF="../../../../../org/geotools/data/jdbc/fidmapper/AbstractFIDMapper.html#getColumnDecimalDigits(int)">getColumnDecimalDigits</A></CODE> in class <CODE><A HREF="../../../../../org/geotools/data/jdbc/fidmapper/AbstractFIDMapper.html" title="class in org.geotools.data.jdbc.fidmapper">AbstractFIDMapper</A></CODE></DL></DD><DD><DL><DT><B>See Also:</B><DD><A HREF="../../../../../org/geotools/data/jdbc/fidmapper/FIDMapper.html#getColumnDecimalDigits(int)"><CODE>FIDMapper.getColumnDecimalDigits(int)</CODE></A></DL></DD></DL><HR><A NAME="isAutoIncrement(int)"><!-- --></A><H3>isAutoIncrement</H3><PRE>public boolean <B>isAutoIncrement</B>(int colIndex)</PRE><DL><DD><B>Description copied from interface: <CODE><A HREF="../../../../../org/geotools/data/jdbc/fidmapper/FIDMapper.html" title="interface in org.geotools.data.jdbc.fidmapper">FIDMapper</A></CODE></B></DD><DD>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<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../org/geotools/data/jdbc/fidmapper/FIDMapper.html#isAutoIncrement(int)">isAutoIncrement</A></CODE> in interface <CODE><A HREF="../../../../../org/geotools/data/jdbc/fidmapper/FIDMapper.html" title="interface in org.geotools.data.jdbc.fidmapper">FIDMapper</A></CODE><DT><B>Overrides:</B><DD><CODE><A HREF="../../../../../org/geotools/data/jdbc/fidmapper/AbstractFIDMapper.html#isAutoIncrement(int)">isAutoIncrement</A></CODE> in class <CODE><A HREF="../../../../../org/geotools/data/jdbc/fidmapper/AbstractFIDMapper.html" title="class in org.geotools.data.jdbc.fidmapper">AbstractFIDMapper</A></CODE></DL></DD><DD><DL><DT><B>See Also:</B><DD><A HREF="../../../../../org/geotools/data/jdbc/fidmapper/FIDMapper.html#isAutoIncrement(int)"><CODE>FIDMapper.isAutoIncrement(int)</CODE></A></DL></DD></DL><HR><A NAME="equals(java.lang.Object)"><!-- --></A><H3>equals</H3><PRE>public boolean <B>equals</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)</PRE><DL><DD><DL><DT><B>See Also:</B><DD><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"><CODE>Object.equals(java.lang.Object)</CODE></A></DL></DD></DL><HR><A NAME="createID(java.sql.Connection, org.geotools.feature.Feature, java.sql.Statement)"><!-- --></A><H3>createID</H3><PRE>public <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>createID</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="../../../../../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) 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 interface: <CODE><A HREF="../../../../../org/geotools/data/jdbc/fidmapper/FIDMapper.html" title="interface in org.geotools.data.jdbc.fidmapper">FIDMapper</A></CODE></B></DD><DD>Creates a new ID for a feature. <br> This is done either by querying the database (for auto-increment like types, for example sequences) or by inspecting the Feature (for example, for primary keys with business meaning that whose attributes are included in the Feature ones).<P><DD><DL><DT><B>Parameters:</B><DD><CODE>conn</CODE> - - the database connection<DD><CODE>feature</CODE> - - the feature that needs the new FID<DD><CODE>statement</CODE> - - the statement used to insert the feature into the database<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><DT><B>See Also:</B><DD><A HREF="../../../../../org/geotools/data/jdbc/fidmapper/FIDMapper.html#createID(java.sql.Connection, org.geotools.feature.Feature, java.sql.Statement)"><CODE>FIDMapper.createID(java.sql.Connection, org.geotools.feature.Feature, Statement)</CODE></A></DL></DD></DL><HR><A NAME="initSupportStructures()"><!-- --></A><H3>initSupportStructures</H3><PRE>public void <B>initSupportStructures</B>()</PRE><DL><DD><B>Description copied from interface: <CODE><A HREF="../../../../../org/geotools/data/jdbc/fidmapper/FIDMapper.html" title="interface in org.geotools.data.jdbc.fidmapper">FIDMapper</A></CODE></B></DD><DD>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.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../org/geotools/data/jdbc/fidmapper/FIDMapper.html#initSupportStructures()">initSupportStructures</A></CODE> in interface <CODE><A HREF="../../../../../org/geotools/data/jdbc/fidmapper/FIDMapper.html" title="interface in org.geotools.data.jdbc.fidmapper">FIDMapper</A></CODE><DT><B>Overrides:</B><DD><CODE><A HREF="../../../../../org/geotools/data/jdbc/fidmapper/AbstractFIDMapper.html#initSupportStructures()">initSupportStructures</A></CODE> in class <CODE><A HREF="../../../../../org/geotools/data/jdbc/fidmapper/AbstractFIDMapper.html" title="class in org.geotools.data.jdbc.fidmapper">AbstractFIDMapper</A></CODE></DL></DD><DD><DL><DT><B>See Also:</B><DD><A HREF="../../../../../org/geotools/data/jdbc/fidmapper/FIDMapper.html#initSupportStructures()"><CODE>FIDMapper.initSupportStructures()</CODE></A></DL></DD></DL><HR><A NAME="getWrappedMapper()"><!-- --></A><H3>getWrappedMapper</H3><PRE>public <A HREF="../../../../../org/geotools/data/jdbc/fidmapper/FIDMapper.html" title="interface in org.geotools.data.jdbc.fidmapper">FIDMapper</A> <B>getWrappedMapper</B>()</PRE><DL><DD>Returns the base mapper wrapped by this TypedFIDMapper<P><DD><DL></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/HsqlFIDMapper.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"> PREV CLASS <A HREF="../../../../../org/geotools/data/hsql/fidmapper/HsqlFIDMapperFactory.html" title="class in org.geotools.data.hsql.fidmapper"><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> <A HREF="HsqlFIDMapper.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: NESTED | <A HREF="#fields_inherited_from_class_AbstractFIDMapper">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 + -