com.supermap.distributeanalystservices
Class GridIndexOnline
- java.lang.Object
-
- com.supermap.distributeanalystservices.DistributeAnalyst
-
- com.supermap.distributeanalystservices.GridIndexOnline
-
public class GridIndexOnline extends DistributeAnalyst
grid index
-
-
Nested Class Summary
Nested Classes Modifier and Type Class and Description static class
GridIndexOnline.IndexConfigMode
Index configuration mode enumeration class PARAM_CONFIG parameter configuration INDEX_FILE exist index file configuration
-
Constructor Summary
Constructors Constructor and Description GridIndexOnline()
The constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description void
execute()
run analystvoid
setBounds(Rectangle2D bounds)
Sets calculation boundsvoid
setCols(int cols)
Sets the number of index columnvoid
setConfigMode(GridIndexOnline.IndexConfigMode configMode)
Sets index configuration modevoid
setDatasetSource(java.lang.String datasetName)
set imported source dataset (required).void
setIndexFile(java.lang.String indexFile)
Sets index file pathvoid
setInterval(int interval)
Set tolerancevoid
setOutputHDFSAddress(java.lang.String outputHDFSAddress)
Sets path export to HDFSvoid
setRows(int rows)
Sets the number of index row-
Methods inherited from class com.supermap.distributeanalystservices.DistributeAnalyst
addListener, login
-
-
-
-
Method Detail
-
setDatasetSource
public void setDatasetSource(java.lang.String datasetName)
set imported source dataset (required).- Parameters:
datasetName
- source dataset name
-
setConfigMode
public void setConfigMode(GridIndexOnline.IndexConfigMode configMode)
Sets index configuration mode- Parameters:
configMode
- index configuration mode
-
setOutputHDFSAddress
public void setOutputHDFSAddress(java.lang.String outputHDFSAddress)
Sets path export to HDFS- Parameters:
outputHDFSAddress
- HDFS path
-
setBounds
public void setBounds(Rectangle2D bounds)
Sets calculation bounds- Parameters:
bounds
- calculation bounds
-
setCols
public void setCols(int cols)
Sets the number of index column- Parameters:
cols
- the number of index column
-
setRows
public void setRows(int rows)
Sets the number of index row- Parameters:
rows
- the number of index row
-
setInterval
public void setInterval(int interval)
Set tolerance- Parameters:
interval
- tolerance
-
setIndexFile
public void setIndexFile(java.lang.String indexFile)
Sets index file path- Parameters:
indexFile
- index file path
-
execute
public void execute()
run analyst- Overrides:
execute
in classDistributeAnalyst
-
-