Package backtype.storm.generated

Examples of backtype.storm.generated.NullStruct


      return allGrouping(componentId, Utils.DEFAULT_STREAM_ID);
    }

    public BoltDeclarer allGrouping(String componentId, String streamId) {
      return grouping(componentId, streamId,
          Grouping.all(new NullStruct()));
    }
View Full Code Here


      return directGrouping(componentId, Utils.DEFAULT_STREAM_ID);
    }

    public BoltDeclarer directGrouping(String componentId, String streamId) {
      return grouping(componentId, streamId,
          Grouping.direct(new NullStruct()));
    }
View Full Code Here

    public Stream partition(CustomStreamGrouping partitioner) {
        return partition(Grouping.custom_serialized(Utils.serialize(partitioner)));
    }
   
    public Stream shuffle() {
        return partition(Grouping.shuffle(new NullStruct()));
    }
View Full Code Here

    public Stream shuffle() {
        return partition(Grouping.shuffle(new NullStruct()));
    }

    public Stream localOrShuffle() {
        return partition(Grouping.local_or_shuffle(new NullStruct()));
    }
View Full Code Here

        // the first field is the batch id
        return partition(new IndexHashGrouping(0));
    }
       
    public Stream broadcast() {
        return partition(Grouping.all(new NullStruct()));
    }
View Full Code Here

TOP

Related Classes of backtype.storm.generated.NullStruct

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.