|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.geotools.filter.GeometryEncoderSDE
Encodes the geometry related parts of a filter into a set of
SeFilter
objects and provides a method to get the resulting
filters suitable to set up an SeQuery's spatial constraints.
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 by SQLEncoderSDE
and the spatial
filters (or spatial constraints, in SDE vocabulary) provided here;
mirroring the java SDE api approach
Constructor Summary | |
GeometryEncoderSDE()
|
|
GeometryEncoderSDE(com.esri.sde.sdk.client.SeLayer layer)
|
Method Summary | |
void |
encode(Filter filter)
overriden just to avoid the "WHERE" keyword |
static FilterCapabilities |
getCapabilities()
DOCUMENT ME! |
com.esri.sde.sdk.client.SeFilter[] |
getSpatialFilters()
DOCUMENT ME! |
void |
setLayer(com.esri.sde.sdk.client.SeLayer layer)
Deprecated. remove when the old data api dissapear |
void |
visit(AttributeExpression expression)
DOCUMENT ME! |
void |
visit(BetweenFilter filter)
DOCUMENT ME! |
void |
visit(CompareFilter filter)
DOCUMENT ME! |
void |
visit(Expression expression)
DOCUMENT ME! |
void |
visit(FidFilter filter)
This only exists the fulfill the interface - unless There is a way of determining the FID column in the database... |
void |
visit(Filter filter)
DOCUMENT ME! |
void |
visit(FunctionExpression expression)
DOCUMENT ME! |
void |
visit(GeometryFilter filter)
DOCUMENT ME! |
void |
visit(LikeFilter filter)
DOCUMENT ME! |
void |
visit(LiteralExpression expression)
DOCUMENT ME! |
void |
visit(LogicFilter filter)
DOCUMENT ME! |
void |
visit(MathExpression expression)
DOCUMENT ME! |
void |
visit(NullFilter filter)
DOCUMENT ME! |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public GeometryEncoderSDE()
public GeometryEncoderSDE(com.esri.sde.sdk.client.SeLayer layer)
Method Detail |
public void setLayer(com.esri.sde.sdk.client.SeLayer layer)
layer
- DOCUMENT ME!public static FilterCapabilities getCapabilities()
public com.esri.sde.sdk.client.SeFilter[] getSpatialFilters()
public void encode(Filter filter) throws GeometryEncoderException
filter
- DOCUMENT ME!
GeometryEncoderException
- DOCUMENT ME!public void visit(GeometryFilter filter)
visit
in interface FilterVisitor
filter
- DOCUMENT ME!
java.lang.RuntimeException
- DOCUMENT ME!public void visit(FidFilter filter)
visit
in interface FilterVisitor
filter
- the Fid Filter.public void visit(Filter filter)
visit
in interface FilterVisitor
filter
- DOCUMENT ME!public void visit(BetweenFilter filter)
visit
in interface FilterVisitor
filter
- DOCUMENT ME!public void visit(CompareFilter filter)
visit
in interface FilterVisitor
filter
- DOCUMENT ME!public void visit(LikeFilter filter)
visit
in interface FilterVisitor
filter
- DOCUMENT ME!public void visit(LogicFilter filter)
visit
in interface FilterVisitor
filter
- DOCUMENT ME!public void visit(NullFilter filter)
visit
in interface FilterVisitor
filter
- DOCUMENT ME!public void visit(AttributeExpression expression)
visit
in interface FilterVisitor
expression
- DOCUMENT ME!public void visit(Expression expression)
visit
in interface FilterVisitor
expression
- DOCUMENT ME!public void visit(LiteralExpression expression)
visit
in interface FilterVisitor
expression
- DOCUMENT ME!public void visit(MathExpression expression)
visit
in interface FilterVisitor
expression
- DOCUMENT ME!public void visit(FunctionExpression expression)
visit
in interface FilterVisitor
expression
- DOCUMENT ME!
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |