📄 postgisdatastore.html
字号:
</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> boolean</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/geotools/data/postgis/PostgisDataStore.html#isLooseBbox()">isLooseBbox</A></B>()</CODE><BR> Whether the bounding boxes issued against this postgis datastore are on the envelope of the geometry or the actual geometry.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> boolean</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/geotools/data/postgis/PostgisDataStore.html#isWKBEnabled()">isWKBEnabled</A></B>()</CODE><BR> Returns true if the WKB format is used to transfer geometries, false otherwise</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>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></CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/geotools/data/postgis/PostgisDataStore.html#schema(java.lang.String)">schema</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> schema)</CODE><BR> Simple helper method to ensure that a schema is always set.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/geotools/data/postgis/PostgisDataStore.html#setByteaEnabled(boolean)">setByteaEnabled</A></B>(boolean byteaEnabled)</CODE><BR> Enables the use of bytea function for WKB data transfer (will improve performance). </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/geotools/data/postgis/PostgisDataStore.html#setByteaWKB(boolean)">setByteaWKB</A></B>(boolean byteaWKB)</CODE><BR> </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/geotools/data/postgis/PostgisDataStore.html#setEstimatedExtent(boolean)">setEstimatedExtent</A></B>(boolean estimatedExtent)</CODE><BR> Enables the use of the 'estimated_extent' function for bounds computation. </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/geotools/data/postgis/PostgisDataStore.html#setLooseBbox(boolean)">setLooseBbox</A></B>(boolean isLooseBbox)</CODE><BR> Sets this postgis instance to use a less strict but faster bounding box query. </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/geotools/data/postgis/PostgisDataStore.html#setOptimizeMode(int)">setOptimizeMode</A></B>(int mode)</CODE><BR> Sets the optimization mode for the datastore.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/geotools/data/postgis/PostgisDataStore.html#setWKBEnabled(boolean)">setWKBEnabled</A></B>(boolean enabled)</CODE><BR> If turned on, WKB will be used to transfer geometry data instead of WKT</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/geotools/data/postgis/PostgisDataStore.html#updateSchema(java.lang.String, org.geotools.feature.FeatureType)">updateSchema</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> typeName, <A HREF="../../../../org/geotools/feature/FeatureType.html" title="interface in org.geotools.feature">FeatureType</A> featureType)</CODE><BR> Used to force namespace and CS info into a persistent change. </TD></TR></TABLE> <A NAME="methods_inherited_from_class_JDBC2DataStore"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"><TD><B>Methods 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#createConnection()">createConnection</A></CODE></TD></TR></TABLE> <A NAME="methods_inherited_from_class_JDBC1DataStore"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"><TD><B>Methods 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#allSameOrder(java.lang.String[], org.geotools.feature.FeatureType)">allSameOrder</A>, <A HREF="../../../../org/geotools/data/jdbc/JDBC1DataStore.html#createFeatureReader(org.geotools.feature.FeatureType, org.geotools.filter.Filter, org.geotools.data.jdbc.QueryData)">createFeatureReader</A>, <A HREF="../../../../org/geotools/data/jdbc/JDBC1DataStore.html#determineFidColumnName(java.lang.String)">determineFidColumnName</A>, <A HREF="../../../../org/geotools/data/jdbc/JDBC1DataStore.html#executeQuery(org.geotools.data.jdbc.FeatureTypeInfo, java.lang.String, java.lang.String, org.geotools.data.Transaction, boolean)">executeQuery</A>, <A HREF="../../../../org/geotools/data/jdbc/JDBC1DataStore.html#getAttributeIO(org.geotools.feature.AttributeType)">getAttributeIO</A>, <A HREF="../../../../org/geotools/data/jdbc/JDBC1DataStore.html#getAttributeTypes(java.lang.String, java.lang.String[])">getAttributeTypes</A>, <A HREF="../../../../org/geotools/data/jdbc/JDBC1DataStore.html#getConnection(org.geotools.data.Transaction)">getConnection</A>, <A HREF="../../../../org/geotools/data/jdbc/JDBC1DataStore.html#getFeatureReader(org.geotools.data.Query, org.geotools.data.Transaction)">getFeatureReader</A>, <A HREF="../../../../org/geotools/data/jdbc/JDBC1DataStore.html#getFeatureTypeHandler(org.geotools.data.jdbc.JDBCDataStoreConfig)">getFeatureTypeHandler</A>, <A HREF="../../../../org/geotools/data/jdbc/JDBC1DataStore.html#getFeatureWriter(java.lang.String, org.geotools.filter.Filter, org.geotools.data.Transaction)">getFeatureWriter</A>, <A HREF="../../../../org/geotools/data/jdbc/JDBC1DataStore.html#getFIDMapper(java.lang.String)">getFIDMapper</A>, <A HREF="../../../../org/geotools/data/jdbc/JDBC1DataStore.html#getFIDMapperFactory()">getFIDMapperFactory</A>, <A HREF="../../../../org/geotools/data/jdbc/JDBC1DataStore.html#getJDBCFeatureReader(org.geotools.data.jdbc.QueryData)">getJDBCFeatureReader</A>, <A HREF="../../../../org/geotools/data/jdbc/JDBC1DataStore.html#getLockingManager()">getLockingManager</A>, <A HREF="../../../../org/geotools/data/jdbc/JDBC1DataStore.html#getNameSpace()">getNameSpace</A>, <A HREF="../../../../org/geotools/data/jdbc/JDBC1DataStore.html#getSqlNameEscape()">getSqlNameEscape</A>, <A HREF="../../../../org/geotools/data/jdbc/JDBC1DataStore.html#getTransactionIsolation()">getTransactionIsolation</A>, <A HREF="../../../../org/geotools/data/jdbc/JDBC1DataStore.html#getView(org.geotools.data.Query)">getView</A>, <A HREF="../../../../org/geotools/data/jdbc/JDBC1DataStore.html#propertyNames(org.geotools.data.Query)">propertyNames</A>, <A HREF="../../../../org/geotools/data/jdbc/JDBC1DataStore.html#requireAutoCommit()">requireAutoCommit</A>, <A HREF="../../../../org/geotools/data/jdbc/JDBC1DataStore.html#setAutoCommit(boolean, java.sql.Connection)">setAutoCommit</A>, <A HREF="../../../../org/geotools/data/jdbc/JDBC1DataStore.html#setFIDMapper(java.lang.String, org.geotools.data.jdbc.fidmapper.FIDMapper)">setFIDMapper</A>, <A HREF="../../../../org/geotools/data/jdbc/JDBC1DataStore.html#setFIDMapperFactory(org.geotools.data.jdbc.fidmapper.FIDMapperFactory)">setFIDMapperFactory</A>, <A HREF="../../../../org/geotools/data/jdbc/JDBC1DataStore.html#setSqlNameEscape(java.lang.String)">setSqlNameEscape</A>, <A HREF="../../../../org/geotools/data/jdbc/JDBC1DataStore.html#setTransactionIsolation(int)">setTransactionIsolation</A></CODE></TD></TR></TABLE> <A NAME="methods_inherited_from_class_Object"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"><TD><B>Methods inherited from class <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html" title="class or interface in java.lang">Object</A></B></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html#clone()" title="class or interface in java.lang">clone</A>, <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">equals</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html#finalize()" title="class or interface in java.lang">finalize</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html#getClass()" title="class or interface in java.lang">getClass</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html#hashCode()" title="class or interface in java.lang">hashCode</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html#notify()" title="class or interface in java.lang">notify</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html#notifyAll()" title="class or interface in java.lang">notifyAll</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html#toString()" title="class or interface in java.lang">toString</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html#wait()" title="class or interface in java.lang">wait</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html#wait(long)" title="class or interface in java.lang">wait</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html#wait(long, int)" title="class or interface in java.lang">wait</A></CODE></TD></TR></TABLE> <A NAME="methods_inherited_from_class_DataStore"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"><TD><B>Methods inherited from interface <A HREF="../../../../org/geotools/data/DataStore.html" title="interface in org.geotools.data">DataStore</A></B></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><A HREF="../../../../org/geotools/data/DataStore.html#getFeatureReader(org.geotools.data.Query, org.geotools.data.Transaction)">getFeatureReader</A>, <A HREF="../../../../org/geotools/data/DataStore.html#getFeatureWriter(java.lang.String, org.geotools.filter.Filter, org.geotools.data.Transaction)">getFeatureWriter</A>, <A HREF="../../../../org/geotools/data/DataStore.html#getLockingManager()">getLockingManager</A>, <A HREF="../../../../org/geotools/data/DataStore.html#getView(org.geotools.data.Query)">getView</A></CODE></TD></TR></TABLE> <P><!-- ============ FIELD DETAIL =========== --><A NAME="field_detail"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TD COLSPAN=1><FONT SIZE="+2"><B>Field Detail</B></FONT></TD></TR></TABLE><A NAME="LOGGER"><!-- --></A><H3>LOGGER</H3><PRE>protected static final <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> <B>LOGGER</B></PRE><DL><DD>The logger for the postgis module.<P><DL></DL></DL><HR><A NAME="geometryFactory"><!-- --></A><H3>geometryFactory</H3><PRE>protected static <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> <B>geometryFactory</B></PRE><DL><DD>Factory for producing geometries (from JTS).<P><DL></DL></DL><HR><A NAME="geometryReader"><!-- --></A><H3>geometryReader</H3><PRE>protected static <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> <B>geometryReader</B></PRE><DL><DD>Well Known Text reader (from JTS).<P><DL></DL></DL><HR><A NAME="OPTIMIZE_SAFE"><!-- --></A><H3>OPTIMIZE_SAFE</H3><PRE>public static final int <B>OPTIMIZE_SAFE</B></PRE><DL><DD>OPTIMIZE_MODE constants<P><DL><DT><B>See Also:</B><DD><A HREF="../../../../constant-values.html#org.geotools.data.postgis.PostgisDataStore.OPTIMIZE_SAFE">Constant Field Values</A></DL></DL><HR><A NAME="OPTIMIZE_SQL"><!-- --></A><H3>OPTIMIZE_SQL</H3><PRE>public static final int <B>OPTIMIZE_SQL</B></PRE><DL><DL><DT><B>See Also:</B><DD><A HREF="../../../../constant-values.html#org.geotools.data.postgis.PostgisDataStore.OPTIMIZE_SQL">Constant Field Values</A></DL></DL><HR><A NAME="dbInfo"><!-- --></A><H3>dbInfo</H3><PRE>protected <A HREF="../../../../org/geotools/data/postgis/PostgisDBInfo.html" title="class in org.geotools.data.postgis">PostgisDBInfo</A> <B>dbInfo</B></PRE><DL><DD>PostGIS version information (persisted here so we don't have to keep asking the database what version it is, in perpituity.<P><DL></DL></DL><HR><A NAME="useGeos"><!-- --></A><H3>useGeos</H3><PRE>protected boolean <B>useGeos</B></PRE><DL><DD>Enables the use of geos operators<P><DL></DL></DL><HR><A NAME="OPTIMIZE_MODE"><!-- --></A><H3>OPTIMIZE_MODE</H3><PRE>public int <B>OPTIMIZE_MODE</B></PRE><DL><DD><B>Deprecated.</B> <I>Dot not use this directly, use <A HREF="../../../../org/geotools/data/postgis/PostgisDataStore.html#getOptimizeMode()"><CODE>getOptimizeMode()</CODE></A>.</I>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -