|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.geotools.filter.SQLEncoder org.geotools.filter.SQLEncoderOracle
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
Field Summary |
Fields inherited from class org.geotools.filter.SQLEncoder |
mapper, out |
Constructor Summary | |
SQLEncoderOracle(int defaultSRID)
|
|
SQLEncoderOracle(java.util.Map srids)
Creates a new SQLEncoderOracle with a specified SRID. |
|
SQLEncoderOracle(java.lang.String fidColumn,
int defaultSRID)
|
|
SQLEncoderOracle(java.lang.String fidColumn,
java.util.Map srids)
Creates a new SQLEncoderOracle with a specified SRID. |
Method Summary | |
protected FilterCapabilities |
createFilterCapabilities()
Sets the capabilities of this filter. |
static java.lang.String |
toSDOGeom(com.vividsolutions.jts.geom.Geometry geometry,
int srid)
Converts JTS Geometry to a String version of a SDO Geometry. |
void |
visit(AttributeExpression ae)
Writes the SQL for the attribute Expression. |
void |
visit(FidFilter filter)
DOCUMENT ME! |
void |
visit(GeometryFilter geomFilter)
Handles Geometry Filter encoding. |
void |
visit(LikeFilter filter)
Writes the SQL for the Like Filter. |
void |
visit(LiteralExpression literal)
Converts a literal expression into a valid SDO object. |
Methods inherited from class org.geotools.filter.SQLEncoder |
encode, encode, escapeName, getCapabilities, getColnameEscape, setColnameEscape, setFIDMapper, setSqlNameEscape, visit, visit, visit, visit, visit, visit, visit, visit, visitLiteralGeometry |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public SQLEncoderOracle(java.lang.String fidColumn, int defaultSRID)
public SQLEncoderOracle(int defaultSRID)
public SQLEncoderOracle(java.lang.String fidColumn, java.util.Map srids)
srids
- DOCUMENT ME!public SQLEncoderOracle(java.util.Map srids)
srids
- The Spatial Reference ID to use when generating SDO SQL
statements.Method Detail |
protected FilterCapabilities createFilterCapabilities()
createFilterCapabilities
in class SQLEncoder
public static java.lang.String toSDOGeom(com.vividsolutions.jts.geom.Geometry geometry, int srid)
geometry
- The JTS Geometry to convert.srid
- DOCUMENT ME!
public void visit(GeometryFilter geomFilter)
visit
in interface FilterVisitor
visit
in class SQLEncoder
geomFilter
- The geometry filter to encode.FilterVisitor.visit(org.geotools.filter.GeometryFilter)
public void visit(LikeFilter filter)
visit
in interface FilterVisitor
visit
in class SQLEncoder
filter
- the Like Filter to be visited.public void visit(LiteralExpression literal)
visit
in interface FilterVisitor
visit
in class SQLEncoder
literal
- The Literal expression to encode.FilterVisitor.visit(org.geotools.filter.expression.LiteralExpression)
public void visit(FidFilter filter)
visit
in interface FilterVisitor
visit
in class SQLEncoder
filter
- SQLEncoder.visit(org.geotools.filter.FidFilter)
public void visit(AttributeExpression ae) throws java.lang.RuntimeException
SQLEncoder
visit
in interface FilterVisitor
visit
in class SQLEncoder
ae
- the attribute to turn to SQL.
java.lang.RuntimeException
- for io exception with writer
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |