final EquiJoinComponent O_Ljoin = new EquiJoinComponent(relationOrders, relationLineitem,
_queryPlan).setHashIndexes(Arrays.asList(1));
// -------------------------------------------------------------------------------------
// set up aggregation function on a separate StormComponent(Bolt)
final DistinctOperator distinctOp = new DistinctOperator(conf, new int[] { 0 });
final AggregateOperator aggOp = new AggregateCountOperator(conf).setGroupByColumns(
Arrays.asList(1)).setDistinct(distinctOp);
new OperatorComponent(O_Ljoin, "FINAL_RESULT", _queryPlan).addOperator(aggOp);
// -------------------------------------------------------------------------------------