List<Object> v9 = HBaseCountersBatchTopology.values.get(2).get(1);
List<Object> v10 = HBaseCountersBatchTopology.values.get(2).get(2);
HBaseCountersBatchTopology.values.values();
FixedBatchSpout spout = new FixedBatchSpout(new Fields("shortid", "url",
"user", "date"), 3, v0, v1, v2, v3, v4, v5, v6, v7, v8, v9, v10);
spout.setCycle(false);
TridentConfig config = new TridentConfig("shorturl", "shortid");
config.setBatch(false);
StateFactory state = HBaseAggregateState.transactional(config);
TridentTopology topology = new TridentTopology();
topology
.newStream("spout", spout)
.each(new Fields("shortid", "date"), new DatePartitionFunction(),
new Fields("cf", "cq")).project(new Fields("shortid", "cf", "cq"))
.groupBy(new Fields("shortid", "cf", "cq"))
.persistentAggregate(state, new Count(), new Fields("count"));
Config conf = new Config();
LocalCluster cluster = new LocalCluster();
cluster.submitTopology("hbase-trident-aggregate", conf, topology.build());