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

📄 sqlencoder.html

📁 Geotools是一个开源的Java GIS工具包,可利用它来开发符合标准的地理信息系统。Geotools提供了OGC(Open Geospatial Consortium)规范的一个实现来作为他们的
💻 HTML
📖 第 1 页 / 共 4 页
字号:
<A NAME="visit(org.geotools.filter.Expression)"><!-- --></A><H3>visit</H3><PRE>public void <B>visit</B>(<A HREF="../../../org/geotools/filter/Expression.html" title="interface in org.geotools.filter">Expression</A>&nbsp;expression)</PRE><DL><DD>Writes the SQL for the attribute Expression.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../org/geotools/filter/FilterVisitor.html#visit(org.geotools.filter.Expression)">visit</A></CODE> in interface <CODE><A HREF="../../../org/geotools/filter/FilterVisitor.html" title="interface in org.geotools.filter">FilterVisitor</A></CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>expression</CODE> - the attribute to turn to SQL.</DL></DD></DL><HR><A NAME="visit(org.geotools.filter.LiteralExpression)"><!-- --></A><H3>visit</H3><PRE>public void <B>visit</B>(<A HREF="../../../org/geotools/filter/LiteralExpression.html" title="interface in org.geotools.filter">LiteralExpression</A>&nbsp;expression)           throws <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/RuntimeException.html" title="class or interface in java.lang">RuntimeException</A></PRE><DL><DD>Export the contents of a Literal Expresion<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../org/geotools/filter/FilterVisitor.html#visit(org.geotools.filter.LiteralExpression)">visit</A></CODE> in interface <CODE><A HREF="../../../org/geotools/filter/FilterVisitor.html" title="interface in org.geotools.filter">FilterVisitor</A></CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>expression</CODE> - the Literal to export<DT><B>Throws:</B><DD><CODE><A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/RuntimeException.html" title="class or interface in java.lang">RuntimeException</A></CODE> - for io exception with writer</DL></DD></DL><HR><A NAME="visitLiteralGeometry(org.geotools.filter.LiteralExpression)"><!-- --></A><H3>visitLiteralGeometry</H3><PRE>protected void <B>visitLiteralGeometry</B>(<A HREF="../../../org/geotools/filter/LiteralExpression.html" title="interface in org.geotools.filter">LiteralExpression</A>&nbsp;expression)                             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>Subclasses must implement this method in order to encode geometry filters according to the specific database implementation<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>expression</CODE> - <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> - DOCUMENT ME!<DD><CODE><A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/RuntimeException.html" title="class or interface in java.lang">RuntimeException</A></CODE> - DOCUMENT ME!</DL></DD></DL><HR><A NAME="visit(org.geotools.filter.GeometryFilter)"><!-- --></A><H3>visit</H3><PRE>public void <B>visit</B>(<A HREF="../../../org/geotools/filter/GeometryFilter.html" title="interface in org.geotools.filter">GeometryFilter</A>&nbsp;filter)</PRE><DL><DD><B>Description copied from interface: <CODE><A HREF="../../../org/geotools/filter/FilterVisitor.html" title="interface in org.geotools.filter">FilterVisitor</A></CODE></B></DD><DD>Called when accept is called on a Geometry Filter. Implementers will want to access the left and right geometries.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../org/geotools/filter/FilterVisitor.html#visit(org.geotools.filter.GeometryFilter)">visit</A></CODE> in interface <CODE><A HREF="../../../org/geotools/filter/FilterVisitor.html" title="interface in org.geotools.filter">FilterVisitor</A></CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>filter</CODE> - The filter to visit<DT><B>See Also:</B><DD><A HREF="../../../org/geotools/filter/FilterVisitor.html#visit(org.geotools.filter.GeometryFilter)"><CODE>FilterVisitor.visit(org.geotools.filter.GeometryFilter)</CODE></A></DL></DD></DL><HR><A NAME="visit(org.geotools.filter.MathExpression)"><!-- --></A><H3>visit</H3><PRE>public void <B>visit</B>(<A HREF="../../../org/geotools/filter/MathExpression.html" title="interface in org.geotools.filter">MathExpression</A>&nbsp;expression)           throws <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/RuntimeException.html" title="class or interface in java.lang">RuntimeException</A></PRE><DL><DD>Writes the SQL for the Math Expression.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../org/geotools/filter/FilterVisitor.html#visit(org.geotools.filter.MathExpression)">visit</A></CODE> in interface <CODE><A HREF="../../../org/geotools/filter/FilterVisitor.html" title="interface in org.geotools.filter">FilterVisitor</A></CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>expression</CODE> - the Math phrase to be written.<DT><B>Throws:</B><DD><CODE><A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/RuntimeException.html" title="class or interface in java.lang">RuntimeException</A></CODE> - for io problems</DL></DD></DL><HR><A NAME="visit(org.geotools.filter.FunctionExpression)"><!-- --></A><H3>visit</H3><PRE>public void <B>visit</B>(<A HREF="../../../org/geotools/filter/FunctionExpression.html" title="interface in org.geotools.filter">FunctionExpression</A>&nbsp;expression)           throws <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/UnsupportedOperationException.html" title="class or interface in java.lang">UnsupportedOperationException</A></PRE><DL><DD>Writes sql for a function expression.  Not currently supported.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../org/geotools/filter/FilterVisitor.html#visit(org.geotools.filter.FunctionExpression)">visit</A></CODE> in interface <CODE><A HREF="../../../org/geotools/filter/FilterVisitor.html" title="interface in org.geotools.filter">FilterVisitor</A></CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>expression</CODE> - a function expression<DT><B>Throws:</B><DD><CODE><A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/UnsupportedOperationException.html" title="class or interface in java.lang">UnsupportedOperationException</A></CODE> - every time, this isn't supported.</DL></DD></DL><HR><A NAME="setSqlNameEscape(java.lang.String)"><!-- --></A><H3>setSqlNameEscape</H3><PRE>public void <B>setSqlNameEscape</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;escape)</PRE><DL><DD>Sets the SQL name escape string.  <p> The value of this string is prefixed and appended to table schema names, table names and column names in an SQL statement to support mixed-case and non-English names. Without this, the DBMS may assume a mixed-case name in the query should be treated as upper-case and an SQLCODE of -204 or 206 may result if the name is not found. </p>  <p> Typically this is the double-quote character, ", but may not be for all databases. </p>  <p> For example, consider the following query: </p>  <p> SELECT Geom FROM Spear.ArchSites May be interpreted by the database as: SELECT GEOM FROM SPEAR.ARCHSITES  If the column and table names were actually created using mixed-case, the query needs to be specified as: SELECT "Geom" from "Spear"."ArchSites" </p><P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>escape</CODE> - the character to be used to escape database names</DL></DD></DL><HR><A NAME="setColnameEscape(java.lang.String)"><!-- --></A><H3>setColnameEscape</H3><PRE>public void <B>setColnameEscape</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;escape)</PRE><DL><DD><B>Deprecated.</B>&nbsp;<I>Use setSqlNameEscape instead, as it is more aptly named.</I><P><DD>Sets the escape character for the column name.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>escape</CODE> - The character to be used to escape database names.</DL></DD></DL><HR><A NAME="getColnameEscape()"><!-- --></A><H3>getColnameEscape</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>getColnameEscape</B>()</PRE><DL><DD><B>Deprecated.</B>&nbsp;<I>the escapeName method is preferred over this, it             automatically returns the name properly escaped, since             that's all getColnameEscape was being used for.</I><P><DD>Gets the column escape name.<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>the string to be used to properly escape a db's name.</DL></DD></DL><HR><A NAME="escapeName(java.lang.String)"><!-- --></A><H3>escapeName</H3><PRE>public <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>escapeName</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;name)</PRE><DL><DD>Surrounds a name with the SQL escape character.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>name</CODE> - <DT><B>Returns:</B><DD>DOCUMENT ME!</DL></DD></DL><!-- ========= END OF CLASS DATA ========= --><HR><!-- ======= START OF BOTTOM NAVBAR ====== --><A NAME="navbar_bottom"><!-- --></A><A HREF="#skip-navbar_bottom" title="Skip navigation links"></A><TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""><TR><TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"><A NAME="navbar_bottom_firstrow"><!-- --></A><TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">  <TR ALIGN="center" VALIGN="top">  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="class-use/SQLEncoder.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>  </TR></TABLE></TD><TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM></EM></TD></TR><TR><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">&nbsp;<A HREF="../../../org/geotools/filter/SortOrder.html" title="class in org.geotools.filter"><B>PREV CLASS</B></A>&nbsp;&nbsp;<A HREF="../../../org/geotools/filter/SQLEncoderHsql.html" title="class in org.geotools.filter"><B>NEXT CLASS</B></A></FONT></TD><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">  <A HREF="../../../index.html" target="_top"><B>FRAMES</B></A>  &nbsp;&nbsp;<A HREF="SQLEncoder.html" target="_top"><B>NO FRAMES</B></A>  &nbsp;&nbsp;<SCRIPT type="text/javascript">  <!--  if(window==top) {    document.writeln('<A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>');  }  //--></SCRIPT><NOSCRIPT>  <A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A></NOSCRIPT></FONT></TD></TR><TR><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">  SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;<A HREF="#field_summary">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">DETAIL:&nbsp;<A HREF="#field_detail">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD></TR></TABLE><A NAME="skip-navbar_bottom"></A><!-- ======== END OF BOTTOM NAVBAR ======= --><HR>Copyright &copy; 1996-2007 <a href="http://www.geotools.org">Geotools</a>. All Rights Reserved.</BODY></HTML>

⌨️ 快捷键说明

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