|
|||||||||||
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.SQLEncoderSDE
Encodes an attribute filter into a SQL WHERE statement for arcsde.
Although not all filters support is coded yet, the strategy to filtering
queries for ArcSDE datasources is separated in two parts, the SQL where
clause construction, provided here and the spatial filters (or spatial
constraints, in SDE vocabulary) provided by
GeometryEncoderSDE
; mirroring the java SDE api approach for
easy programing
org.geotools.data.sde.GeometryEncoderSDE
Field Summary |
Fields inherited from class org.geotools.filter.SQLEncoder |
mapper, out |
Constructor Summary | |
SQLEncoderSDE()
Creates a new SQLEncoderSDE object. |
|
SQLEncoderSDE(com.esri.sde.sdk.client.SeLayer layer)
|
Method Summary | |
protected FilterCapabilities |
createFilterCapabilities()
Overrides the superclass implementation to indicate that we support pushing FeatureId filters down into the data store. |
void |
encode(java.io.Writer out,
Filter filter)
overriden just to avoid the "WHERE" keyword |
void |
setLayer(com.esri.sde.sdk.client.SeLayer layer)
Deprecated. remove when the old data api dissapear |
void |
visit(AttributeExpression expression)
Overrides the superclass implementation to fully qualify |
void |
visit(FidFilter filter)
This only exists the fulfill the interface - unless There is a way of determining the FID column in the database... |
Methods inherited from class org.geotools.filter.SQLEncoder |
encode, escapeName, getCapabilities, getColnameEscape, setColnameEscape, setFIDMapper, setSqlNameEscape, visit, visit, visit, 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 |
Methods inherited from interface org.geotools.filter.FilterVisitor |
visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit |
Constructor Detail |
public SQLEncoderSDE()
public SQLEncoderSDE(com.esri.sde.sdk.client.SeLayer layer)
Method Detail |
public void visit(AttributeExpression expression) throws java.lang.RuntimeException
visit
in interface FilterVisitor
visit
in class SQLEncoder
expression
- DOCUMENT ME!
java.lang.RuntimeException
- DOCUMENT ME!protected FilterCapabilities createFilterCapabilities()
createFilterCapabilities
in class SQLEncoder
public void setLayer(com.esri.sde.sdk.client.SeLayer layer)
layer
- DOCUMENT ME!public void encode(java.io.Writer out, Filter filter) throws SQLEncoderException
encode
in class SQLEncoder
out
- DOCUMENT ME!filter
- DOCUMENT ME!
SQLEncoderException
- DOCUMENT ME!public void visit(FidFilter filter)
visit
in interface FilterVisitor
visit
in class SQLEncoder
filter
- the Fid Filter.
java.lang.RuntimeException
- DOCUMENT ME!SQLEncoder.visit(org.geotools.filter.FidFilter)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |