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

📄 hsqldatastore.html

📁 Geotools是一个开源的Java GIS工具包,可利用它来开发符合标准的地理信息系统。Geotools提供了OGC(Open Geospatial Consortium)规范的一个实现来作为他们的
💻 HTML
📖 第 1 页 / 共 5 页
字号:
<DT><B>Overrides:</B><DD><CODE><A HREF="../../../../org/geotools/data/jdbc/JDBC1DataStore.html#buildFIDMapperFactory(org.geotools.data.jdbc.JDBCDataStoreConfig)">buildFIDMapperFactory</A></CODE> in class <CODE><A HREF="../../../../org/geotools/data/jdbc/JDBC1DataStore.html" title="class in org.geotools.data.jdbc">JDBC1DataStore</A></CODE></DL></DD><DD><DL><DT><B>See Also:</B><DD><A HREF="../../../../org/geotools/data/jdbc/JDBC1DataStore.html#buildFIDMapperFactory(org.geotools.data.jdbc.JDBCDataStoreConfig)"><CODE>JDBC1DataStore.buildFIDMapperFactory(org.geotools.data.jdbc.JDBCDataStoreConfig)</CODE></A></DL></DD></DL><HR><A NAME="addFeatures(org.geotools.feature.Feature[])"><!-- --></A><H3>addFeatures</H3><PRE>public void <B>addFeatures</B>(<A HREF="../../../../org/geotools/feature/Feature.html" title="interface in org.geotools.feature">Feature</A>[]&nbsp;features)                 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>Convenience method to add feature to the datastore<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>features</CODE> - an array of features that should be added to the datastore<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="getFeatureWriter(java.lang.String)"><!-- --></A><H3>getFeatureWriter</H3><PRE>public <A HREF="../../../../org/geotools/data/FeatureWriter.html" title="interface in org.geotools.data">FeatureWriter</A> <B>getFeatureWriter</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;typeName)                               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>Utility method for getting a FeatureWriter for modifying existing features, using no feature filtering and auto-committing.  Not used for adding new features.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>typeName</CODE> - the feature type name (the table name)<DT><B>Returns:</B><DD>a FeatureWriter for modifying existing features<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> - if the database cannot be properly accessed</DL></DD></DL><HR><A NAME="getFeatureWriter(java.lang.String, org.geotools.filter.Filter, org.geotools.data.Transaction)"><!-- --></A><H3>getFeatureWriter</H3><PRE>public <A HREF="../../../../org/geotools/data/FeatureWriter.html" title="interface in org.geotools.data">FeatureWriter</A> <B>getFeatureWriter</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;typeName,                                      <A HREF="../../../../org/geotools/filter/Filter.html" title="interface in org.geotools.filter">Filter</A>&nbsp;filter,                                      <A HREF="../../../../org/geotools/data/Transaction.html" title="interface in org.geotools.data">Transaction</A>&nbsp;transaction)                               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>Acquire FeatureWriter for modification of contents specifed by filter.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/geotools/data/DataStore.html#getFeatureWriter(java.lang.String, org.geotools.filter.Filter, org.geotools.data.Transaction)">getFeatureWriter</A></CODE> in interface <CODE><A HREF="../../../../org/geotools/data/DataStore.html" title="interface in org.geotools.data">DataStore</A></CODE><DT><B>Overrides:</B><DD><CODE><A HREF="../../../../org/geotools/data/jdbc/JDBC1DataStore.html#getFeatureWriter(java.lang.String, org.geotools.filter.Filter, org.geotools.data.Transaction)">getFeatureWriter</A></CODE> in class <CODE><A HREF="../../../../org/geotools/data/jdbc/JDBC1DataStore.html" title="class in org.geotools.data.jdbc">JDBC1DataStore</A></CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>typeName</CODE> - <DD><CODE>filter</CODE> - <DD><CODE>transaction</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> - If typeName could not be located<DD><CODE><A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/NullPointerException.html" title="class or interface in java.lang">NullPointerException</A></CODE> - If the provided filter is null<DT><B>See Also:</B><DD><CODE>org.geotools.data.DataStore#getFeatureWriter(java.lang.String,      org.geotools.filter.Filter, org.geotools.data.Transaction,      org.geotools.data.jdbc.JDBC1DataStore#getFeatureWriter)</CODE></DL></DD></DL><HR><A NAME="getFeatureWriterAppend(java.lang.String)"><!-- --></A><H3>getFeatureWriterAppend</H3><PRE>public <A HREF="../../../../org/geotools/data/FeatureWriter.html" title="interface in org.geotools.data">FeatureWriter</A> <B>getFeatureWriterAppend</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;typeName)                                     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>Utility method for getting a FeatureWriter for adding new features, using auto-committing.  Not used for modifying existing features.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>typeName</CODE> - the feature type name (the table name)<DT><B>Returns:</B><DD>a FeatureWriter for adding new features<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> - if the database cannot be properly accessed</DL></DD></DL><HR><A NAME="buildAttributeType(java.sql.ResultSet)"><!-- --></A><H3>buildAttributeType</H3><PRE>protected <A HREF="../../../../org/geotools/feature/AttributeType.html" title="interface in org.geotools.feature">AttributeType</A> <B>buildAttributeType</B>(<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/sql/ResultSet.html" title="class or interface in java.sql">ResultSet</A>&nbsp;rs)                                    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>Constructs an AttributeType from a row in a ResultSet. The ResultSet contains the information retrieved by a call to  getColumns() on the DatabaseMetaData object.  This information  can be used to construct an Attribute Type.  <p> In addition to standard SQL types, this method identifies MySQL 4.1's geometric datatypes and creates attribute types accordingly.  This happens when the datatype, identified by column 5 of the ResultSet parameter, is equal to java.sql.Types.OTHER.  If a Types.OTHER ends up not being geometric, this method simply calls the parent class's buildAttributeType method to do something with it. </p>  <p> Note: Overriding methods must never move the current row pointer in the result set. </p><P><DD><DL><DT><B>Overrides:</B><DD><CODE><A HREF="../../../../org/geotools/data/jdbc/JDBC1DataStore.html#buildAttributeType(java.sql.ResultSet)">buildAttributeType</A></CODE> in class <CODE><A HREF="../../../../org/geotools/data/jdbc/JDBC1DataStore.html" title="class in org.geotools.data.jdbc">JDBC1DataStore</A></CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>rs</CODE> - The ResultSet containing the result of a        DatabaseMetaData.getColumns call.<DT><B>Returns:</B><DD>The AttributeType built from the ResultSet.<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> - If an error occurs processing the ResultSet.<DD><CODE><A HREF="../../../../org/geotools/data/DataSourceException.html" title="class in org.geotools.data">DataSourceException</A></CODE> - Provided for overriding classes to wrap         exceptions caused by other operations they may perform to         determine additional types.  This will only be thrown by the         default implementation if a type is present that is not present         in the TYPE_MAPPINGS.<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> - If an error occurs processing the ResultSet.</DL></DD></DL><HR><A NAME="getSqlBuilder(java.lang.String)"><!-- --></A><H3>getSqlBuilder</H3><PRE>public <A HREF="../../../../org/geotools/data/jdbc/SQLBuilder.html" title="interface in org.geotools.data.jdbc">SQLBuilder</A> <B>getSqlBuilder</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;typeName)                         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/JDBC1DataStore.html" title="class in org.geotools.data.jdbc">JDBC1DataStore</A></CODE></B></DD><DD>Hook for subclass to return a different sql builder. <p> Subclasses requiring a ClientTransactionAccessor should override and instantiate an SQLBuilder with one in the constructor.<P><DD><DL><DT><B>Overrides:</B><DD><CODE><A HREF="../../../../org/geotools/data/jdbc/JDBC1DataStore.html#getSqlBuilder(java.lang.String)">getSqlBuilder</A></CODE> in class <CODE><A HREF="../../../../org/geotools/data/jdbc/JDBC1DataStore.html" title="class in org.geotools.data.jdbc">JDBC1DataStore</A></CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>typeName</CODE> - The typename for the sql builder.<DT><B>Returns:</B><DD>A new sql builder.<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> - if anything goes wrong.<DT><B>See Also:</B><DD><A HREF="../../../../org/geotools/data/jdbc/JDBC1DataStore.html#getSqlBuilder(java.lang.String)"><CODE>JDBC1DataStore.getSqlBuilder(java.lang.String)</CODE></A></DL></DD></DL><HR><A NAME="getGeometryAttributeIO(org.geotools.feature.AttributeType, org.geotools.data.jdbc.QueryData)"><!-- --></A><H3>getGeometryAttributeIO</H3><PRE>protected <A HREF="../../../../org/geotools/data/jdbc/attributeio/AttributeIO.html" title="interface in org.geotools.data.jdbc.attributeio">AttributeIO</A> <B>getGeometryAttributeIO</B>(<A HREF="../../../../org/geotools/feature/AttributeType.html" title="interface in org.geotools.feature">AttributeType</A>&nbsp;type,                                             <A HREF="../../../../org/geotools/data/jdbc/QueryData.html" title="class in org.geotools.data.jdbc">QueryData</A>&nbsp;queryData)</PRE><DL><DD><B>Description copied from class: <CODE><A HREF="../../../../org/geotools/data/jdbc/JDBC1DataStore.html" title="class in org.geotools.data.jdbc">JDBC1DataStore</A></CODE></B></DD><DD>Hook to create the geometry attribute IO for a vendor specific data source.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/geotools/data/jdbc/JDBC1DataStore.html#getGeometryAttributeIO(org.geotools.feature.AttributeType, org.geotools.data.jdbc.QueryData)">getGeometryAttributeIO</A></CODE> in class <CODE><A HREF="../../../../org/geotools/data/jdbc/JDBC1DataStore.html" title="class in org.geotools.data.jdbc">JDBC1DataStore</A></CODE></DL></DD><DD><DL>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -