Package org.openrefine.clustering
Class ClustererConfig
- java.lang.Object
-
- org.openrefine.clustering.ClustererConfig
-
- Direct Known Subclasses:
BinningClusterer.BinningClustererConfig
,kNNClusterer.kNNClustererConfig
public abstract class ClustererConfig extends Object
Represents the configuration data for a clusterer.- Author:
- Antonin Delpeuch
-
-
Field Summary
Fields Modifier and Type Field Description protected String
columnName
-
Constructor Summary
Constructors Constructor Description ClustererConfig()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description abstract Clusterer
apply(Grid state)
Instantiate the configuration on a particular project.String
getColumnName()
abstract String
getType()
Type string used in Json serializationvoid
setColumnName(String name)
-
-
-
Field Detail
-
columnName
protected String columnName
-
-
Method Detail
-
getColumnName
public String getColumnName()
-
setColumnName
public void setColumnName(String name)
-
apply
public abstract Clusterer apply(Grid state)
Instantiate the configuration on a particular project.- Parameters:
state
- the state of the grid in the project- Returns:
-
getType
public abstract String getType()
Type string used in Json serialization
-
-