📄 postgisdatastore.html
字号:
<P><DD>Current optimize mode<P><DL></DL></DL><HR><A NAME="WKBEnabled"><!-- --></A><H3>WKBEnabled</H3><PRE>protected boolean <B>WKBEnabled</B></PRE><DL><DD>If true, WKB format is used instead of WKT<P><DL></DL></DL><HR><A NAME="byteaEnabled"><!-- --></A><H3>byteaEnabled</H3><PRE>protected boolean <B>byteaEnabled</B></PRE><DL><DD>If true, the bytea function will be used to optimize even further data loading when using WKB format<P><DL></DL></DL><HR><A NAME="byteaWKB"><!-- --></A><H3>byteaWKB</H3><PRE>protected boolean <B>byteaWKB</B></PRE><DL><DD>postgis 1.0 changed the way WKB is handled, this needs to be set if version >1. (it affects the way you send WKB to the database)<P><DL></DL></DL><HR><A NAME="looseBbox"><!-- --></A><H3>looseBbox</H3><PRE>protected boolean <B>looseBbox</B></PRE><DL><DD>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.<P><DL></DL></DL><HR><A NAME="estimatedExtent"><!-- --></A><H3>estimatedExtent</H3><PRE>protected boolean <B>estimatedExtent</B></PRE><DL><DD>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.<P><DL></DL></DL><HR><A NAME="schemaEnabled"><!-- --></A><H3>schemaEnabled</H3><PRE>protected boolean <B>schemaEnabled</B></PRE><DL><DD>Flag indicating whether schema support<P><DL></DL></DL><!-- ========= 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="PostgisDataStore(org.geotools.data.jdbc.ConnectionPool)"><!-- --></A><H3>PostgisDataStore</H3><PRE>protected <B>PostgisDataStore</B>(<A HREF="../../../../org/geotools/data/jdbc/ConnectionPool.html" title="class in org.geotools.data.jdbc">ConnectionPool</A> connPool) 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></DL><HR><A NAME="PostgisDataStore(org.geotools.data.jdbc.ConnectionPool, java.lang.String)"><!-- --></A><H3>PostgisDataStore</H3><PRE>protected <B>PostgisDataStore</B>(<A HREF="../../../../org/geotools/data/jdbc/ConnectionPool.html" title="class in org.geotools.data.jdbc">ConnectionPool</A> 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> namespace) 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></DL><HR><A NAME="PostgisDataStore(org.geotools.data.jdbc.ConnectionPool, java.lang.String, java.lang.String)"><!-- --></A><H3>PostgisDataStore</H3><PRE>protected <B>PostgisDataStore</B>(<A HREF="../../../../org/geotools/data/jdbc/ConnectionPool.html" title="class in org.geotools.data.jdbc">ConnectionPool</A> 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> 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> namespace) 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></DL><HR><A NAME="PostgisDataStore(org.geotools.data.jdbc.ConnectionPool, java.lang.String, java.lang.String, int)"><!-- --></A><H3>PostgisDataStore</H3><PRE>protected <B>PostgisDataStore</B>(<A HREF="../../../../org/geotools/data/jdbc/ConnectionPool.html" title="class in org.geotools.data.jdbc">ConnectionPool</A> 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> 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> namespace, int optimizeMode) 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></DL><HR><A NAME="PostgisDataStore(org.geotools.data.jdbc.ConnectionPool, org.geotools.data.jdbc.JDBCDataStoreConfig, int)"><!-- --></A><H3>PostgisDataStore</H3><PRE>public <B>PostgisDataStore</B>(<A HREF="../../../../org/geotools/data/jdbc/ConnectionPool.html" title="class in org.geotools.data.jdbc">ConnectionPool</A> connectionPool, <A HREF="../../../../org/geotools/data/jdbc/JDBCDataStoreConfig.html" title="class in org.geotools.data.jdbc">JDBCDataStoreConfig</A> config, int optimizeMode) 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></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="schema(java.lang.String)"><!-- --></A><H3>schema</H3><PRE>protected static <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>schema</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> schema)</PRE><DL><DD>Simple helper method to ensure that a schema is always set.<P><DD><DL></DL></DD><DD><DL></DL></DD></DL><HR><A NAME="createLockingManager()"><!-- --></A><H3>createLockingManager</H3><PRE>protected <A HREF="../../../../org/geotools/data/LockingManager.html" title="interface in org.geotools.data">LockingManager</A> <B>createLockingManager</B>()</PRE><DL><DD>Allows subclass to create LockingManager to support their needs.<P><DD><DL><DT><B>Overrides:</B><DD><CODE><A HREF="../../../../org/geotools/data/jdbc/JDBC1DataStore.html#createLockingManager()">createLockingManager</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></DL></DD></DL><HR><A NAME="createSQLBuilder()"><!-- --></A><H3>createSQLBuilder</H3><PRE>protected <A HREF="../../../../org/geotools/data/postgis/PostgisSQLBuilder.html" title="class in org.geotools.data.postgis">PostgisSQLBuilder</A> <B>createSQLBuilder</B>()</PRE><DL><DD>Creates a new sql builder for encoding raw sql statements;<P><DD><DL></DL></DD><DD><DL></DL></DD></DL><HR><A NAME="guessDataStoreOptions()"><!-- --></A><H3>guessDataStoreOptions</H3><PRE>protected void <B>guessDataStoreOptions</B>() 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>Attempts to figure out some optimization options, based on some postgis metadata. If the version is later than 0.7.2 then bytea will be used to read geometries if WKB is enabled. And it will read if GEOS is enabled from the version string as well.<P><DD><DL></DL></DD><DD><DL><DT><B>Throws:</B><DD><CODE><A HREF="http://java.sun.com/j2se/1.4/docs/api/jav
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -