Class BinningClusterer
- java.lang.Object
-
- org.openrefine.clustering.Clusterer
-
- org.openrefine.clustering.binning.BinningClusterer
-
public class BinningClusterer extends Clusterer
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classBinningClusterer.BinningClustererConfigstatic classBinningClusterer.BinningParametersstatic classBinningClusterer.EntriesComparatorstatic classBinningClusterer.SizeComparator
-
Field Summary
Fields Modifier and Type Field Description protected Keyer_keyerprotected BinningClusterer.BinningParameters_parameters
-
Constructor Summary
Constructors Constructor Description BinningClusterer()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voidcomputeClusters(Engine engine)protected static Map<String,Object>entryToMap(Map.Entry<String,Integer> entry)List<List<ClusteredEntry>>getJsonRepresentation()voidinitializeFromConfig(Grid state, BinningClusterer.BinningClustererConfig config)-
Methods inherited from class org.openrefine.clustering.Clusterer
initializeFromConfig
-
-
-
-
Field Detail
-
_keyer
protected Keyer _keyer
-
_parameters
protected BinningClusterer.BinningParameters _parameters
-
-
Method Detail
-
initializeFromConfig
public void initializeFromConfig(Grid state, BinningClusterer.BinningClustererConfig config)
-
computeClusters
public void computeClusters(Engine engine)
- Specified by:
computeClustersin classClusterer
-
getJsonRepresentation
public List<List<ClusteredEntry>> getJsonRepresentation()
-
-