本文整理汇总了Java中storm.trident.operation.ReducerAggregator类的典型用法代码示例。如果您正苦于以下问题:Java ReducerAggregator类的具体用法?Java ReducerAggregator怎么用?Java ReducerAggregator使用的例子?那么, 这里精选的类代码示例或许可以为您提供帮助。
ReducerAggregator类属于storm.trident.operation包,在下文中一共展示了ReducerAggregator类的13个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。
示例1: persistentAggregate
import storm.trident.operation.ReducerAggregator; //导入依赖的package包/类
public TridentState persistentAggregate(StateSpec spec, Fields inputFields, ReducerAggregator agg, Fields functionFields) {
return _stream.partitionBy(_groupFields)
.partitionPersist(spec,
TridentUtils.fieldsUnion(_groupFields, inputFields),
new MapReducerAggStateUpdater(agg, _groupFields, inputFields),
TridentUtils.fieldsConcat(_groupFields, functionFields));
}
示例2: partitionAggregate
import storm.trident.operation.ReducerAggregator; //导入依赖的package包/类
public Stream partitionAggregate(ReducerAggregator agg, Fields functionFields) {
return partitionAggregate(null, agg, functionFields);
}
示例3: aggregate
import storm.trident.operation.ReducerAggregator; //导入依赖的package包/类
public Stream aggregate(ReducerAggregator agg, Fields functionFields) {
return aggregate(null, agg, functionFields);
}
示例4: persistentAggregate
import storm.trident.operation.ReducerAggregator; //导入依赖的package包/类
public TridentState persistentAggregate(StateSpec spec, ReducerAggregator agg, Fields functionFields) {
return persistentAggregate(spec, null, agg, functionFields);
}
示例5: ReducerAggregatorImpl
import storm.trident.operation.ReducerAggregator; //导入依赖的package包/类
public ReducerAggregatorImpl(ReducerAggregator agg) {
_agg = agg;
}
示例6: ReducerAggStateUpdater
import storm.trident.operation.ReducerAggregator; //导入依赖的package包/类
public ReducerAggStateUpdater(ReducerAggregator agg) {
_agg = agg;
}
示例7: MapReducerAggStateUpdater
import storm.trident.operation.ReducerAggregator; //导入依赖的package包/类
public MapReducerAggStateUpdater(ReducerAggregator agg, Fields groupFields, Fields inputFields) {
_agg = agg;
_groupFields = groupFields;
_inputFields = inputFields;
_factory = new ComboList.Factory(groupFields.size(), 1);
}
示例8: ReducerValueUpdater
import storm.trident.operation.ReducerAggregator; //导入依赖的package包/类
public ReducerValueUpdater(ReducerAggregator agg, List<TridentTuple> tuples) {
this.agg = agg;
this.tuples = tuples;
}
示例9: partitionAggregate
import storm.trident.operation.ReducerAggregator; //导入依赖的package包/类
@Override
public ChainedPartitionAggregatorDeclarer partitionAggregate(ReducerAggregator agg, Fields functionFields) {
return partitionAggregate(null, agg, functionFields);
}
示例10: aggregate
import storm.trident.operation.ReducerAggregator; //导入依赖的package包/类
@Override
public ChainedFullAggregatorDeclarer aggregate(ReducerAggregator agg, Fields functionFields) {
return aggregate(null, agg, functionFields);
}
示例11: persistentAggregate
import storm.trident.operation.ReducerAggregator; //导入依赖的package包/类
public TridentState persistentAggregate(StateFactory stateFactory, ReducerAggregator agg, Fields functionFields) {
return persistentAggregate(new StateSpec(stateFactory), agg, functionFields);
}
示例12: partitionAggregate
import storm.trident.operation.ReducerAggregator; //导入依赖的package包/类
public ChainedPartitionAggregatorDeclarer partitionAggregate(ReducerAggregator agg, Fields functionFields) {
return partitionAggregate(null, agg, functionFields);
}
示例13: aggregate
import storm.trident.operation.ReducerAggregator; //导入依赖的package包/类
public ChainedFullAggregatorDeclarer aggregate(ReducerAggregator agg, Fields functionFields) {
return aggregate(null, agg, functionFields);
}