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

📄 postgisdatastore.html

📁 Geotools是一个开源的Java GIS工具包,可利用它来开发符合标准的地理信息系统。Geotools提供了OGC(Open Geospatial Consortium)规范的一个实现来作为他们的
💻 HTML
📖 第 1 页 / 共 5 页
字号:
<TD><CODE><B><A HREF="../../../../org/geotools/data/postgis/PostgisDataStore.html#estimatedExtent">estimatedExtent</A></B></CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;set to true if the bounds for a table should be computed using the   estimated_extent' function, but beware that this function is less accurate and in some cases *far* less accurate if the data within the actual bounds does not follow a uniform distribution.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>protected static&nbsp;<A HREF="http://www.jump-project.org/docs/jts/1.7/api/com/vividsolutions/jts/geom/GeometryFactory.html" title="class or interface in com.vividsolutions.jts.geom">GeometryFactory</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/geotools/data/postgis/PostgisDataStore.html#geometryFactory">geometryFactory</A></B></CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Factory for producing geometries (from JTS).</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>protected static&nbsp;<A HREF="http://www.jump-project.org/docs/jts/1.7/api/com/vividsolutions/jts/io/WKTReader.html" title="class or interface in com.vividsolutions.jts.io">WKTReader</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/geotools/data/postgis/PostgisDataStore.html#geometryReader">geometryReader</A></B></CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Well Known Text reader (from JTS).</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>protected static&nbsp;<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/util/logging/Logger.html" title="class or interface in java.util.logging">Logger</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/geotools/data/postgis/PostgisDataStore.html#LOGGER">LOGGER</A></B></CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;The logger for the postgis module.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>protected &nbsp;boolean</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/geotools/data/postgis/PostgisDataStore.html#looseBbox">looseBbox</A></B></CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;If true then the bounding box filters will use the && postgis operator, which uses the spatial index and performs against the envelope of the geom, leading to greater speed and slightly less accuracy.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;int</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/geotools/data/postgis/PostgisDataStore.html#OPTIMIZE_MODE">OPTIMIZE_MODE</A></B></CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<B>Deprecated.</B>&nbsp;<I>Dot not use this directly, use <A HREF="../../../../org/geotools/data/postgis/PostgisDataStore.html#getOptimizeMode()"><CODE>getOptimizeMode()</CODE></A>.</I></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static&nbsp;int</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/geotools/data/postgis/PostgisDataStore.html#OPTIMIZE_SAFE">OPTIMIZE_SAFE</A></B></CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;OPTIMIZE_MODE constants</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static&nbsp;int</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/geotools/data/postgis/PostgisDataStore.html#OPTIMIZE_SQL">OPTIMIZE_SQL</A></B></CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>protected &nbsp;boolean</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/geotools/data/postgis/PostgisDataStore.html#schemaEnabled">schemaEnabled</A></B></CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Flag indicating whether schema support</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>protected &nbsp;boolean</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/geotools/data/postgis/PostgisDataStore.html#useGeos">useGeos</A></B></CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Enables the use of geos operators</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>protected &nbsp;boolean</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/geotools/data/postgis/PostgisDataStore.html#WKBEnabled">WKBEnabled</A></B></CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;If true, WKB format is used instead of WKT</TD></TR></TABLE>&nbsp;<A NAME="fields_inherited_from_class_JDBC2DataStore"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"><TD><B>Fields inherited from class <A HREF="../../../../org/geotools/data/jdbc/JDBC2DataStore.html" title="class in org.geotools.data.jdbc">JDBC2DataStore</A></B></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><A HREF="../../../../org/geotools/data/jdbc/JDBC2DataStore.html#connectionPool">connectionPool</A></CODE></TD></TR></TABLE>&nbsp;<A NAME="fields_inherited_from_class_JDBC1DataStore"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"><TD><B>Fields inherited from class <A HREF="../../../../org/geotools/data/jdbc/JDBC1DataStore.html" title="class in org.geotools.data.jdbc">JDBC1DataStore</A></B></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><A HREF="../../../../org/geotools/data/jdbc/JDBC1DataStore.html#allowWriteOnVolatileFIDs">allowWriteOnVolatileFIDs</A>, <A HREF="../../../../org/geotools/data/jdbc/JDBC1DataStore.html#config">config</A>, <A HREF="../../../../org/geotools/data/jdbc/JDBC1DataStore.html#listenerManager">listenerManager</A>, <A HREF="../../../../org/geotools/data/jdbc/JDBC1DataStore.html#sqlNameEscape">sqlNameEscape</A>, <A HREF="../../../../org/geotools/data/jdbc/JDBC1DataStore.html#transactionIsolation">transactionIsolation</A>, <A HREF="../../../../org/geotools/data/jdbc/JDBC1DataStore.html#TYPE_MAPPINGS">TYPE_MAPPINGS</A>, <A HREF="../../../../org/geotools/data/jdbc/JDBC1DataStore.html#typeHandler">typeHandler</A></CODE></TD></TR></TABLE>&nbsp;<!-- ======== CONSTRUCTOR SUMMARY ======== --><A NAME="constructor_summary"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TD COLSPAN=2><FONT SIZE="+2"><B>Constructor Summary</B></FONT></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>protected </CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/geotools/data/postgis/PostgisDataStore.html#PostgisDataStore(org.geotools.data.jdbc.ConnectionPool)">PostgisDataStore</A></B>(<A HREF="../../../../org/geotools/data/jdbc/ConnectionPool.html" title="class in org.geotools.data.jdbc">ConnectionPool</A>&nbsp;connPool)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/geotools/data/postgis/PostgisDataStore.html#PostgisDataStore(org.geotools.data.jdbc.ConnectionPool, org.geotools.data.jdbc.JDBCDataStoreConfig, int)">PostgisDataStore</A></B>(<A HREF="../../../../org/geotools/data/jdbc/ConnectionPool.html" title="class in org.geotools.data.jdbc">ConnectionPool</A>&nbsp;connectionPool,                 <A HREF="../../../../org/geotools/data/jdbc/JDBCDataStoreConfig.html" title="class in org.geotools.data.jdbc">JDBCDataStoreConfig</A>&nbsp;config,                 int&nbsp;optimizeMode)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>protected </CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/geotools/data/postgis/PostgisDataStore.html#PostgisDataStore(org.geotools.data.jdbc.ConnectionPool, java.lang.String)">PostgisDataStore</A></B>(<A HREF="../../../../org/geotools/data/jdbc/ConnectionPool.html" title="class in org.geotools.data.jdbc">ConnectionPool</A>&nbsp;connPool,                 <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)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>protected </CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/geotools/data/postgis/PostgisDataStore.html#PostgisDataStore(org.geotools.data.jdbc.ConnectionPool, java.lang.String, java.lang.String)">PostgisDataStore</A></B>(<A HREF="../../../../org/geotools/data/jdbc/ConnectionPool.html" title="class in org.geotools.data.jdbc">ConnectionPool</A>&nbsp;connPool,                 <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;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>&nbsp;namespace)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>protected </CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/geotools/data/postgis/PostgisDataStore.html#PostgisDataStore(org.geotools.data.jdbc.ConnectionPool, java.lang.String, java.lang.String, int)">PostgisDataStore</A></B>(<A HREF="../../../../org/geotools/data/jdbc/ConnectionPool.html" title="class in org.geotools.data.jdbc">ConnectionPool</A>&nbsp;connPool,                 <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;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>&nbsp;namespace,                 int&nbsp;optimizeMode)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD></TR></TABLE>&nbsp;<!-- ========== METHOD SUMMARY =========== --><A NAME="method_summary"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TD COLSPAN=2><FONT SIZE="+2"><B>Method Summary</B></FONT></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>protected &nbsp;boolean</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/geotools/data/postgis/PostgisDataStore.html#allowTable(java.lang.String)">allowTable</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>&nbsp;tablename)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Provides a hook for sub classes to filter out specific tables in the data store that are not to be used as geospatial tables. </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>protected &nbsp;<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/postgis/PostgisDataStore.html#attributeNames(org.geotools.feature.FeatureType, org.geotools.filter.Filter)">attributeNames</A></B>(<A HREF="../../../../org/geotools/feature/FeatureType.html" title="interface in org.geotools.feature">FeatureType</A>&nbsp;featureType,               <A HREF="../../../../org/geotools/filter/Filter.html" title="interface in org.geotools.filter">Filter</A>&nbsp;filter)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Gets the list of attribute names required for both featureType and filter</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>protected &nbsp;<A HREF="../../../../org/geotools/feature/AttributeType.html" title="interface in org.geotools.feature">AttributeType</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/geotools/data/postgis/PostgisDataStore.html#buildAttributeType(java.sql.ResultSet)">buildAttributeType</A></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;metadataRs)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Constructs an AttributeType from a row in a ResultSet. </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>protected &nbsp;<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/postgis/PostgisDataStore.html#buildFIDMapper(java.lang.String, org.geotools.data.jdbc.fidmapper.FIDMapperFactory)">buildFIDMapper</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>&nbsp;typeName,               <A HREF="../../../../org/geotools/data/jdbc/fidmapper/FIDMapperFactory.html" title="interface in org.geotools.data.jdbc.fidmapper">FIDMapperFactory</A>&nbsp;factory)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Builds the appropriate FID mapper given a table name and a FID mapper factory</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>protected &nbsp;<A HREF="../../../../org/geotools/data/jdbc/fidmapper/FIDMapperFactory.html" title="interface in org.geotools.data.jdbc.fidmapper">FIDMapperFactory</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/geotools/data/postgis/PostgisDataStore.html#buildFIDMapperFactory(org.geotools.data.jdbc.JDBCDataStoreConfig)">buildFIDMapperFactory</A></B>(<A HREF="../../../../org/geotools/data/jdbc/JDBCDataStoreConfig.html" title="class in org.geotools.data.jdbc">JDBCDataStoreConfig</A>&nbsp;config)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>protected &nbsp;<A HREF="../../../../org/geotools/feature/FeatureType.html" title="interface in org.geotools.feature">FeatureType</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/geotools/data/postgis/PostgisDataStore.html#buildSchema(java.lang.String, org.geotools.data.jdbc.fidmapper.FIDMapper)">buildSchema</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>&nbsp;typeName,            <A HREF="../../../../org/geotools/data/jdbc/fidmapper/FIDMapper.html" title="interface in org.geotools.data.jdbc.fidmapper">FIDMapper</A>&nbsp;mapper)</CODE>

⌨️ 快捷键说明

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