Package backtype.storm.tuple

Examples of backtype.storm.tuple.TupleImplExt


      streamId = _kryoInput.readInt(true);
      componentName = _context.getComponentId(taskId);
      streamName = _ids.getStreamName(componentName, streamId);
      id = MessageId.deserialize(_kryoInput);
      List<Object> values = _kryo.deserializeFrom(_kryoInput);
      TupleImplExt tuple = new TupleImplExt(_context, values, taskId,
          streamName, id);
      tuple.setTargetTaskId(targetTaskId);
      return tuple;
    } catch (Throwable e) {
      StringBuilder sb = new StringBuilder();
     
      sb.append("Deserialize error:");
View Full Code Here


              put_xor(anchors_to_ids, root_id, edge_id);
            }
          }
        }
        MessageId msgid = MessageId.makeId(anchors_to_ids);
        TupleImplExt tupleExt = new TupleImplExt(topologyContext,
            values, task_id, out_stream_id, msgid);
        tupleExt.setTargetTaskId(t);

        taskTransfer.transfer(tupleExt);

      }
      return out_tasks;
View Full Code Here

    }

    Integer taskId = topologyContext.getThisTaskId();

    for (Integer task : tasks) {
      TupleImplExt tup = new TupleImplExt(topologyContext, values,
          taskId, stream);
      tup.setTargetTaskId(task);

      transfer_fn.transfer(tup);
    }
  }
View Full Code Here

          ackSeq.add(as);
        } else {
          msgid = MessageId.makeUnanchored();
        }

        TupleImplExt tp = new TupleImplExt(topology_context, values,
            task_id, out_stream_id, msgid);
        tp.setTargetTaskId(t);
        transfer_fn.transfer(tp);

      }

      if (needAck) {
View Full Code Here

TOP

Related Classes of backtype.storm.tuple.TupleImplExt

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.