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

📄 querydata.html

📁 Geotools是一个开源的Java GIS工具包,可利用它来开发符合标准的地理信息系统。Geotools提供了OGC(Open Geospatial Consortium)规范的一个实现来作为他们的
💻 HTML
📖 第 1 页 / 共 4 页
字号:
</DL></DL><HR><A NAME="statement"><!-- --></A><H3>statement</H3><PRE>protected <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/sql/Statement.html" title="class or interface in java.sql">Statement</A> <B>statement</B></PRE><DL><DL></DL></DL><HR><A NAME="mapper"><!-- --></A><H3>mapper</H3><PRE>protected <A HREF="../../../../org/geotools/data/jdbc/fidmapper/FIDMapper.html" title="interface in org.geotools.data.jdbc.fidmapper">FIDMapper</A> <B>mapper</B></PRE><DL><DL></DL></DL><HR><A NAME="attributeHandlers"><!-- --></A><H3>attributeHandlers</H3><PRE>protected <A HREF="../../../../org/geotools/data/jdbc/attributeio/AttributeIO.html" title="interface in org.geotools.data.jdbc.attributeio">AttributeIO</A>[] <B>attributeHandlers</B></PRE><DL><DL></DL></DL><HR><A NAME="baseIndex"><!-- --></A><H3>baseIndex</H3><PRE>protected int <B>baseIndex</B></PRE><DL><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="QueryData(org.geotools.data.jdbc.FeatureTypeInfo, org.geotools.data.jdbc.JDBC1DataStore, java.sql.Connection, java.sql.Statement, java.sql.ResultSet, org.geotools.data.Transaction)"><!-- --></A><H3>QueryData</H3><PRE>public <B>QueryData</B>(<A HREF="../../../../org/geotools/data/jdbc/FeatureTypeInfo.html" title="class in org.geotools.data.jdbc">FeatureTypeInfo</A>&nbsp;featureTypeInfo,                 <A HREF="../../../../org/geotools/data/jdbc/JDBC1DataStore.html" title="class in org.geotools.data.jdbc">JDBC1DataStore</A>&nbsp;parentDataStore,                 <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/sql/Connection.html" title="class or interface in java.sql">Connection</A>&nbsp;connection,                 <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/sql/Statement.html" title="class or interface in java.sql">Statement</A>&nbsp;statement,                 <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;resultSet,                 <A HREF="../../../../org/geotools/data/Transaction.html" title="interface in org.geotools.data">Transaction</A>&nbsp;transaction)          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>Creates a new QueryData object.<P><DT><B>Parameters:</B><DD><CODE>featureTypeInfo</CODE> - <DD><CODE>parentDataStore</CODE> - <DD><CODE>connection</CODE> - <DD><CODE>statement</CODE> - <DD><CODE>resultSet</CODE> - <DD><CODE>transaction</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="getAttributeCount()"><!-- --></A><H3>getAttributeCount</H3><PRE>public int <B>getAttributeCount</B>()</PRE><DL><DD><B>Description copied from interface: <CODE><A HREF="../../../../org/geotools/data/AttributeReader.html" title="interface in org.geotools.data">AttributeReader</A></CODE></B></DD><DD>The number of attributes this reader can read, i.e the length of a row.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/geotools/data/AttributeReader.html#getAttributeCount()">getAttributeCount</A></CODE> in interface <CODE><A HREF="../../../../org/geotools/data/AttributeReader.html" title="interface in org.geotools.data">AttributeReader</A></CODE></DL></DD><DD><DL><DT><B>Returns:</B><DD>Number of attribtues this reader can read<DT><B>See Also:</B><DD><A HREF="../../../../org/geotools/data/AttributeWriter.html#getAttributeCount()"><CODE>AttributeWriter.getAttributeCount()</CODE></A></DL></DD></DL><HR><A NAME="getAttributeHandlers()"><!-- --></A><H3>getAttributeHandlers</H3><PRE>public <A HREF="../../../../org/geotools/data/jdbc/attributeio/AttributeIO.html" title="interface in org.geotools.data.jdbc.attributeio">AttributeIO</A>[] <B>getAttributeHandlers</B>()</PRE><DL><DD>Returns the AttributeIO objects used to parse and encode the column values stored in the database<P><DD><DL></DL></DD><DD><DL></DL></DD></DL><HR><A NAME="getConnection()"><!-- --></A><H3>getConnection</H3><PRE>public <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/sql/Connection.html" title="class or interface in java.sql">Connection</A> <B>getConnection</B>()</PRE><DL><DD>DOCUMENT ME!<P><DD><DL></DL></DD><DD><DL></DL></DD></DL><HR><A NAME="getMapper()"><!-- --></A><H3>getMapper</H3><PRE>public <A HREF="../../../../org/geotools/data/jdbc/fidmapper/FIDMapper.html" title="interface in org.geotools.data.jdbc.fidmapper">FIDMapper</A> <B>getMapper</B>()</PRE><DL><DD>Returns the FID mapper to be used when reading/writing features<P><DD><DL></DL></DD><DD><DL></DL></DD></DL><HR><A NAME="getTransaction()"><!-- --></A><H3>getTransaction</H3><PRE>public <A HREF="../../../../org/geotools/data/Transaction.html" title="interface in org.geotools.data">Transaction</A> <B>getTransaction</B>()</PRE><DL><DD>Returns the current transation<P><DD><DL></DL></DD><DD><DL></DL></DD></DL><HR><A NAME="close()"><!-- --></A><H3>close</H3><PRE>public void <B>close</B>()</PRE><DL><DD><B>Description copied from interface: <CODE><A HREF="../../../../org/geotools/data/AttributeReader.html" title="interface in org.geotools.data">AttributeReader</A></CODE></B></DD><DD>Release any resources associated with this reader<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/geotools/data/AttributeReader.html#close()">close</A></CODE> in interface <CODE><A HREF="../../../../org/geotools/data/AttributeReader.html" title="interface in org.geotools.data">AttributeReader</A></CODE></DL></DD><DD><DL><DT><B>See Also:</B><DD><A HREF="../../../../org/geotools/data/AttributeWriter.html#close()"><CODE>AttributeWriter.close()</CODE></A></DL></DD></DL><HR><A NAME="close(java.sql.SQLException)"><!-- --></A><H3>close</H3><PRE>public void <B>close</B>(<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/sql/SQLException.html" title="class or interface in java.sql">SQLException</A>&nbsp;sqlException)</PRE><DL><DD>Closes the JDBC objects associated to the queryData and reports the sqlException on the LOG<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>sqlException</CODE> - </DL></DD></DL><HR><A NAME="read(int)"><!-- --></A><H3>read</H3><PRE>public <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>read</B>(int&nbsp;index)            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>,                   <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/ArrayIndexOutOfBoundsException.html" title="class or interface in java.lang">ArrayIndexOutOfBoundsException</A></PRE><DL><DD><B>Description copied from interface: <CODE><A HREF="../../../../org/geotools/data/AttributeReader.html" title="interface in org.geotools.data">AttributeReader</A></CODE></B></DD><DD>Read the attribute at the given index.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/geotools/data/AttributeReader.html#read(int)">read</A></CODE> in interface <CODE><A HREF="../../../../org/geotools/data/AttributeReader.html" title="interface in org.geotools.data">AttributeReader</A></CODE></DL></DD><DD><DL><DT><B>Returns:</B><DD>Object Attribute at given index<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><DD><CODE><A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/ArrayIndexOutOfBoundsException.html" title="class or interface in java.lang">ArrayIndexOutOfBoundsException</A></CODE><DT><B>See Also:</B><DD><A HREF="../../../../org/geotools/data/AttributeReader.html#read(int)"><CODE>AttributeReader.read(int)</CODE></A></DL></DD></DL><HR><A NAME="write(int, java.lang.Object)"><!-- --></A><H3>write</H3><PRE>public void <B>write</B>(int&nbsp;i,                  <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html" title="class or interface in java.lang">Object</A>&nbsp;currAtt)           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 interface: <CODE><A HREF="../../../../org/geotools/data/AttributeWriter.html" title="interface in org.geotools.data">AttributeWriter</A></CODE></B></DD><DD>Write the given attribute value at the position indicated. Implementations can choose to immediately flush the write or buffer it.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/geotools/data/AttributeWriter.html#write(int, java.lang.Object)">write</A></CODE> in interface <CODE><A HREF="../../../../org/geotools/data/AttributeWriter.html" title="interface in org.geotools.data">AttributeWriter</A></CODE></DL></DD><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><DT><B>See Also:</B><DD><A HREF="../../../../org/geotools/data/AttributeWriter.html#write(int, java.lang.Object)"><CODE>AttributeWriter.write(int, java.lang.Object)</CODE></A></DL></DD></DL><HR><A NAME="readFidColumn(int)"><!-- --></A><H3>readFidColumn</H3><PRE>public <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>readFidColumn</B>(int&nbsp;index)                     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>Reads a column of the primary key<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>index</CODE> - the column index among the primary key columns (as reported by the FIDMapper)<DT><B>Returns:</B><DD>fid value<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><DD><CODE><A HREF="../../../../org/geotools/data/DataSourceException.html" title="class in org.geotools.data">DataSourceException</A></CODE></DL></DD></DL><HR><A NAME="writeFidColumn(int, java.lang.Object)"><!-- --></A><H3>writeFidColumn</H3><PRE>public void <B>writeFidColumn</B>(int&nbsp;index,                           <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html" title="class or interface in java.lang">Object</A>&nbsp;value)                    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>Writes a column of the primary key<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>index</CODE> - the FID column index among the primary key columns (as reported by the FIDMapper)<DD><CODE>value</CODE> - the column value

⌨️ 快捷键说明

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