Package storm.trident.state.map

Examples of storm.trident.state.map.MapReducerAggStateUpdater


    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));
    }
View Full Code Here


    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));
    }
View Full Code Here

TOP

Related Classes of storm.trident.state.map.MapReducerAggStateUpdater

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.