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

📄 oracledatastore.html

📁 Geotools是一个开源的Java GIS工具包,可利用它来开发符合标准的地理信息系统。Geotools提供了OGC(Open Geospatial Consortium)规范的一个实现来作为他们的
💻 HTML
📖 第 1 页 / 共 4 页
字号:
<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><HR><A NAME="OracleDataStore(org.geotools.data.jdbc.ConnectionPool, java.lang.String, java.util.Map)"><!-- --></A><H3>OracleDataStore</H3><PRE>public <B>OracleDataStore</B>(<A HREF="../../../../org/geotools/data/jdbc/ConnectionPool.html" title="class in org.geotools.data.jdbc">ConnectionPool</A>&nbsp;connectionPool,                       <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;schemaName,                       <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/util/Map.html" title="class or interface in java.util">Map</A>&nbsp;fidGeneration)                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><DT><B>Parameters:</B><DD><CODE>connectionPool</CODE> - <DT><B>Throws:</B><DD><CODE><A HREF="../../../../org/geotools/data/DataSourceException.html" title="class in org.geotools.data">DataSourceException</A></CODE><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><HR><A NAME="OracleDataStore(org.geotools.data.jdbc.ConnectionPool, java.lang.String, java.lang.String, java.util.Map)"><!-- --></A><H3>OracleDataStore</H3><PRE>public <B>OracleDataStore</B>(<A HREF="../../../../org/geotools/data/jdbc/ConnectionPool.html" title="class in org.geotools.data.jdbc">ConnectionPool</A>&nbsp;connectionPool,                       <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;namespace,                       <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;schemaName,                       <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/util/Map.html" title="class or interface in java.util">Map</A>&nbsp;fidGeneration)                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><DT><B>Parameters:</B><DD><CODE>connectionPool</CODE> - <DD><CODE>namespace</CODE> - <DT><B>Throws:</B><DD><CODE><A HREF="../../../../org/geotools/data/DataSourceException.html" title="class in org.geotools.data">DataSourceException</A></CODE><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><!-- ============ METHOD DETAIL ========== --><A NAME="method_detail"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TD COLSPAN=1><FONT SIZE="+2"><B>Method Detail</B></FONT></TD></TR></TABLE><A NAME="allowTable(java.lang.String)"><!-- --></A><H3>allowTable</H3><PRE>protected boolean <B>allowTable</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;tablename)</PRE><DL><DD>Crops non feature type tables.  There are alot of additional tables in a Oracle tablespace. This tries to remove some of them.  If the schemaName is provided in the Constructor then the job of narrowing down tables will be mush easier.  Otherwise there are alot of Meta tables and SDO tables to cull.  This method tries to remove as many as possible.<P><DD><DL><DT><B>Overrides:</B><DD><CODE><A HREF="../../../../org/geotools/data/jdbc/JDBC1DataStore.html#allowTable(java.lang.String)">allowTable</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>tablename</CODE> - A table name to check.<DT><B>Returns:</B><DD>True if the table should be exposed as a FeatureType, false if it         should be ignored.<DT><B>See Also:</B><DD><A HREF="../../../../org/geotools/data/jdbc/JDBC1DataStore.html#allowTable(java.lang.String)"><CODE>JDBC1DataStore.allowTable(java.lang.String)</CODE></A></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>Overrides the buildAttributeType method to check for SDO_GEOMETRY columns.<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 or null if the column         should be excluded from the schema.<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 an error occurs processing the ResultSet.<DT><B>See Also:</B><DD><a href="http://download-west.oracle.com/docs/cd/B14117_01/appdev.101/b10826.pdf">A doc from Oracle.</a>   TODO: Determine the specific type of the geometry.</DL></DD></DL><HR><A NAME="determineCRS(int)"><!-- --></A><H3>determineCRS</H3><PRE>protected CoordinateReferenceSystem <B>determineCRS</B>(int&nbsp;srid)                                                                      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><DL><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="determineSRID(java.lang.String, java.lang.String)"><!-- --></A><H3>determineSRID</H3><PRE>protected int <B>determineSRID</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;tableName,                            <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;geometryColumnName)                     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>Provides a hook for subclasses to determine the SRID of a geometry column. <p> This allows SRIDs to be determined in a Vendor specific way and to be cached by the default implementation. To retreive these srids, get the FeatureTypeInfo object for the table and call getSRID(geometryColumnName). This will allow storage of SRIDs for multiple geometry columns in each table. </p> <p> If no SRID can be found, subclasses should return -1. The default implementation always returns -1. </p><P><DD><DL><DT><B>Overrides:</B><DD><CODE><A HREF="../../../../org/geotools/data/jdbc/JDBC1DataStore.html#determineSRID(java.lang.String, java.lang.String)">determineSRID</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>tableName</CODE> - The name of the table to get the SRID for.<DD><CODE>geometryColumnName</CODE> - The name of the geometry column within the table to get SRID            for.<DT><B>Returns:</B><DD>The SRID for the geometry column in the table or -1.<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/JDBC1DataStore.html#determineSRID(java.lang.String, java.lang.String)"><CODE>JDBC1DataStore.determineSRID(java.lang.String, java.lang.String)</CODE></A></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)                                      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>

⌨️ 快捷键说明

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