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 class
BinningClusterer.BinningClustererConfig
static class
BinningClusterer.BinningParameters
static class
BinningClusterer.EntriesComparator
static class
BinningClusterer.SizeComparator
-
Field Summary
Fields Modifier and Type Field Description protected Keyer
_keyer
protected BinningClusterer.BinningParameters
_parameters
-
Constructor Summary
Constructors Constructor Description BinningClusterer()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
computeClusters(Engine engine)
protected static Map<String,Object>
entryToMap(Map.Entry<String,Integer> entry)
List<List<ClusteredEntry>>
getJsonRepresentation()
void
initializeFromConfig(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:
computeClusters
in classClusterer
-
getJsonRepresentation
public List<List<ClusteredEntry>> getJsonRepresentation()
-
-