📄 sqlencoderoracle.html
字号:
<PRE>public 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>toSDOGeom</B>(<A HREF="http://www.jump-project.org/docs/jts/1.7/api/com/vividsolutions/jts/geom/Geometry.html" title="class or interface in com.vividsolutions.jts.geom">Geometry</A> geometry, int srid)</PRE><DL><DD>Converts JTS Geometry to a String version of a SDO Geometry. This should move to a utility class, as we now have more than one class using this (which is why it changed to public static) TODO: Multi eometries<P><DD><DL><DT><B>Parameters:</B><DD><CODE>geometry</CODE> - The JTS Geometry to convert.<DD><CODE>srid</CODE> - DOCUMENT ME!<DT><B>Returns:</B><DD>A String representation of the SDO Geometry.</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> geomFilter)</PRE><DL><DD>Handles Geometry Filter encoding. Currently only supports the encoding of GEOMETRY_BBOX filters. If a GEOMETRY_BBOX filter is encounter it will be converted into an SDO_RELATE() function. If another filter is found, nothing will happen.<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><DT><B>Overrides:</B><DD><CODE><A HREF="../../../org/geotools/filter/SQLEncoder.html#visit(org.geotools.filter.GeometryFilter)">visit</A></CODE> in class <CODE><A HREF="../../../org/geotools/filter/SQLEncoder.html" title="class in org.geotools.filter">SQLEncoder</A></CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>geomFilter</CODE> - The geometry filter to encode.<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.LikeFilter)"><!-- --></A><H3>visit</H3><PRE>public void <B>visit</B>(<A HREF="../../../org/geotools/filter/LikeFilter.html" title="interface in org.geotools.filter">LikeFilter</A> filter)</PRE><DL><DD>Writes the SQL for the Like Filter. Assumes the current java implemented wildcards for the Like Filter: . for multi and .? for single. And replaces them with the SQL % and _, respectively. Currently does nothing, and should not be called, not included in the capabilities.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../org/geotools/filter/FilterVisitor.html#visit(org.geotools.filter.LikeFilter)">visit</A></CODE> in interface <CODE><A HREF="../../../org/geotools/filter/FilterVisitor.html" title="interface in org.geotools.filter">FilterVisitor</A></CODE><DT><B>Overrides:</B><DD><CODE><A HREF="../../../org/geotools/filter/SQLEncoder.html#visit(org.geotools.filter.LikeFilter)">visit</A></CODE> in class <CODE><A HREF="../../../org/geotools/filter/SQLEncoder.html" title="class in org.geotools.filter">SQLEncoder</A></CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>filter</CODE> - the Like Filter to be visited.<DT><B>'TODO:'</B></DT> <DD>TODO: LikeFilter doesn't work right...revisit this when it does. Need to think through the escape char, so it works right when Java uses one, and escapes correctly with an '_'.</DD></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> literal)</PRE><DL><DD>Converts a literal expression into a valid SDO object. Only handles Literal Geometries, all other literals are passed up to the parent.<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><DT><B>Overrides:</B><DD><CODE><A HREF="../../../org/geotools/filter/SQLEncoder.html#visit(org.geotools.filter.LiteralExpression)">visit</A></CODE> in class <CODE><A HREF="../../../org/geotools/filter/SQLEncoder.html" title="class in org.geotools.filter">SQLEncoder</A></CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>literal</CODE> - The Literal expression to encode.<DT><B>See Also:</B><DD><A HREF="../../../org/geotools/filter/FilterVisitor.html#visit(org.geotools.filter.LiteralExpression)"><CODE>FilterVisitor.visit(org.geotools.filter.LiteralExpression)</CODE></A></DL></DD></DL><HR><A NAME="visit(org.geotools.filter.FidFilter)"><!-- --></A><H3>visit</H3><PRE>public void <B>visit</B>(<A HREF="../../../org/geotools/filter/FidFilter.html" title="interface in org.geotools.filter">FidFilter</A> filter)</PRE><DL><DD>DOCUMENT ME!<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../org/geotools/filter/FilterVisitor.html#visit(org.geotools.filter.FidFilter)">visit</A></CODE> in interface <CODE><A HREF="../../../org/geotools/filter/FilterVisitor.html" title="interface in org.geotools.filter">FilterVisitor</A></CODE><DT><B>Overrides:</B><DD><CODE><A HREF="../../../org/geotools/filter/SQLEncoder.html#visit(org.geotools.filter.FidFilter)">visit</A></CODE> in class <CODE><A HREF="../../../org/geotools/filter/SQLEncoder.html" title="class in org.geotools.filter">SQLEncoder</A></CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>filter</CODE> - <DT><B>See Also:</B><DD><A HREF="../../../org/geotools/filter/SQLEncoder.html#visit(org.geotools.filter.FidFilter)"><CODE>SQLEncoder.visit(org.geotools.filter.FidFilter)</CODE></A></DL></DD></DL><HR><A NAME="visit(org.geotools.filter.AttributeExpression)"><!-- --></A><H3>visit</H3><PRE>public void <B>visit</B>(<A HREF="../../../org/geotools/filter/AttributeExpression.html" title="interface in org.geotools.filter">AttributeExpression</A> ae) 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><B>Description copied from class: <CODE><A HREF="../../../org/geotools/filter/SQLEncoder.html" title="class in org.geotools.filter">SQLEncoder</A></CODE></B></DD><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.AttributeExpression)">visit</A></CODE> in interface <CODE><A HREF="../../../org/geotools/filter/FilterVisitor.html" title="interface in org.geotools.filter">FilterVisitor</A></CODE><DT><B>Overrides:</B><DD><CODE><A HREF="../../../org/geotools/filter/SQLEncoder.html#visit(org.geotools.filter.AttributeExpression)">visit</A></CODE> in class <CODE><A HREF="../../../org/geotools/filter/SQLEncoder.html" title="class in org.geotools.filter">SQLEncoder</A></CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>ae</CODE> - the attribute to turn to SQL.<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><!-- ========= 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> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/SQLEncoderOracle.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> </TR></TABLE></TD><TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM></EM></TD></TR><TR><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../../org/geotools/filter/SQLEncoderMySQL.html" title="class in org.geotools.filter"><B>PREV CLASS</B></A> <A HREF="../../../org/geotools/filter/SQLEncoderPostgis.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> <A HREF="SQLEncoderOracle.html" target="_top"><B>NO FRAMES</B></A> <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: NESTED | <A HREF="#fields_inherited_from_class_SQLEncoder">FIELD</A> | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">DETAIL: FIELD | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD></TR></TABLE><A NAME="skip-navbar_bottom"></A><!-- ======== END OF BOTTOM NAVBAR ======= --><HR>Copyright © 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 + -