Tabnine Logo
backtype.storm.generated
Code IndexAdd Tabnine to your IDE (free)

How to use backtype.storm.generated

Best Java code snippets using backtype.storm.generated (Showing top 20 results out of 315)

origin: alibaba/jstorm

 @Override
 public void read(org.apache.thrift.protocol.TProtocol prot, StateSpoutSpec struct) throws org.apache.thrift.TException {
  TTupleProtocol iprot = (TTupleProtocol) prot;
  struct.state_spout_object = new ComponentObject();
  struct.state_spout_object.read(iprot);
  struct.set_state_spout_object_isSet(true);
  struct.common = new ComponentCommon();
  struct.common.read(iprot);
  struct.set_common_isSet(true);
 }
}
origin: alibaba/jstorm

 @Override
 public void read(org.apache.thrift.protocol.TProtocol prot, SpoutSpec struct) throws org.apache.thrift.TException {
  TTupleProtocol iprot = (TTupleProtocol) prot;
  struct.spout_object = new ComponentObject();
  struct.spout_object.read(iprot);
  struct.set_spout_object_isSet(true);
  struct.common = new ComponentCommon();
  struct.common.read(iprot);
  struct.set_common_isSet(true);
 }
}
origin: alibaba/jstorm

/**
 * Performs a deep copy on <i>other</i>.
 */
public fetchRequest_result(fetchRequest_result other) {
 if (other.is_set_success()) {
  this.success = new DRPCRequest(other.success);
 }
 if (other.is_set_aze()) {
  this.aze = new AuthorizationException(other.aze);
 }
}
origin: alibaba/jstorm

 @Override
 public void read(org.apache.thrift.protocol.TProtocol prot, Bolt struct) throws org.apache.thrift.TException {
  TTupleProtocol iprot = (TTupleProtocol) prot;
  struct.bolt_object = new ComponentObject();
  struct.bolt_object.read(iprot);
  struct.set_bolt_object_isSet(true);
  struct.common = new ComponentCommon();
  struct.common.read(iprot);
  struct.set_common_isSet(true);
 }
}
origin: alibaba/jstorm

/**
 * Performs a deep copy on <i>other</i>.
 */
public Bolt(Bolt other) {
 if (other.is_set_bolt_object()) {
  this.bolt_object = new ComponentObject(other.bolt_object);
 }
 if (other.is_set_common()) {
  this.common = new ComponentCommon(other.common);
 }
}
origin: alibaba/jstorm

/**
 * Performs a deep copy on <i>other</i>.
 */
public StateSpoutSpec(StateSpoutSpec other) {
 if (other.is_set_state_spout_object()) {
  this.state_spout_object = new ComponentObject(other.state_spout_object);
 }
 if (other.is_set_common()) {
  this.common = new ComponentCommon(other.common);
 }
}
origin: alibaba/jstorm

/**
 * Performs a deep copy on <i>other</i>.
 */
public SpoutSpec(SpoutSpec other) {
 if (other.is_set_spout_object()) {
  this.spout_object = new ComponentObject(other.spout_object);
 }
 if (other.is_set_common()) {
  this.common = new ComponentCommon(other.common);
 }
}
origin: alibaba/jstorm

public void send_result(String id, String result) throws org.apache.thrift.TException
{
 result_args args = new result_args();
 args.set_id(id);
 args.set_result(result);
 sendBase("result", args);
}
origin: alibaba/jstorm

public void send_execute(String functionName, String funcArgs) throws org.apache.thrift.TException
{
 execute_args args = new execute_args();
 args.set_functionName(functionName);
 args.set_funcArgs(funcArgs);
 sendBase("execute", args);
}
origin: alibaba/jstorm

public void send_failRequest(String id) throws org.apache.thrift.TException
{
 failRequest_args args = new failRequest_args();
 args.set_id(id);
 sendBase("failRequest", args);
}
origin: alibaba/jstorm

@Override
public void write(org.apache.thrift.protocol.TProtocol prot, Bolt struct) throws org.apache.thrift.TException {
 TTupleProtocol oprot = (TTupleProtocol) prot;
 struct.bolt_object.write(oprot);
 struct.common.write(oprot);
}
origin: alibaba/jstorm

 public fetchRequest_result getResult(I iface, fetchRequest_args args) throws org.apache.thrift.TException {
  fetchRequest_result result = new fetchRequest_result();
  try {
   result.success = iface.fetchRequest(args.functionName);
  } catch (AuthorizationException aze) {
   result.aze = aze;
  }
  return result;
 }
}
origin: alibaba/jstorm

public void recv_result() throws AuthorizationException, org.apache.thrift.TException
{
 result_result result = new result_result();
 receiveBase(result, "result");
 if (result.aze != null) {
  throw result.aze;
 }
 return;
}
origin: alibaba/jstorm

public void recv_failRequest() throws AuthorizationException, org.apache.thrift.TException
{
 failRequest_result result = new failRequest_result();
 receiveBase(result, "failRequest");
 if (result.aze != null) {
  throw result.aze;
 }
 return;
}
origin: alibaba/jstorm

 public execute_result getResult(I iface, execute_args args) throws org.apache.thrift.TException {
  execute_result result = new execute_result();
  try {
   result.success = iface.execute(args.functionName, args.funcArgs);
  } catch (DRPCExecutionException e) {
   result.e = e;
  } catch (AuthorizationException aze) {
   result.aze = aze;
  }
  return result;
 }
}
origin: alibaba/jstorm

 public result_result getResult(I iface, result_args args) throws org.apache.thrift.TException {
  result_result result = new result_result();
  try {
   iface.result(args.id, args.result);
  } catch (AuthorizationException aze) {
   result.aze = aze;
  }
  return result;
 }
}
origin: alibaba/jstorm

/**
 * Performs a deep copy on <i>other</i>.
 */
public SubmitOptions(SubmitOptions other) {
 if (other.is_set_initial_status()) {
  this.initial_status = other.initial_status;
 }
 if (other.is_set_creds()) {
  this.creds = new Credentials(other.creds);
 }
}
origin: alibaba/jstorm

/**
 * Performs a deep copy on <i>other</i>.
 */
public result_result(result_result other) {
 if (other.is_set_aze()) {
  this.aze = new AuthorizationException(other.aze);
 }
}
origin: alibaba/jstorm

/**
 * Performs a deep copy on <i>other</i>.
 */
public ReadableBlobMeta(ReadableBlobMeta other) {
 __isset_bitfield = other.__isset_bitfield;
 if (other.is_set_settable()) {
  this.settable = new SettableBlobMeta(other.settable);
 }
 this.version = other.version;
}
origin: alibaba/jstorm

@Override
public void write(org.apache.thrift.protocol.TProtocol prot, SpoutSpec struct) throws org.apache.thrift.TException {
 TTupleProtocol oprot = (TTupleProtocol) prot;
 struct.spout_object.write(oprot);
 struct.common.write(oprot);
}
backtype.storm.generated

Most used classes

  • ClusterSummary
  • Nimbus$Client
  • KillOptions
  • TopologySummary
  • GlobalStreamId
  • SupervisorSummary,
  • TopologyInfo,
  • StormTopology,
  • AlreadyAliveException,
  • Bolt,
  • ComponentCommon,
  • ErrorInfo,
  • Grouping$_Fields,
  • Nimbus$Iface,
  • NotAliveException,
  • RebalanceOptions,
  • SpoutStats,
  • BoltStats,
  • ComponentObject
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now