Package backtype.storm.generated

Examples of backtype.storm.generated.JavaObject


      // ͨ������������ķ�ʽ����ȫ���
      this.random = new Random();
      grouperType = GrouperType.none;
    } else if (GroupingConstants.custom_object.equals(fields)) {
      // �û��Զ������
      JavaObject jobj = thrift_grouping.get_custom_object();
      CustomStreamGrouping g = Thrift.instantiateJavaObject(jobj);
      custom_grouper = new MkCustomGrouper(g, out_fields, num_tasks);
      grouperType = GrouperType.custom_obj;
    } else if (GroupingConstants.custom_serialized.equals(fields)) {
      // �û��Զ�������л�����ķ���
View Full Code Here


      // random send one task
      this.random = new Random();
      grouperType = GrouperType.none;
    } else if (Grouping._Fields.CUSTOM_OBJECT.equals(fields)) {
      // user custom grouping by JavaObject
      JavaObject jobj = thrift_grouping.get_custom_object();
      CustomStreamGrouping g = Thrift.instantiateJavaObject(jobj);
      int myTaskId = topology_context.getThisTaskId();
      String componentId = topology_context.getComponentId(myTaskId);
      GlobalStreamId stream = new GlobalStreamId(componentId, streamId);
      custom_grouper = new MkCustomGrouper(topology_context, g, stream,
View Full Code Here

TOP

Related Classes of backtype.storm.generated.JavaObject

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.