|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.deegree.metadata.persistence.ebrim.eo.mapping.EOPropertyNameMapper
public class EOPropertyNameMapper
PropertyNameMapper for the EbrimEOMDStore.
| Constructor Summary | |
|---|---|
EOPropertyNameMapper(QName[] queryTypeNames,
boolean useLegacyPredicates)
Creates a new EOPropertyNameMapper instance configured for the specified registry objects / aliases. |
|
| Method Summary | |
|---|---|
List<Join> |
getAdditionalJoins()
|
PropertyNameMapping |
getMapping(ValueReference propName,
TableAliasManager aliasManager)
Returns the PropertyNameMapping for the given ValueReference. |
Collection<AliasedRIMType> |
getQueryTypes()
Returns the queried types (including aliases). |
AliasedRIMType |
getReturnType(QName[] returnTypeNames)
Determines the query type to be returned. |
SlotMapper.Table |
getTable(AliasedRIMType queryType)
|
String |
getTableAlias(AliasedRIMType queryType)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public EOPropertyNameMapper(QName[] queryTypeNames,
boolean useLegacyPredicates)
throws MetadataStoreException
EOPropertyNameMapper instance configured for the specified registry objects / aliases.
queryTypeNames - queried type names, must not be nulluseLegacyPredicates - if true, legacy-style PostGIS spatial predicates are used (e.g. Intersects instead of
ST_Intersects)
MetadataStoreException - if any of the queried type names is not known / supported| Method Detail |
|---|
public Collection<AliasedRIMType> getQueryTypes()
null
public AliasedRIMType getReturnType(QName[] returnTypeNames)
throws MetadataStoreException
returnTypeNames - return type names as specified in the query
null
MetadataStoreException - if the specified return type names do not correspond to the query typespublic SlotMapper.Table getTable(AliasedRIMType queryType)
public String getTableAlias(AliasedRIMType queryType)
public List<Join> getAdditionalJoins()
public PropertyNameMapping getMapping(ValueReference propName,
TableAliasManager aliasManager)
throws FilterEvaluationException,
UnmappableException
PropertyNameMapperPropertyNameMapping for the given ValueReference.
getMapping in interface PropertyNameMapperpropName - property name, can be null (indicates that the default geometry property of the root
object is requested)aliasManager - manager for creating and tracking table aliases, never null
null (if no mapping is possible)
FilterEvaluationException - indicates that the ValueReference is invalid
UnmappableException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||