|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.geotools.data.AttributeQuery
Provide a defined of derived AttribtueType during a Query (immutable).
In practive this works as an "As" statement in SQL. This class is inmutable.
Field Summary | |
Expression |
expr
The expression used to obtain the value |
AttributeType |
type
The attribtueType of that this AttributeQuery produces |
Constructor Summary | |
AttributeQuery(AttributeType type,
Expression expression)
Construct AttributeQuery .
|
|
AttributeQuery(FeatureType schema,
java.lang.String attributeName)
Construct AttributeQuery , basically a no-op that just copies attributeType across. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public final AttributeType type
public final Expression expr
Constructor Detail |
public AttributeQuery(FeatureType schema, java.lang.String attributeName) throws IllegalFilterException
AttributeQuery
, basically a no-op that just copies attributeType across.
schema
- Schema to query againstattributeName
- Simple attribute name, unsure if xpath is allowed
IllegalFilterException
public AttributeQuery(AttributeType type, Expression expression)
AttributeQuery
.
You can use this for generic mapping from an expression to an attributeType.
expression
-
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |