com.supermap.distributeanalystservices

Class QueryOnline

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class and Description
      static class  QueryOnline.QueryType
      query type: DATASET_QUERY query object dataset GEOMETRY_QUERY query geometry object
    • Constructor Summary

      Constructors 
      Constructor and Description
      QueryOnline()
      Constructor.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      void execute()
      run analyst.
      void setDataset(java.lang.String datasetName)
      Sets query object dataset
      void setDatasetSource(java.lang.String datasetSourceName)
      Sets source dataset.
      void setEndType(java.lang.String endType)
      Sets end types of the buffer.
      void setGeometryQuery(java.lang.String geometryQuery, boolean isCreateBuffer)
      Sets geometry query object and whether generate buffer
      void setLeftDistance(int leftDistance)
      Sets left buffer distance
      void setQueryMode(java.lang.String queryMode)
      Sets query mode query mode include: CONTAIN, CROSS, DISJOINT, IDENTITY, INTERSECT, OVERLAP, TOUCH, WITHIN.
      void setQueryType(QueryOnline.QueryType queryType)
      Sets query object type, corresponding query analysis worked only after set this interface
      void setRadiusUnit(java.lang.String radiusUnit)
      Sets buffer radius unit
      void setRightDistance(int rightDistance)
      Sets right buffer distance
      void setSemicircleLineSegment(int semicircleLineSegment)
      Sets the number of semicircle line segment (optional)
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • QueryOnline

        public QueryOnline()
        Constructor.
    • Method Detail

      • setDataset

        public void setDataset(java.lang.String datasetName)
        Sets query object dataset
        Parameters:
        datasetName - query object dataset name.
      • setQueryMode

        public void setQueryMode(java.lang.String queryMode)
        Sets query mode

        query mode include: CONTAIN, CROSS, DISJOINT, IDENTITY, INTERSECT, OVERLAP, TOUCH, WITHIN.

        Parameters:
        queryMode - query mode.
      • setDatasetSource

        public void setDatasetSource(java.lang.String datasetSourceName)
        Sets source dataset.
        Parameters:
        datasetSourceName - source dataset name.
      • setQueryType

        public void setQueryType(QueryOnline.QueryType queryType)
        Sets query object type, corresponding query analysis worked only after set this interface
        Parameters:
        queryType -

        DATASET_QUERY query object dataset

        GEOMETRY_QUERY query geometry object

      • setGeometryQuery

        public void setGeometryQuery(java.lang.String geometryQuery,
                                     boolean isCreateBuffer)
        Sets geometry query object and whether generate buffer
        Parameters:
        geometryQuery - geometry query object
        isCreateBuffer - whether create buffer
      • setEndType

        public void setEndType(java.lang.String endType)
        Sets end types of the buffer.
        Parameters:
        endType - the buffer end point type.
      • setLeftDistance

        public void setLeftDistance(int leftDistance)
        Sets left buffer distance
        Parameters:
        leftDistance - left buffer distance
      • setRightDistance

        public void setRightDistance(int rightDistance)
        Sets right buffer distance
        Parameters:
        rightDistance - right buffer distance
      • setSemicircleLineSegment

        public void setSemicircleLineSegment(int semicircleLineSegment)
        Sets the number of semicircle line segment (optional)
        Parameters:
        semicircleLineSegment - semicircle line segment
      • setRadiusUnit

        public void setRadiusUnit(java.lang.String radiusUnit)
        Sets buffer radius unit
        Parameters:
        radiusUnit - buffer radius unit.