// run a small job
AnalyzerBeansConfiguration conf = new JaxbConfigurationReader().create(new File(DataCleanerHome.get(), "conf.xml"));
final AnalysisJobBuilder ajb = new AnalysisJobBuilder(conf);
Datastore ds = conf.getDatastoreCatalog().getDatastore("orderdb");
DataContextProvider dcp = ds.getDataContextProvider();
SchemaNavigator sn = dcp.getSchemaNavigator();
ajb.setDatastore(ds);
ajb.addSourceColumns(sn.convertToTable("PUBLIC.TRIAL_BALANCE").getColumns());
ajb.addRowProcessingAnalyzer(ValueDistributionAnalyzer.class).addInputColumns(ajb.getSourceColumns());
ajb.addSourceColumns(sn.convertToTable("PUBLIC.CUSTOMERS").getColumns());
RowProcessingAnalyzerJobBuilder<ValueDistributionAnalyzer> groupedValueDist = ajb
.addRowProcessingAnalyzer(ValueDistributionAnalyzer.class);
groupedValueDist.addInputColumn(ajb.getSourceColumnByName("PUBLIC.CUSTOMERS.CITY"));
groupedValueDist.setConfiguredProperty("Group column", ajb.getSourceColumnByName("PUBLIC.CUSTOMERS.COUNTRY"));