| |
|
| java.lang.Object org.geotools.filter.SQLEncoder org.geotools.filter.SQLEncoderOracle
SQLEncoderOracle | public class SQLEncoderOracle extends SQLEncoder (Code) | | Encodes Geometry filters into valid oracle SDO statements.
At this stage it only supports the GEOMETRY_BBOX types.
Encoded filters get written to the protected Writer called out
author: $Author: seangeo $ version: $Id: SQLEncoderOracle.java 27862 2007-11-12 19:51:19Z desruisseaux $ |
inGeomFilter | boolean inGeomFilter(Code) | | |
SQLEncoderOracle | public SQLEncoderOracle(String fidColumn, int defaultSRID)(Code) | | |
SQLEncoderOracle | public SQLEncoderOracle(int defaultSRID)(Code) | | |
SQLEncoderOracle | public SQLEncoderOracle(String fidColumn, Map srids)(Code) | | Creates a new SQLEncoderOracle with a specified SRID.
Parameters: fidColumn - DOCUMENT ME! Parameters: srids - The Spatial Reference ID to use when generating SDO SQLstatements. |
SQLEncoderOracle | public SQLEncoderOracle(Map srids)(Code) | | Creates a new SQLEncoderOracle with a specified SRID.
Parameters: srids - The Spatial Reference ID to use when generating SDO SQLstatements. |
createFilterCapabilities | protected FilterCapabilities createFilterCapabilities()(Code) | | Sets the capabilities of this filter.
FilterCapabilities for this Filter |
toSDOGeom | public static String toSDOGeom(Geometry geometry, int srid)(Code) | | 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
Parameters: geometry - The JTS Geometry to convert. Parameters: srid - DOCUMENT ME! A String representation of the SDO Geometry. |
visit | public void visit(LikeFilter filter)(Code) | | 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.
Parameters: filter - the Like Filter to be visited. |
|
|
|