Class OracleServerDialect

java.lang.Object
com.kheops.jmap.server.datasources.egdb.OracleServerDialect
All Implemented Interfaces:
IEgdbDialect

public class OracleServerDialect extends Object implements IEgdbDialect
Implements methods for Oracle database
  • Constructor Details

  • Method Details

    • sqlGeometryRelations

      public String sqlGeometryRelations(SpatialQueryFilter filter)
      Description copied from interface: IEgdbDialect
      This method is used to build the specific sql statement for a SQLServer database when a spatial filter is going to be used. Spatial filters use methods to determine relationships between geometries. For example if two geometries intersect or overlap. In the case of SQLServer, different methods exist.
      Specified by:
      sqlGeometryRelations in interface IEgdbDialect
      Returns:
      String that represents the query to execute.
    • geometryTypeQueryCondition

      public String geometryTypeQueryCondition(String[] geometryType)
      typedef enum { SE_OGC_GEOMETRY = 0, SE_OGC_POINT = 1, SE_OGC_CURVE = 2, SE_OGC_LINESTRING = 3, SE_OGC_SURFACE = 4, SE_OGC_POLYGON = 5, SE_OGC_COLLECTION = 6, SE_OGC_MULTIPOINT = 7, SE_OGC_MULTICURVE = 8, SE_OGC_MULTILINESTRING = 9, SE_OGC_MULTISURFACE = 10, SE_OGC_MULTIPOLYGON = 11 } SE_OGC_GEOMETRY_TYPES;
      Specified by:
      geometryTypeQueryCondition in interface IEgdbDialect
      Returns:
      Query string to check the geometry type
    • sqlQueryAvailableGeometryType

      public String sqlQueryAvailableGeometryType()
      Description copied from interface: IEgdbDialect
      Build the query statement to get the geometry type of the layer
      Specified by:
      sqlQueryAvailableGeometryType in interface IEgdbDialect
      Returns:
      Query string to be executed to extract the geometry type