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 classGridIndexOnline.IndexConfigModeIndex 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 voidexecute()run analystvoidsetBounds(Rectangle2D bounds)Sets calculation boundsvoidsetCols(int cols)Sets the number of index columnvoidsetConfigMode(GridIndexOnline.IndexConfigMode configMode)Sets index configuration modevoidsetDatasetSource(java.lang.String datasetName)set imported source dataset (required).voidsetIndexFile(java.lang.String indexFile)Sets index file pathvoidsetInterval(int interval)Set tolerancevoidsetOutputHDFSAddress(java.lang.String outputHDFSAddress)Sets path export to HDFSvoidsetRows(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:
executein classDistributeAnalyst
-
-