com.supermap.distributeanalystservices
Class QueryOnline
- java.lang.Object
-
- com.supermap.distributeanalystservices.DistributeAnalyst
-
- com.supermap.distributeanalystservices.QueryOnline
-
public class QueryOnline extends DistributeAnalyst
one object query class.
-
-
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 datasetvoid
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 buffervoid
setLeftDistance(int leftDistance)
Sets left buffer distancevoid
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 interfacevoid
setRadiusUnit(java.lang.String radiusUnit)
Sets buffer radius unitvoid
setRightDistance(int rightDistance)
Sets right buffer distancevoid
setSemicircleLineSegment(int semicircleLineSegment)
Sets the number of semicircle line segment (optional)-
Methods inherited from class com.supermap.distributeanalystservices.DistributeAnalyst
addListener, login
-
-
-
-
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 modequery 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.
-
execute
public void execute()
run analyst.- Overrides:
execute
in classDistributeAnalyst
-
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 objectisCreateBuffer
- 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.
-
-