📄 jdbc1datastore.html
字号:
<BR> Retrieves a list of of the available FeatureTypes. </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../../../org/geotools/data/FeatureSource.html" title="interface in org.geotools.data">FeatureSource</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/geotools/data/jdbc/JDBC1DataStore.html#getView(org.geotools.data.Query)">getView</A></B>(<A HREF="../../../../org/geotools/data/Query.html" title="interface in org.geotools.data">Query</A> query)</CODE><BR> Access a FeatureSource for Query providing a high-level API. </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>protected <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/jdbc/JDBC1DataStore.html#propertyNames(org.geotools.data.Query)">propertyNames</A></B>(<A HREF="../../../../org/geotools/data/Query.html" title="interface in org.geotools.data">Query</A> query)</CODE><BR> Get propertyNames in a safe manner. </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>protected boolean</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/geotools/data/jdbc/JDBC1DataStore.html#requireAutoCommit()">requireAutoCommit</A></B>()</CODE><BR> Return true if transaction is handled on client. </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>protected void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/geotools/data/jdbc/JDBC1DataStore.html#setAutoCommit(boolean, java.sql.Connection)">setAutoCommit</A></B>(boolean forWrite, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/sql/Connection.html" title="class or interface in java.sql">Connection</A> conn)</CODE><BR> This method should be overridden to do nothing by DataStores where setting autoCommit causes funky behaviour (ie. anytime autoCommit is changed, every thing up to that point is committed...this isn't good at this stage)</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/jdbc/JDBC1DataStore.html#setFIDMapper(java.lang.String, org.geotools.data.jdbc.fidmapper.FIDMapper)">setFIDMapper</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> featureTypeName, <A HREF="../../../../org/geotools/data/jdbc/fidmapper/FIDMapper.html" title="interface in org.geotools.data.jdbc.fidmapper">FIDMapper</A> fidMapper)</CODE><BR> Sets the FIDMapper for a specific type name</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/jdbc/JDBC1DataStore.html#setFIDMapperFactory(org.geotools.data.jdbc.fidmapper.FIDMapperFactory)">setFIDMapperFactory</A></B>(<A HREF="../../../../org/geotools/data/jdbc/fidmapper/FIDMapperFactory.html" title="interface in org.geotools.data.jdbc.fidmapper">FIDMapperFactory</A> fmFactory)</CODE><BR> Allows to override the default FIDMapperFactory. </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>protected void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/geotools/data/jdbc/JDBC1DataStore.html#setSqlNameEscape(java.lang.String)">setSqlNameEscape</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> sqlNameEscape)</CODE><BR> Sets the SQL name escape string. </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/jdbc/JDBC1DataStore.html#setTransactionIsolation(int)">setTransactionIsolation</A></B>(int value)</CODE><BR> Sets the transaction isolation level for connections.</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/jdbc/JDBC1DataStore.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 provide support for changing the DataStore Schema. </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> <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 filter module.<P><DL></DL></DL><HR><A NAME="TYPE_MAPPINGS"><!-- --></A><H3>TYPE_MAPPINGS</H3><PRE>protected static final <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/util/Map.html" title="class or interface in java.util">Map</A> <B>TYPE_MAPPINGS</B></PRE><DL><DD>Maps SQL types to Java classes. This might need to be fleshed out more later, Ive ignored complex types such as ARRAY, BLOB and CLOB. It is protected so subclasses can override it I guess. <p> These mappings were taken from http://java.sun.com/j2se/1.3/docs/guide/jdbc/getstart/mapping.html#997737 </p><P><DL></DL></DL><HR><A NAME="listenerManager"><!-- --></A><H3>listenerManager</H3><PRE>public <A HREF="../../../../org/geotools/data/FeatureListenerManager.html" title="class in org.geotools.data">FeatureListenerManager</A> <B>listenerManager</B></PRE><DL><DD>Manages listener lists for FeatureSource implementations<P><DL></DL></DL><HR><A NAME="config"><!-- --></A><H3>config</H3><PRE>protected final <A HREF="../../../../org/geotools/data/jdbc/JDBCDataStoreConfig.html" title="class in org.geotools.data.jdbc">JDBCDataStoreConfig</A> <B>config</B></PRE><DL><DL></DL></DL><HR><A NAME="typeHandler"><!-- --></A><H3>typeHandler</H3><PRE>protected <A HREF="../../../../org/geotools/data/jdbc/FeatureTypeHandler.html" title="class in org.geotools.data.jdbc">FeatureTypeHandler</A> <B>typeHandler</B></PRE><DL><DL></DL></DL><HR><A NAME="sqlNameEscape"><!-- --></A><H3>sqlNameEscape</H3><PRE>protected <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>sqlNameEscape</B></PRE><DL><DD>The character(s) to surround schema, table and column names an SQL query to support mixed-case and non-English names<P><DL></DL></DL><HR><A NAME="allowWriteOnVolatileFIDs"><!-- --></A><H3>allowWriteOnVolatileFIDs</H3><PRE>protected boolean <B>allowWriteOnVolatileFIDs</B></PRE><DL><DD>When true, writes are allowed also on tables with volatile FID mappers. False by default<P><DL><DT><B>See Also:</B><DD><A HREF="../../../../org/geotools/data/jdbc/fidmapper/FIDMapper.html#isVolatile()"><CODE>FIDMapper.isVolatile()</CODE></A></DL></DL><HR><A NAME="transactionIsolation"><!-- --></A><H3>transactionIsolation</H3><PRE>protected int <B>transactionIsolation</B></PRE><DL><DD>The transaction isolation level to use in a transaction. One of Connection.TRANSACTION_READ_UNCOMMITTED, TRANSACTION_READ_COMMITTED, TRANSACTION_REPEATABLE_READ, or SERIALIZABLE. Connection.TRANSACTION_NONE may also be used to indicate "use default".<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="JDBC1DataStore(org.geotools.data.jdbc.JDBCDataStoreConfig)"><!-- --></A><H3>JDBC1DataStore</H3>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -