deegree-core-3.0-pre-nightly (2010/03/05 00:01) - official

org.deegree.filter.sql.postgis
Interface PostGISMapping

All Known Implementing Classes:
ISO_DC_Mappings, PostGISFeatureMapping

public interface PostGISMapping

Implementations provide PropertyName to table/column mappings for the PostGISWhereBuilder.

Version:
$Revision: 22617 $, $Date: 2010-02-18 19:07:59 +0100 (Do, 18 Feb 2010) $
Author:
Markus Schneider, last edited by: $Author: mschneider $

Method Summary
 PropertyNameMapping getMapping(PropertyName propName)
          Returns the PropertyNameMapping for the given PropertyName.
 byte[] getPostGISValue(Geometry literal, PropertyName propName)
          Returns the WKB for the given Geometry, transformed to the CRS of the specified PropertyName, if necessary.
 Object getPostGISValue(Literal literal, PropertyName propName)
           
 

Method Detail

getMapping

PropertyNameMapping getMapping(PropertyName propName)
                               throws FilterEvaluationException
Returns the PropertyNameMapping for the given PropertyName.

Parameters:
propName - property name (from Filter/sort criterion}, can be null (indicates that the default geometry property of the root object is requested)
Returns:
relational mapping, may be null (if no mapping is possible)
Throws:
FilterEvaluationException - thrown to indicate that the PropertyName is invalid

getPostGISValue

Object getPostGISValue(Literal literal,
                       PropertyName propName)
                       throws FilterEvaluationException
Parameters:
literal -
propName -
Returns:
Throws:
FilterEvaluationException

getPostGISValue

byte[] getPostGISValue(Geometry literal,
                       PropertyName propName)
                       throws FilterEvaluationException
Returns the WKB for the given Geometry, transformed to the CRS of the specified PropertyName, if necessary.

Parameters:
literal -
propName -
Returns:
Throws:
FilterEvaluationException

deegree-core-3.0-pre-nightly (2010/03/05 00:01) - official

an open source project founded by lat/lon, Bonn, Germany.
For more information visit: http://www.deegree.org

]]>