@Override
 public void declareOutputFields(OutputFieldsDeclarer declarer) {
   declarer.declare(new Fields(FIELDS));
 }
 @Override
 public void declareOutputFields(OutputFieldsDeclarer declarer) {
   declarer.declare(new Fields("word", "count"));
 }
 @Override
 public void declareOutputFields(OutputFieldsDeclarer declarer) {
   declarer.declare(new Fields("tweet"));
 }
示例#4
0
 @Override
 public void declareOutputFields(OutputFieldsDeclarer declarer) {
   declarer.declare(_fields);
 }
 @Override
 public void declareOutputFields(OutputFieldsDeclarer declarer) {
   declarer.declare(new Fields("tx", "key", "sum"));
 }
 @Override
 public void declareOutputFields(OutputFieldsDeclarer declarer) {
   declarer.declare(new Fields("url", "content", "metadata"));
   declarer.declareStream(Constants.StatusStreamName, new Fields("url", "metadata", "status"));
 }
示例#7
0
 public void declareOutputFields(OutputFieldsDeclarer declarer) {
   declarer.declare(outputFields);
 }