You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@storm.apache.org by ar...@apache.org on 2019/02/28 20:54:46 UTC
[storm] branch master updated: Upgrade thrift to 0.12.0
This is an automated email from the ASF dual-hosted git repository.
arunm pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/storm.git
The following commit(s) were added to refs/heads/master by this push:
new 901f4aa Upgrade thrift to 0.12.0
901f4aa is described below
commit 901f4aa81ccb9596ea46dac23bd7d82aba2cfaa2
Author: Arun Mahadevan <ar...@apache.org>
AuthorDate: Fri Feb 22 15:16:13 2019 -0800
Upgrade thrift to 0.12.0
---
pom.xml | 2 +-
.../org/apache/storm/generated/AccessControl.java | 20 +-
.../apache/storm/generated/AccessControlType.java | 4 +-
.../storm/generated/AlreadyAliveException.java | 15 +-
.../jvm/org/apache/storm/generated/Assignment.java | 77 +-
.../storm/generated/AuthorizationException.java | 15 +-
.../storm/generated/BeginDownloadResult.java | 15 +-
.../src/jvm/org/apache/storm/generated/Bolt.java | 20 +-
.../apache/storm/generated/BoltAggregateStats.java | 10 +-
.../jvm/org/apache/storm/generated/BoltStats.java | 95 +-
.../org/apache/storm/generated/ClusterSummary.java | 40 +-
.../storm/generated/ClusterWorkerHeartbeat.java | 28 +-
.../storm/generated/CommonAggregateStats.java | 19 +-
.../storm/generated/ComponentAggregateStats.java | 30 +-
.../apache/storm/generated/ComponentCommon.java | 41 +-
.../apache/storm/generated/ComponentObject.java | 10 +-
.../apache/storm/generated/ComponentPageInfo.java | 113 +-
.../org/apache/storm/generated/ComponentType.java | 4 +-
.../org/apache/storm/generated/Credentials.java | 28 +-
.../apache/storm/generated/DRPCExceptionType.java | 4 +-
.../storm/generated/DRPCExecutionException.java | 20 +-
.../org/apache/storm/generated/DRPCRequest.java | 20 +-
.../org/apache/storm/generated/DebugOptions.java | 10 +-
.../org/apache/storm/generated/DistributedRPC.java | 43 +-
.../storm/generated/DistributedRPCInvocations.java | 115 +-
.../jvm/org/apache/storm/generated/ErrorInfo.java | 20 +-
.../storm/generated/ExecutorAggregateStats.java | 20 +-
.../org/apache/storm/generated/ExecutorInfo.java | 10 +-
.../storm/generated/ExecutorSpecificStats.java | 6 +-
.../org/apache/storm/generated/ExecutorStats.java | 49 +-
.../apache/storm/generated/ExecutorSummary.java | 30 +-
.../org/apache/storm/generated/GetInfoOptions.java | 15 +-
.../org/apache/storm/generated/GlobalStreamId.java | 20 +-
.../jvm/org/apache/storm/generated/Grouping.java | 14 +-
.../storm/generated/HBAuthorizationException.java | 15 +-
.../storm/generated/HBExecutionException.java | 15 +-
.../jvm/org/apache/storm/generated/HBMessage.java | 20 +-
.../org/apache/storm/generated/HBMessageData.java | 10 +-
.../jvm/org/apache/storm/generated/HBNodes.java | 20 +-
.../jvm/org/apache/storm/generated/HBPulse.java | 21 +-
.../jvm/org/apache/storm/generated/HBRecords.java | 20 +-
.../storm/generated/HBServerMessageType.java | 4 +-
.../storm/generated/IllegalStateException.java | 15 +-
.../storm/generated/InvalidTopologyException.java | 15 +-
.../jvm/org/apache/storm/generated/JavaObject.java | 25 +-
.../org/apache/storm/generated/JavaObjectArg.java | 10 +-
.../storm/generated/KeyAlreadyExistsException.java | 15 +-
.../storm/generated/KeyNotFoundException.java | 15 +-
.../org/apache/storm/generated/KillOptions.java | 10 +-
.../apache/storm/generated/LSApprovedWorkers.java | 19 +-
.../storm/generated/LSSupervisorAssignments.java | 19 +-
.../org/apache/storm/generated/LSSupervisorId.java | 15 +-
.../org/apache/storm/generated/LSTopoHistory.java | 35 +-
.../apache/storm/generated/LSTopoHistoryList.java | 20 +-
.../apache/storm/generated/LSWorkerHeartbeat.java | 25 +-
.../apache/storm/generated/ListBlobsResult.java | 25 +-
.../apache/storm/generated/LocalAssignment.java | 35 +-
.../org/apache/storm/generated/LocalStateData.java | 23 +-
.../jvm/org/apache/storm/generated/LogConfig.java | 23 +-
.../jvm/org/apache/storm/generated/LogLevel.java | 25 +-
.../org/apache/storm/generated/LogLevelAction.java | 4 +-
.../src/jvm/org/apache/storm/generated/Nimbus.java | 1558 +++++++++++++-------
.../org/apache/storm/generated/NimbusSummary.java | 20 +-
.../jvm/org/apache/storm/generated/NodeInfo.java | 21 +-
.../apache/storm/generated/NotAliveException.java | 15 +-
.../jvm/org/apache/storm/generated/NullStruct.java | 10 +-
.../apache/storm/generated/NumErrorsChoice.java | 4 +-
.../storm/generated/OwnerResourceSummary.java | 15 +-
.../apache/storm/generated/PrivateWorkerKey.java | 21 +-
.../org/apache/storm/generated/ProfileAction.java | 4 +-
.../org/apache/storm/generated/ProfileRequest.java | 20 +-
.../apache/storm/generated/ReadableBlobMeta.java | 15 +-
.../apache/storm/generated/RebalanceOptions.java | 46 +-
.../apache/storm/generated/SettableBlobMeta.java | 20 +-
.../org/apache/storm/generated/SharedMemory.java | 15 +-
.../org/apache/storm/generated/ShellComponent.java | 20 +-
.../storm/generated/SpecificAggregateStats.java | 6 +-
.../storm/generated/SpoutAggregateStats.java | 10 +-
.../jvm/org/apache/storm/generated/SpoutSpec.java | 20 +-
.../jvm/org/apache/storm/generated/SpoutStats.java | 61 +-
.../org/apache/storm/generated/StateSpoutSpec.java | 20 +-
.../jvm/org/apache/storm/generated/StormBase.java | 67 +-
.../org/apache/storm/generated/StormTopology.java | 119 +-
.../jvm/org/apache/storm/generated/StreamInfo.java | 20 +-
.../org/apache/storm/generated/SubmitOptions.java | 20 +-
.../jvm/org/apache/storm/generated/Supervisor.java | 86 +-
.../storm/generated/SupervisorAssignments.java | 23 +-
.../org/apache/storm/generated/SupervisorInfo.java | 59 +-
.../apache/storm/generated/SupervisorPageInfo.java | 30 +-
.../apache/storm/generated/SupervisorSummary.java | 34 +-
.../storm/generated/SupervisorWorkerHeartbeat.java | 25 +-
.../generated/SupervisorWorkerHeartbeats.java | 25 +-
.../storm/generated/ThriftSerializedObject.java | 21 +-
.../storm/generated/TopologyActionOptions.java | 6 +-
.../storm/generated/TopologyHistoryInfo.java | 20 +-
.../org/apache/storm/generated/TopologyInfo.java | 80 +-
.../storm/generated/TopologyInitialStatus.java | 4 +-
.../apache/storm/generated/TopologyPageInfo.java | 96 +-
.../org/apache/storm/generated/TopologyStats.java | 55 +-
.../org/apache/storm/generated/TopologyStatus.java | 4 +-
.../apache/storm/generated/TopologySummary.java | 45 +-
.../apache/storm/generated/WorkerMetricList.java | 20 +-
.../apache/storm/generated/WorkerMetricPoint.java | 30 +-
.../org/apache/storm/generated/WorkerMetrics.java | 25 +-
.../apache/storm/generated/WorkerResources.java | 28 +-
.../org/apache/storm/generated/WorkerSummary.java | 39 +-
.../org/apache/storm/generated/WorkerToken.java | 27 +-
.../apache/storm/generated/WorkerTokenInfo.java | 20 +-
.../storm/generated/WorkerTokenServiceType.java | 4 +-
storm-client/src/py/storm/DistributedRPC-remote | 2 +-
storm-client/src/py/storm/DistributedRPC.py | 6 +-
.../src/py/storm/DistributedRPCInvocations-remote | 2 +-
.../src/py/storm/DistributedRPCInvocations.py | 18 +-
storm-client/src/py/storm/Nimbus-remote | 2 +-
storm-client/src/py/storm/Nimbus.py | 186 ++-
storm-client/src/py/storm/Supervisor-remote | 2 +-
storm-client/src/py/storm/Supervisor.py | 14 +-
storm-client/src/py/storm/constants.py | 2 +-
storm-client/src/py/storm/ttypes.py | 95 +-
119 files changed, 3184 insertions(+), 1578 deletions(-)
diff --git a/pom.xml b/pom.xml
index bbcf495..b8a8740 100644
--- a/pom.xml
+++ b/pom.xml
@@ -294,7 +294,7 @@
<kryo.version>3.0.3</kryo.version>
<servlet.version>3.1.0</servlet.version>
<joda-time.version>2.3</joda-time.version>
- <thrift.version>0.11.0</thrift.version>
+ <thrift.version>0.12.0</thrift.version>
<junit.jupiter.version>5.3.2</junit.jupiter.version>
<surefire.version>2.22.1</surefire.version>
<awaitility.version>3.1.0</awaitility.version>
diff --git a/storm-client/src/jvm/org/apache/storm/generated/AccessControl.java b/storm-client/src/jvm/org/apache/storm/generated/AccessControl.java
index bef3f32..58b166b 100644
--- a/storm-client/src/jvm/org/apache/storm/generated/AccessControl.java
+++ b/storm-client/src/jvm/org/apache/storm/generated/AccessControl.java
@@ -16,7 +16,7 @@
* limitations under the License.
*/
/**
- * Autogenerated by Thrift Compiler (0.11.0)
+ * Autogenerated by Thrift Compiler (0.12.0)
*
* DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
* @generated
@@ -24,7 +24,7 @@
package org.apache.storm.generated;
@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked", "unused"})
-@javax.annotation.Generated(value = "Autogenerated by Thrift Compiler (0.11.0)")
+@javax.annotation.Generated(value = "Autogenerated by Thrift Compiler (0.12.0)")
public class AccessControl implements org.apache.storm.thrift.TBase<AccessControl, AccessControl._Fields>, java.io.Serializable, Cloneable, Comparable<AccessControl> {
private static final org.apache.storm.thrift.protocol.TStruct STRUCT_DESC = new org.apache.storm.thrift.protocol.TStruct("AccessControl");
@@ -35,8 +35,8 @@ public class AccessControl implements org.apache.storm.thrift.TBase<AccessContro
private static final org.apache.storm.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new AccessControlStandardSchemeFactory();
private static final org.apache.storm.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new AccessControlTupleSchemeFactory();
- private AccessControlType type; // required
- private java.lang.String name; // optional
+ private @org.apache.storm.thrift.annotation.Nullable AccessControlType type; // required
+ private @org.apache.storm.thrift.annotation.Nullable java.lang.String name; // optional
private int access; // required
/** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
@@ -60,6 +60,7 @@ public class AccessControl implements org.apache.storm.thrift.TBase<AccessContro
/**
* Find the _Fields constant that matches fieldId, or null if its not found.
*/
+ @org.apache.storm.thrift.annotation.Nullable
public static _Fields findByThriftId(int fieldId) {
switch(fieldId) {
case 1: // TYPE
@@ -86,6 +87,7 @@ public class AccessControl implements org.apache.storm.thrift.TBase<AccessContro
/**
* Find the _Fields constant that matches name, or null if its not found.
*/
+ @org.apache.storm.thrift.annotation.Nullable
public static _Fields findByName(java.lang.String name) {
return byName.get(name);
}
@@ -167,6 +169,7 @@ public class AccessControl implements org.apache.storm.thrift.TBase<AccessContro
*
* @see AccessControlType
*/
+ @org.apache.storm.thrift.annotation.Nullable
public AccessControlType get_type() {
return this.type;
}
@@ -175,7 +178,7 @@ public class AccessControl implements org.apache.storm.thrift.TBase<AccessContro
*
* @see AccessControlType
*/
- public void set_type(AccessControlType type) {
+ public void set_type(@org.apache.storm.thrift.annotation.Nullable AccessControlType type) {
this.type = type;
}
@@ -194,11 +197,12 @@ public class AccessControl implements org.apache.storm.thrift.TBase<AccessContro
}
}
+ @org.apache.storm.thrift.annotation.Nullable
public java.lang.String get_name() {
return this.name;
}
- public void set_name(java.lang.String name) {
+ public void set_name(@org.apache.storm.thrift.annotation.Nullable java.lang.String name) {
this.name = name;
}
@@ -239,7 +243,7 @@ public class AccessControl implements org.apache.storm.thrift.TBase<AccessContro
__isset_bitfield = org.apache.storm.thrift.EncodingUtils.setBit(__isset_bitfield, __ACCESS_ISSET_ID, value);
}
- public void setFieldValue(_Fields field, java.lang.Object value) {
+ public void setFieldValue(_Fields field, @org.apache.storm.thrift.annotation.Nullable java.lang.Object value) {
switch (field) {
case TYPE:
if (value == null) {
@@ -268,6 +272,7 @@ public class AccessControl implements org.apache.storm.thrift.TBase<AccessContro
}
}
+ @org.apache.storm.thrift.annotation.Nullable
public java.lang.Object getFieldValue(_Fields field) {
switch (field) {
case TYPE:
@@ -403,6 +408,7 @@ public class AccessControl implements org.apache.storm.thrift.TBase<AccessContro
return 0;
}
+ @org.apache.storm.thrift.annotation.Nullable
public _Fields fieldForId(int fieldId) {
return _Fields.findByThriftId(fieldId);
}
diff --git a/storm-client/src/jvm/org/apache/storm/generated/AccessControlType.java b/storm-client/src/jvm/org/apache/storm/generated/AccessControlType.java
index 0f2f3d4..9a32f8b 100644
--- a/storm-client/src/jvm/org/apache/storm/generated/AccessControlType.java
+++ b/storm-client/src/jvm/org/apache/storm/generated/AccessControlType.java
@@ -16,7 +16,7 @@
* limitations under the License.
*/
/**
- * Autogenerated by Thrift Compiler (0.11.0)
+ * Autogenerated by Thrift Compiler (0.12.0)
*
* DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
* @generated
@@ -24,6 +24,7 @@
package org.apache.storm.generated;
+@javax.annotation.Generated(value = "Autogenerated by Thrift Compiler (0.12.0)")
public enum AccessControlType implements org.apache.storm.thrift.TEnum {
OTHER(1),
USER(2);
@@ -45,6 +46,7 @@ public enum AccessControlType implements org.apache.storm.thrift.TEnum {
* Find a the enum type by its integer value, as defined in the Thrift IDL.
* @return null if the value is not found.
*/
+ @org.apache.storm.thrift.annotation.Nullable
public static AccessControlType findByValue(int value) {
switch (value) {
case 1:
diff --git a/storm-client/src/jvm/org/apache/storm/generated/AlreadyAliveException.java b/storm-client/src/jvm/org/apache/storm/generated/AlreadyAliveException.java
index c1d6bb5..02f3174 100644
--- a/storm-client/src/jvm/org/apache/storm/generated/AlreadyAliveException.java
+++ b/storm-client/src/jvm/org/apache/storm/generated/AlreadyAliveException.java
@@ -16,7 +16,7 @@
* limitations under the License.
*/
/**
- * Autogenerated by Thrift Compiler (0.11.0)
+ * Autogenerated by Thrift Compiler (0.12.0)
*
* DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
* @generated
@@ -24,7 +24,7 @@
package org.apache.storm.generated;
@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked", "unused"})
-@javax.annotation.Generated(value = "Autogenerated by Thrift Compiler (0.11.0)")
+@javax.annotation.Generated(value = "Autogenerated by Thrift Compiler (0.12.0)")
public class AlreadyAliveException extends org.apache.storm.thrift.TException implements org.apache.storm.thrift.TBase<AlreadyAliveException, AlreadyAliveException._Fields>, java.io.Serializable, Cloneable, Comparable<AlreadyAliveException> {
private static final org.apache.storm.thrift.protocol.TStruct STRUCT_DESC = new org.apache.storm.thrift.protocol.TStruct("AlreadyAliveException");
@@ -33,7 +33,7 @@ public class AlreadyAliveException extends org.apache.storm.thrift.TException im
private static final org.apache.storm.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new AlreadyAliveExceptionStandardSchemeFactory();
private static final org.apache.storm.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new AlreadyAliveExceptionTupleSchemeFactory();
- private java.lang.String msg; // required
+ private @org.apache.storm.thrift.annotation.Nullable java.lang.String msg; // required
/** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
public enum _Fields implements org.apache.storm.thrift.TFieldIdEnum {
@@ -50,6 +50,7 @@ public class AlreadyAliveException extends org.apache.storm.thrift.TException im
/**
* Find the _Fields constant that matches fieldId, or null if its not found.
*/
+ @org.apache.storm.thrift.annotation.Nullable
public static _Fields findByThriftId(int fieldId) {
switch(fieldId) {
case 1: // MSG
@@ -72,6 +73,7 @@ public class AlreadyAliveException extends org.apache.storm.thrift.TException im
/**
* Find the _Fields constant that matches name, or null if its not found.
*/
+ @org.apache.storm.thrift.annotation.Nullable
public static _Fields findByName(java.lang.String name) {
return byName.get(name);
}
@@ -131,11 +133,12 @@ public class AlreadyAliveException extends org.apache.storm.thrift.TException im
this.msg = null;
}
+ @org.apache.storm.thrift.annotation.Nullable
public java.lang.String get_msg() {
return this.msg;
}
- public void set_msg(java.lang.String msg) {
+ public void set_msg(@org.apache.storm.thrift.annotation.Nullable java.lang.String msg) {
this.msg = msg;
}
@@ -154,7 +157,7 @@ public class AlreadyAliveException extends org.apache.storm.thrift.TException im
}
}
- public void setFieldValue(_Fields field, java.lang.Object value) {
+ public void setFieldValue(_Fields field, @org.apache.storm.thrift.annotation.Nullable java.lang.Object value) {
switch (field) {
case MSG:
if (value == null) {
@@ -167,6 +170,7 @@ public class AlreadyAliveException extends org.apache.storm.thrift.TException im
}
}
+ @org.apache.storm.thrift.annotation.Nullable
public java.lang.Object getFieldValue(_Fields field) {
switch (field) {
case MSG:
@@ -248,6 +252,7 @@ public class AlreadyAliveException extends org.apache.storm.thrift.TException im
return 0;
}
+ @org.apache.storm.thrift.annotation.Nullable
public _Fields fieldForId(int fieldId) {
return _Fields.findByThriftId(fieldId);
}
diff --git a/storm-client/src/jvm/org/apache/storm/generated/Assignment.java b/storm-client/src/jvm/org/apache/storm/generated/Assignment.java
index 9b06e81..bc11340 100644
--- a/storm-client/src/jvm/org/apache/storm/generated/Assignment.java
+++ b/storm-client/src/jvm/org/apache/storm/generated/Assignment.java
@@ -16,7 +16,7 @@
* limitations under the License.
*/
/**
- * Autogenerated by Thrift Compiler (0.11.0)
+ * Autogenerated by Thrift Compiler (0.12.0)
*
* DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
* @generated
@@ -24,7 +24,7 @@
package org.apache.storm.generated;
@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked", "unused"})
-@javax.annotation.Generated(value = "Autogenerated by Thrift Compiler (0.11.0)")
+@javax.annotation.Generated(value = "Autogenerated by Thrift Compiler (0.12.0)")
public class Assignment implements org.apache.storm.thrift.TBase<Assignment, Assignment._Fields>, java.io.Serializable, Cloneable, Comparable<Assignment> {
private static final org.apache.storm.thrift.protocol.TStruct STRUCT_DESC = new org.apache.storm.thrift.protocol.TStruct("Assignment");
@@ -39,13 +39,13 @@ public class Assignment implements org.apache.storm.thrift.TBase<Assignment, Ass
private static final org.apache.storm.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new AssignmentStandardSchemeFactory();
private static final org.apache.storm.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new AssignmentTupleSchemeFactory();
- private java.lang.String master_code_dir; // required
- private java.util.Map<java.lang.String,java.lang.String> node_host; // optional
- private java.util.Map<java.util.List<java.lang.Long>,NodeInfo> executor_node_port; // optional
- private java.util.Map<java.util.List<java.lang.Long>,java.lang.Long> executor_start_time_secs; // optional
- private java.util.Map<NodeInfo,WorkerResources> worker_resources; // optional
- private java.util.Map<java.lang.String,java.lang.Double> total_shared_off_heap; // optional
- private java.lang.String owner; // optional
+ private @org.apache.storm.thrift.annotation.Nullable java.lang.String master_code_dir; // required
+ private @org.apache.storm.thrift.annotation.Nullable java.util.Map<java.lang.String,java.lang.String> node_host; // optional
+ private @org.apache.storm.thrift.annotation.Nullable java.util.Map<java.util.List<java.lang.Long>,NodeInfo> executor_node_port; // optional
+ private @org.apache.storm.thrift.annotation.Nullable java.util.Map<java.util.List<java.lang.Long>,java.lang.Long> executor_start_time_secs; // optional
+ private @org.apache.storm.thrift.annotation.Nullable java.util.Map<NodeInfo,WorkerResources> worker_resources; // optional
+ private @org.apache.storm.thrift.annotation.Nullable java.util.Map<java.lang.String,java.lang.Double> total_shared_off_heap; // optional
+ private @org.apache.storm.thrift.annotation.Nullable java.lang.String owner; // optional
/** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
public enum _Fields implements org.apache.storm.thrift.TFieldIdEnum {
@@ -68,6 +68,7 @@ public class Assignment implements org.apache.storm.thrift.TBase<Assignment, Ass
/**
* Find the _Fields constant that matches fieldId, or null if its not found.
*/
+ @org.apache.storm.thrift.annotation.Nullable
public static _Fields findByThriftId(int fieldId) {
switch(fieldId) {
case 1: // MASTER_CODE_DIR
@@ -102,6 +103,7 @@ public class Assignment implements org.apache.storm.thrift.TBase<Assignment, Ass
/**
* Find the _Fields constant that matches name, or null if its not found.
*/
+ @org.apache.storm.thrift.annotation.Nullable
public static _Fields findByName(java.lang.String name) {
return byName.get(name);
}
@@ -263,11 +265,12 @@ public class Assignment implements org.apache.storm.thrift.TBase<Assignment, Ass
this.owner = null;
}
+ @org.apache.storm.thrift.annotation.Nullable
public java.lang.String get_master_code_dir() {
return this.master_code_dir;
}
- public void set_master_code_dir(java.lang.String master_code_dir) {
+ public void set_master_code_dir(@org.apache.storm.thrift.annotation.Nullable java.lang.String master_code_dir) {
this.master_code_dir = master_code_dir;
}
@@ -297,11 +300,12 @@ public class Assignment implements org.apache.storm.thrift.TBase<Assignment, Ass
this.node_host.put(key, val);
}
+ @org.apache.storm.thrift.annotation.Nullable
public java.util.Map<java.lang.String,java.lang.String> get_node_host() {
return this.node_host;
}
- public void set_node_host(java.util.Map<java.lang.String,java.lang.String> node_host) {
+ public void set_node_host(@org.apache.storm.thrift.annotation.Nullable java.util.Map<java.lang.String,java.lang.String> node_host) {
this.node_host = node_host;
}
@@ -331,11 +335,12 @@ public class Assignment implements org.apache.storm.thrift.TBase<Assignment, Ass
this.executor_node_port.put(key, val);
}
+ @org.apache.storm.thrift.annotation.Nullable
public java.util.Map<java.util.List<java.lang.Long>,NodeInfo> get_executor_node_port() {
return this.executor_node_port;
}
- public void set_executor_node_port(java.util.Map<java.util.List<java.lang.Long>,NodeInfo> executor_node_port) {
+ public void set_executor_node_port(@org.apache.storm.thrift.annotation.Nullable java.util.Map<java.util.List<java.lang.Long>,NodeInfo> executor_node_port) {
this.executor_node_port = executor_node_port;
}
@@ -365,11 +370,12 @@ public class Assignment implements org.apache.storm.thrift.TBase<Assignment, Ass
this.executor_start_time_secs.put(key, val);
}
+ @org.apache.storm.thrift.annotation.Nullable
public java.util.Map<java.util.List<java.lang.Long>,java.lang.Long> get_executor_start_time_secs() {
return this.executor_start_time_secs;
}
- public void set_executor_start_time_secs(java.util.Map<java.util.List<java.lang.Long>,java.lang.Long> executor_start_time_secs) {
+ public void set_executor_start_time_secs(@org.apache.storm.thrift.annotation.Nullable java.util.Map<java.util.List<java.lang.Long>,java.lang.Long> executor_start_time_secs) {
this.executor_start_time_secs = executor_start_time_secs;
}
@@ -399,11 +405,12 @@ public class Assignment implements org.apache.storm.thrift.TBase<Assignment, Ass
this.worker_resources.put(key, val);
}
+ @org.apache.storm.thrift.annotation.Nullable
public java.util.Map<NodeInfo,WorkerResources> get_worker_resources() {
return this.worker_resources;
}
- public void set_worker_resources(java.util.Map<NodeInfo,WorkerResources> worker_resources) {
+ public void set_worker_resources(@org.apache.storm.thrift.annotation.Nullable java.util.Map<NodeInfo,WorkerResources> worker_resources) {
this.worker_resources = worker_resources;
}
@@ -433,11 +440,12 @@ public class Assignment implements org.apache.storm.thrift.TBase<Assignment, Ass
this.total_shared_off_heap.put(key, val);
}
+ @org.apache.storm.thrift.annotation.Nullable
public java.util.Map<java.lang.String,java.lang.Double> get_total_shared_off_heap() {
return this.total_shared_off_heap;
}
- public void set_total_shared_off_heap(java.util.Map<java.lang.String,java.lang.Double> total_shared_off_heap) {
+ public void set_total_shared_off_heap(@org.apache.storm.thrift.annotation.Nullable java.util.Map<java.lang.String,java.lang.Double> total_shared_off_heap) {
this.total_shared_off_heap = total_shared_off_heap;
}
@@ -456,11 +464,12 @@ public class Assignment implements org.apache.storm.thrift.TBase<Assignment, Ass
}
}
+ @org.apache.storm.thrift.annotation.Nullable
public java.lang.String get_owner() {
return this.owner;
}
- public void set_owner(java.lang.String owner) {
+ public void set_owner(@org.apache.storm.thrift.annotation.Nullable java.lang.String owner) {
this.owner = owner;
}
@@ -479,7 +488,7 @@ public class Assignment implements org.apache.storm.thrift.TBase<Assignment, Ass
}
}
- public void setFieldValue(_Fields field, java.lang.Object value) {
+ public void setFieldValue(_Fields field, @org.apache.storm.thrift.annotation.Nullable java.lang.Object value) {
switch (field) {
case MASTER_CODE_DIR:
if (value == null) {
@@ -540,6 +549,7 @@ public class Assignment implements org.apache.storm.thrift.TBase<Assignment, Ass
}
}
+ @org.apache.storm.thrift.annotation.Nullable
public java.lang.Object getFieldValue(_Fields field) {
switch (field) {
case MASTER_CODE_DIR:
@@ -789,6 +799,7 @@ public class Assignment implements org.apache.storm.thrift.TBase<Assignment, Ass
return 0;
}
+ @org.apache.storm.thrift.annotation.Nullable
public _Fields fieldForId(int fieldId) {
return _Fields.findByThriftId(fieldId);
}
@@ -933,8 +944,8 @@ public class Assignment implements org.apache.storm.thrift.TBase<Assignment, Ass
{
org.apache.storm.thrift.protocol.TMap _map686 = iprot.readMapBegin();
struct.node_host = new java.util.HashMap<java.lang.String,java.lang.String>(2*_map686.size);
- java.lang.String _key687;
- java.lang.String _val688;
+ @org.apache.storm.thrift.annotation.Nullable java.lang.String _key687;
+ @org.apache.storm.thrift.annotation.Nullable java.lang.String _val688;
for (int _i689 = 0; _i689 < _map686.size; ++_i689)
{
_key687 = iprot.readString();
@@ -953,8 +964,8 @@ public class Assignment implements org.apache.storm.thrift.TBase<Assignment, Ass
{
org.apache.storm.thrift.protocol.TMap _map690 = iprot.readMapBegin();
struct.executor_node_port = new java.util.HashMap<java.util.List<java.lang.Long>,NodeInfo>(2*_map690.size);
- java.util.List<java.lang.Long> _key691;
- NodeInfo _val692;
+ @org.apache.storm.thrift.annotation.Nullable java.util.List<java.lang.Long> _key691;
+ @org.apache.storm.thrift.annotation.Nullable NodeInfo _val692;
for (int _i693 = 0; _i693 < _map690.size; ++_i693)
{
{
@@ -984,7 +995,7 @@ public class Assignment implements org.apache.storm.thrift.TBase<Assignment, Ass
{
org.apache.storm.thrift.protocol.TMap _map697 = iprot.readMapBegin();
struct.executor_start_time_secs = new java.util.HashMap<java.util.List<java.lang.Long>,java.lang.Long>(2*_map697.size);
- java.util.List<java.lang.Long> _key698;
+ @org.apache.storm.thrift.annotation.Nullable java.util.List<java.lang.Long> _key698;
long _val699;
for (int _i700 = 0; _i700 < _map697.size; ++_i700)
{
@@ -1014,8 +1025,8 @@ public class Assignment implements org.apache.storm.thrift.TBase<Assignment, Ass
{
org.apache.storm.thrift.protocol.TMap _map704 = iprot.readMapBegin();
struct.worker_resources = new java.util.HashMap<NodeInfo,WorkerResources>(2*_map704.size);
- NodeInfo _key705;
- WorkerResources _val706;
+ @org.apache.storm.thrift.annotation.Nullable NodeInfo _key705;
+ @org.apache.storm.thrift.annotation.Nullable WorkerResources _val706;
for (int _i707 = 0; _i707 < _map704.size; ++_i707)
{
_key705 = new NodeInfo();
@@ -1036,7 +1047,7 @@ public class Assignment implements org.apache.storm.thrift.TBase<Assignment, Ass
{
org.apache.storm.thrift.protocol.TMap _map708 = iprot.readMapBegin();
struct.total_shared_off_heap = new java.util.HashMap<java.lang.String,java.lang.Double>(2*_map708.size);
- java.lang.String _key709;
+ @org.apache.storm.thrift.annotation.Nullable java.lang.String _key709;
double _val710;
for (int _i711 = 0; _i711 < _map708.size; ++_i711)
{
@@ -1288,8 +1299,8 @@ public class Assignment implements org.apache.storm.thrift.TBase<Assignment, Ass
{
org.apache.storm.thrift.protocol.TMap _map726 = new org.apache.storm.thrift.protocol.TMap(org.apache.storm.thrift.protocol.TType.STRING, org.apache.storm.thrift.protocol.TType.STRING, iprot.readI32());
struct.node_host = new java.util.HashMap<java.lang.String,java.lang.String>(2*_map726.size);
- java.lang.String _key727;
- java.lang.String _val728;
+ @org.apache.storm.thrift.annotation.Nullable java.lang.String _key727;
+ @org.apache.storm.thrift.annotation.Nullable java.lang.String _val728;
for (int _i729 = 0; _i729 < _map726.size; ++_i729)
{
_key727 = iprot.readString();
@@ -1303,8 +1314,8 @@ public class Assignment implements org.apache.storm.thrift.TBase<Assignment, Ass
{
org.apache.storm.thrift.protocol.TMap _map730 = new org.apache.storm.thrift.protocol.TMap(org.apache.storm.thrift.protocol.TType.LIST, org.apache.storm.thrift.protocol.TType.STRUCT, iprot.readI32());
struct.executor_node_port = new java.util.HashMap<java.util.List<java.lang.Long>,NodeInfo>(2*_map730.size);
- java.util.List<java.lang.Long> _key731;
- NodeInfo _val732;
+ @org.apache.storm.thrift.annotation.Nullable java.util.List<java.lang.Long> _key731;
+ @org.apache.storm.thrift.annotation.Nullable NodeInfo _val732;
for (int _i733 = 0; _i733 < _map730.size; ++_i733)
{
{
@@ -1328,7 +1339,7 @@ public class Assignment implements org.apache.storm.thrift.TBase<Assignment, Ass
{
org.apache.storm.thrift.protocol.TMap _map737 = new org.apache.storm.thrift.protocol.TMap(org.apache.storm.thrift.protocol.TType.LIST, org.apache.storm.thrift.protocol.TType.I64, iprot.readI32());
struct.executor_start_time_secs = new java.util.HashMap<java.util.List<java.lang.Long>,java.lang.Long>(2*_map737.size);
- java.util.List<java.lang.Long> _key738;
+ @org.apache.storm.thrift.annotation.Nullable java.util.List<java.lang.Long> _key738;
long _val739;
for (int _i740 = 0; _i740 < _map737.size; ++_i740)
{
@@ -1352,8 +1363,8 @@ public class Assignment implements org.apache.storm.thrift.TBase<Assignment, Ass
{
org.apache.storm.thrift.protocol.TMap _map744 = new org.apache.storm.thrift.protocol.TMap(org.apache.storm.thrift.protocol.TType.STRUCT, org.apache.storm.thrift.protocol.TType.STRUCT, iprot.readI32());
struct.worker_resources = new java.util.HashMap<NodeInfo,WorkerResources>(2*_map744.size);
- NodeInfo _key745;
- WorkerResources _val746;
+ @org.apache.storm.thrift.annotation.Nullable NodeInfo _key745;
+ @org.apache.storm.thrift.annotation.Nullable WorkerResources _val746;
for (int _i747 = 0; _i747 < _map744.size; ++_i747)
{
_key745 = new NodeInfo();
@@ -1369,7 +1380,7 @@ public class Assignment implements org.apache.storm.thrift.TBase<Assignment, Ass
{
org.apache.storm.thrift.protocol.TMap _map748 = new org.apache.storm.thrift.protocol.TMap(org.apache.storm.thrift.protocol.TType.STRING, org.apache.storm.thrift.protocol.TType.DOUBLE, iprot.readI32());
struct.total_shared_off_heap = new java.util.HashMap<java.lang.String,java.lang.Double>(2*_map748.size);
- java.lang.String _key749;
+ @org.apache.storm.thrift.annotation.Nullable java.lang.String _key749;
double _val750;
for (int _i751 = 0; _i751 < _map748.size; ++_i751)
{
diff --git a/storm-client/src/jvm/org/apache/storm/generated/AuthorizationException.java b/storm-client/src/jvm/org/apache/storm/generated/AuthorizationException.java
index 217bf37..56e03c3 100644
--- a/storm-client/src/jvm/org/apache/storm/generated/AuthorizationException.java
+++ b/storm-client/src/jvm/org/apache/storm/generated/AuthorizationException.java
@@ -16,7 +16,7 @@
* limitations under the License.
*/
/**
- * Autogenerated by Thrift Compiler (0.11.0)
+ * Autogenerated by Thrift Compiler (0.12.0)
*
* DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
* @generated
@@ -24,7 +24,7 @@
package org.apache.storm.generated;
@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked", "unused"})
-@javax.annotation.Generated(value = "Autogenerated by Thrift Compiler (0.11.0)")
+@javax.annotation.Generated(value = "Autogenerated by Thrift Compiler (0.12.0)")
public class AuthorizationException extends org.apache.storm.thrift.TException implements org.apache.storm.thrift.TBase<AuthorizationException, AuthorizationException._Fields>, java.io.Serializable, Cloneable, Comparable<AuthorizationException> {
private static final org.apache.storm.thrift.protocol.TStruct STRUCT_DESC = new org.apache.storm.thrift.protocol.TStruct("AuthorizationException");
@@ -33,7 +33,7 @@ public class AuthorizationException extends org.apache.storm.thrift.TException i
private static final org.apache.storm.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new AuthorizationExceptionStandardSchemeFactory();
private static final org.apache.storm.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new AuthorizationExceptionTupleSchemeFactory();
- private java.lang.String msg; // required
+ private @org.apache.storm.thrift.annotation.Nullable java.lang.String msg; // required
/** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
public enum _Fields implements org.apache.storm.thrift.TFieldIdEnum {
@@ -50,6 +50,7 @@ public class AuthorizationException extends org.apache.storm.thrift.TException i
/**
* Find the _Fields constant that matches fieldId, or null if its not found.
*/
+ @org.apache.storm.thrift.annotation.Nullable
public static _Fields findByThriftId(int fieldId) {
switch(fieldId) {
case 1: // MSG
@@ -72,6 +73,7 @@ public class AuthorizationException extends org.apache.storm.thrift.TException i
/**
* Find the _Fields constant that matches name, or null if its not found.
*/
+ @org.apache.storm.thrift.annotation.Nullable
public static _Fields findByName(java.lang.String name) {
return byName.get(name);
}
@@ -131,11 +133,12 @@ public class AuthorizationException extends org.apache.storm.thrift.TException i
this.msg = null;
}
+ @org.apache.storm.thrift.annotation.Nullable
public java.lang.String get_msg() {
return this.msg;
}
- public void set_msg(java.lang.String msg) {
+ public void set_msg(@org.apache.storm.thrift.annotation.Nullable java.lang.String msg) {
this.msg = msg;
}
@@ -154,7 +157,7 @@ public class AuthorizationException extends org.apache.storm.thrift.TException i
}
}
- public void setFieldValue(_Fields field, java.lang.Object value) {
+ public void setFieldValue(_Fields field, @org.apache.storm.thrift.annotation.Nullable java.lang.Object value) {
switch (field) {
case MSG:
if (value == null) {
@@ -167,6 +170,7 @@ public class AuthorizationException extends org.apache.storm.thrift.TException i
}
}
+ @org.apache.storm.thrift.annotation.Nullable
public java.lang.Object getFieldValue(_Fields field) {
switch (field) {
case MSG:
@@ -248,6 +252,7 @@ public class AuthorizationException extends org.apache.storm.thrift.TException i
return 0;
}
+ @org.apache.storm.thrift.annotation.Nullable
public _Fields fieldForId(int fieldId) {
return _Fields.findByThriftId(fieldId);
}
diff --git a/storm-client/src/jvm/org/apache/storm/generated/BeginDownloadResult.java b/storm-client/src/jvm/org/apache/storm/generated/BeginDownloadResult.java
index 71d04d0..2dbb1fb 100644
--- a/storm-client/src/jvm/org/apache/storm/generated/BeginDownloadResult.java
+++ b/storm-client/src/jvm/org/apache/storm/generated/BeginDownloadResult.java
@@ -16,7 +16,7 @@
* limitations under the License.
*/
/**
- * Autogenerated by Thrift Compiler (0.11.0)
+ * Autogenerated by Thrift Compiler (0.12.0)
*
* DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
* @generated
@@ -24,7 +24,7 @@
package org.apache.storm.generated;
@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked", "unused"})
-@javax.annotation.Generated(value = "Autogenerated by Thrift Compiler (0.11.0)")
+@javax.annotation.Generated(value = "Autogenerated by Thrift Compiler (0.12.0)")
public class BeginDownloadResult implements org.apache.storm.thrift.TBase<BeginDownloadResult, BeginDownloadResult._Fields>, java.io.Serializable, Cloneable, Comparable<BeginDownloadResult> {
private static final org.apache.storm.thrift.protocol.TStruct STRUCT_DESC = new org.apache.storm.thrift.protocol.TStruct("BeginDownloadResult");
@@ -36,7 +36,7 @@ public class BeginDownloadResult implements org.apache.storm.thrift.TBase<BeginD
private static final org.apache.storm.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new BeginDownloadResultTupleSchemeFactory();
private long version; // required
- private java.lang.String session; // required
+ private @org.apache.storm.thrift.annotation.Nullable java.lang.String session; // required
private long data_size; // optional
/** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
@@ -56,6 +56,7 @@ public class BeginDownloadResult implements org.apache.storm.thrift.TBase<BeginD
/**
* Find the _Fields constant that matches fieldId, or null if its not found.
*/
+ @org.apache.storm.thrift.annotation.Nullable
public static _Fields findByThriftId(int fieldId) {
switch(fieldId) {
case 1: // VERSION
@@ -82,6 +83,7 @@ public class BeginDownloadResult implements org.apache.storm.thrift.TBase<BeginD
/**
* Find the _Fields constant that matches name, or null if its not found.
*/
+ @org.apache.storm.thrift.annotation.Nullable
public static _Fields findByName(java.lang.String name) {
return byName.get(name);
}
@@ -181,11 +183,12 @@ public class BeginDownloadResult implements org.apache.storm.thrift.TBase<BeginD
__isset_bitfield = org.apache.storm.thrift.EncodingUtils.setBit(__isset_bitfield, __VERSION_ISSET_ID, value);
}
+ @org.apache.storm.thrift.annotation.Nullable
public java.lang.String get_session() {
return this.session;
}
- public void set_session(java.lang.String session) {
+ public void set_session(@org.apache.storm.thrift.annotation.Nullable java.lang.String session) {
this.session = session;
}
@@ -226,7 +229,7 @@ public class BeginDownloadResult implements org.apache.storm.thrift.TBase<BeginD
__isset_bitfield = org.apache.storm.thrift.EncodingUtils.setBit(__isset_bitfield, __DATA_SIZE_ISSET_ID, value);
}
- public void setFieldValue(_Fields field, java.lang.Object value) {
+ public void setFieldValue(_Fields field, @org.apache.storm.thrift.annotation.Nullable java.lang.Object value) {
switch (field) {
case VERSION:
if (value == null) {
@@ -255,6 +258,7 @@ public class BeginDownloadResult implements org.apache.storm.thrift.TBase<BeginD
}
}
+ @org.apache.storm.thrift.annotation.Nullable
public java.lang.Object getFieldValue(_Fields field) {
switch (field) {
case VERSION:
@@ -390,6 +394,7 @@ public class BeginDownloadResult implements org.apache.storm.thrift.TBase<BeginD
return 0;
}
+ @org.apache.storm.thrift.annotation.Nullable
public _Fields fieldForId(int fieldId) {
return _Fields.findByThriftId(fieldId);
}
diff --git a/storm-client/src/jvm/org/apache/storm/generated/Bolt.java b/storm-client/src/jvm/org/apache/storm/generated/Bolt.java
index 3d25697..1eb5943 100644
--- a/storm-client/src/jvm/org/apache/storm/generated/Bolt.java
+++ b/storm-client/src/jvm/org/apache/storm/generated/Bolt.java
@@ -16,7 +16,7 @@
* limitations under the License.
*/
/**
- * Autogenerated by Thrift Compiler (0.11.0)
+ * Autogenerated by Thrift Compiler (0.12.0)
*
* DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
* @generated
@@ -24,7 +24,7 @@
package org.apache.storm.generated;
@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked", "unused"})
-@javax.annotation.Generated(value = "Autogenerated by Thrift Compiler (0.11.0)")
+@javax.annotation.Generated(value = "Autogenerated by Thrift Compiler (0.12.0)")
public class Bolt implements org.apache.storm.thrift.TBase<Bolt, Bolt._Fields>, java.io.Serializable, Cloneable, Comparable<Bolt> {
private static final org.apache.storm.thrift.protocol.TStruct STRUCT_DESC = new org.apache.storm.thrift.protocol.TStruct("Bolt");
@@ -34,8 +34,8 @@ public class Bolt implements org.apache.storm.thrift.TBase<Bolt, Bolt._Fields>,
private static final org.apache.storm.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new BoltStandardSchemeFactory();
private static final org.apache.storm.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new BoltTupleSchemeFactory();
- private ComponentObject bolt_object; // required
- private ComponentCommon common; // required
+ private @org.apache.storm.thrift.annotation.Nullable ComponentObject bolt_object; // required
+ private @org.apache.storm.thrift.annotation.Nullable ComponentCommon common; // required
/** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
public enum _Fields implements org.apache.storm.thrift.TFieldIdEnum {
@@ -53,6 +53,7 @@ public class Bolt implements org.apache.storm.thrift.TBase<Bolt, Bolt._Fields>,
/**
* Find the _Fields constant that matches fieldId, or null if its not found.
*/
+ @org.apache.storm.thrift.annotation.Nullable
public static _Fields findByThriftId(int fieldId) {
switch(fieldId) {
case 1: // BOLT_OBJECT
@@ -77,6 +78,7 @@ public class Bolt implements org.apache.storm.thrift.TBase<Bolt, Bolt._Fields>,
/**
* Find the _Fields constant that matches name, or null if its not found.
*/
+ @org.apache.storm.thrift.annotation.Nullable
public static _Fields findByName(java.lang.String name) {
return byName.get(name);
}
@@ -144,11 +146,12 @@ public class Bolt implements org.apache.storm.thrift.TBase<Bolt, Bolt._Fields>,
this.common = null;
}
+ @org.apache.storm.thrift.annotation.Nullable
public ComponentObject get_bolt_object() {
return this.bolt_object;
}
- public void set_bolt_object(ComponentObject bolt_object) {
+ public void set_bolt_object(@org.apache.storm.thrift.annotation.Nullable ComponentObject bolt_object) {
this.bolt_object = bolt_object;
}
@@ -167,11 +170,12 @@ public class Bolt implements org.apache.storm.thrift.TBase<Bolt, Bolt._Fields>,
}
}
+ @org.apache.storm.thrift.annotation.Nullable
public ComponentCommon get_common() {
return this.common;
}
- public void set_common(ComponentCommon common) {
+ public void set_common(@org.apache.storm.thrift.annotation.Nullable ComponentCommon common) {
this.common = common;
}
@@ -190,7 +194,7 @@ public class Bolt implements org.apache.storm.thrift.TBase<Bolt, Bolt._Fields>,
}
}
- public void setFieldValue(_Fields field, java.lang.Object value) {
+ public void setFieldValue(_Fields field, @org.apache.storm.thrift.annotation.Nullable java.lang.Object value) {
switch (field) {
case BOLT_OBJECT:
if (value == null) {
@@ -211,6 +215,7 @@ public class Bolt implements org.apache.storm.thrift.TBase<Bolt, Bolt._Fields>,
}
}
+ @org.apache.storm.thrift.annotation.Nullable
public java.lang.Object getFieldValue(_Fields field) {
switch (field) {
case BOLT_OBJECT:
@@ -320,6 +325,7 @@ public class Bolt implements org.apache.storm.thrift.TBase<Bolt, Bolt._Fields>,
return 0;
}
+ @org.apache.storm.thrift.annotation.Nullable
public _Fields fieldForId(int fieldId) {
return _Fields.findByThriftId(fieldId);
}
diff --git a/storm-client/src/jvm/org/apache/storm/generated/BoltAggregateStats.java b/storm-client/src/jvm/org/apache/storm/generated/BoltAggregateStats.java
index 2ba3193..de829cb 100644
--- a/storm-client/src/jvm/org/apache/storm/generated/BoltAggregateStats.java
+++ b/storm-client/src/jvm/org/apache/storm/generated/BoltAggregateStats.java
@@ -16,7 +16,7 @@
* limitations under the License.
*/
/**
- * Autogenerated by Thrift Compiler (0.11.0)
+ * Autogenerated by Thrift Compiler (0.12.0)
*
* DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
* @generated
@@ -24,7 +24,7 @@
package org.apache.storm.generated;
@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked", "unused"})
-@javax.annotation.Generated(value = "Autogenerated by Thrift Compiler (0.11.0)")
+@javax.annotation.Generated(value = "Autogenerated by Thrift Compiler (0.12.0)")
public class BoltAggregateStats implements org.apache.storm.thrift.TBase<BoltAggregateStats, BoltAggregateStats._Fields>, java.io.Serializable, Cloneable, Comparable<BoltAggregateStats> {
private static final org.apache.storm.thrift.protocol.TStruct STRUCT_DESC = new org.apache.storm.thrift.protocol.TStruct("BoltAggregateStats");
@@ -59,6 +59,7 @@ public class BoltAggregateStats implements org.apache.storm.thrift.TBase<BoltAgg
/**
* Find the _Fields constant that matches fieldId, or null if its not found.
*/
+ @org.apache.storm.thrift.annotation.Nullable
public static _Fields findByThriftId(int fieldId) {
switch(fieldId) {
case 1: // EXECUTE_LATENCY_MS
@@ -87,6 +88,7 @@ public class BoltAggregateStats implements org.apache.storm.thrift.TBase<BoltAgg
/**
* Find the _Fields constant that matches name, or null if its not found.
*/
+ @org.apache.storm.thrift.annotation.Nullable
public static _Fields findByName(java.lang.String name) {
return byName.get(name);
}
@@ -248,7 +250,7 @@ public class BoltAggregateStats implements org.apache.storm.thrift.TBase<BoltAgg
__isset_bitfield = org.apache.storm.thrift.EncodingUtils.setBit(__isset_bitfield, __CAPACITY_ISSET_ID, value);
}
- public void setFieldValue(_Fields field, java.lang.Object value) {
+ public void setFieldValue(_Fields field, @org.apache.storm.thrift.annotation.Nullable java.lang.Object value) {
switch (field) {
case EXECUTE_LATENCY_MS:
if (value == null) {
@@ -285,6 +287,7 @@ public class BoltAggregateStats implements org.apache.storm.thrift.TBase<BoltAgg
}
}
+ @org.apache.storm.thrift.annotation.Nullable
public java.lang.Object getFieldValue(_Fields field) {
switch (field) {
case EXECUTE_LATENCY_MS:
@@ -450,6 +453,7 @@ public class BoltAggregateStats implements org.apache.storm.thrift.TBase<BoltAgg
return 0;
}
+ @org.apache.storm.thrift.annotation.Nullable
public _Fields fieldForId(int fieldId) {
return _Fields.findByThriftId(fieldId);
}
diff --git a/storm-client/src/jvm/org/apache/storm/generated/BoltStats.java b/storm-client/src/jvm/org/apache/storm/generated/BoltStats.java
index f12e637..a66b1a9 100644
--- a/storm-client/src/jvm/org/apache/storm/generated/BoltStats.java
+++ b/storm-client/src/jvm/org/apache/storm/generated/BoltStats.java
@@ -16,7 +16,7 @@
* limitations under the License.
*/
/**
- * Autogenerated by Thrift Compiler (0.11.0)
+ * Autogenerated by Thrift Compiler (0.12.0)
*
* DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
* @generated
@@ -24,7 +24,7 @@
package org.apache.storm.generated;
@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked", "unused"})
-@javax.annotation.Generated(value = "Autogenerated by Thrift Compiler (0.11.0)")
+@javax.annotation.Generated(value = "Autogenerated by Thrift Compiler (0.12.0)")
public class BoltStats implements org.apache.storm.thrift.TBase<BoltStats, BoltStats._Fields>, java.io.Serializable, Cloneable, Comparable<BoltStats> {
private static final org.apache.storm.thrift.protocol.TStruct STRUCT_DESC = new org.apache.storm.thrift.protocol.TStruct("BoltStats");
@@ -37,11 +37,11 @@ public class BoltStats implements org.apache.storm.thrift.TBase<BoltStats, BoltS
private static final org.apache.storm.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new BoltStatsStandardSchemeFactory();
private static final org.apache.storm.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new BoltStatsTupleSchemeFactory();
- private java.util.Map<java.lang.String,java.util.Map<GlobalStreamId,java.lang.Long>> acked; // required
- private java.util.Map<java.lang.String,java.util.Map<GlobalStreamId,java.lang.Long>> failed; // required
- private java.util.Map<java.lang.String,java.util.Map<GlobalStreamId,java.lang.Double>> process_ms_avg; // required
- private java.util.Map<java.lang.String,java.util.Map<GlobalStreamId,java.lang.Long>> executed; // required
- private java.util.Map<java.lang.String,java.util.Map<GlobalStreamId,java.lang.Double>> execute_ms_avg; // required
+ private @org.apache.storm.thrift.annotation.Nullable java.util.Map<java.lang.String,java.util.Map<GlobalStreamId,java.lang.Long>> acked; // required
+ private @org.apache.storm.thrift.annotation.Nullable java.util.Map<java.lang.String,java.util.Map<GlobalStreamId,java.lang.Long>> failed; // required
+ private @org.apache.storm.thrift.annotation.Nullable java.util.Map<java.lang.String,java.util.Map<GlobalStreamId,java.lang.Double>> process_ms_avg; // required
+ private @org.apache.storm.thrift.annotation.Nullable java.util.Map<java.lang.String,java.util.Map<GlobalStreamId,java.lang.Long>> executed; // required
+ private @org.apache.storm.thrift.annotation.Nullable java.util.Map<java.lang.String,java.util.Map<GlobalStreamId,java.lang.Double>> execute_ms_avg; // required
/** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
public enum _Fields implements org.apache.storm.thrift.TFieldIdEnum {
@@ -62,6 +62,7 @@ public class BoltStats implements org.apache.storm.thrift.TBase<BoltStats, BoltS
/**
* Find the _Fields constant that matches fieldId, or null if its not found.
*/
+ @org.apache.storm.thrift.annotation.Nullable
public static _Fields findByThriftId(int fieldId) {
switch(fieldId) {
case 1: // ACKED
@@ -92,6 +93,7 @@ public class BoltStats implements org.apache.storm.thrift.TBase<BoltStats, BoltS
/**
* Find the _Fields constant that matches name, or null if its not found.
*/
+ @org.apache.storm.thrift.annotation.Nullable
public static _Fields findByName(java.lang.String name) {
return byName.get(name);
}
@@ -329,11 +331,12 @@ public class BoltStats implements org.apache.storm.thrift.TBase<BoltStats, BoltS
this.acked.put(key, val);
}
+ @org.apache.storm.thrift.annotation.Nullable
public java.util.Map<java.lang.String,java.util.Map<GlobalStreamId,java.lang.Long>> get_acked() {
return this.acked;
}
- public void set_acked(java.util.Map<java.lang.String,java.util.Map<GlobalStreamId,java.lang.Long>> acked) {
+ public void set_acked(@org.apache.storm.thrift.annotation.Nullable java.util.Map<java.lang.String,java.util.Map<GlobalStreamId,java.lang.Long>> acked) {
this.acked = acked;
}
@@ -363,11 +366,12 @@ public class BoltStats implements org.apache.storm.thrift.TBase<BoltStats, BoltS
this.failed.put(key, val);
}
+ @org.apache.storm.thrift.annotation.Nullable
public java.util.Map<java.lang.String,java.util.Map<GlobalStreamId,java.lang.Long>> get_failed() {
return this.failed;
}
- public void set_failed(java.util.Map<java.lang.String,java.util.Map<GlobalStreamId,java.lang.Long>> failed) {
+ public void set_failed(@org.apache.storm.thrift.annotation.Nullable java.util.Map<java.lang.String,java.util.Map<GlobalStreamId,java.lang.Long>> failed) {
this.failed = failed;
}
@@ -397,11 +401,12 @@ public class BoltStats implements org.apache.storm.thrift.TBase<BoltStats, BoltS
this.process_ms_avg.put(key, val);
}
+ @org.apache.storm.thrift.annotation.Nullable
public java.util.Map<java.lang.String,java.util.Map<GlobalStreamId,java.lang.Double>> get_process_ms_avg() {
return this.process_ms_avg;
}
- public void set_process_ms_avg(java.util.Map<java.lang.String,java.util.Map<GlobalStreamId,java.lang.Double>> process_ms_avg) {
+ public void set_process_ms_avg(@org.apache.storm.thrift.annotation.Nullable java.util.Map<java.lang.String,java.util.Map<GlobalStreamId,java.lang.Double>> process_ms_avg) {
this.process_ms_avg = process_ms_avg;
}
@@ -431,11 +436,12 @@ public class BoltStats implements org.apache.storm.thrift.TBase<BoltStats, BoltS
this.executed.put(key, val);
}
+ @org.apache.storm.thrift.annotation.Nullable
public java.util.Map<java.lang.String,java.util.Map<GlobalStreamId,java.lang.Long>> get_executed() {
return this.executed;
}
- public void set_executed(java.util.Map<java.lang.String,java.util.Map<GlobalStreamId,java.lang.Long>> executed) {
+ public void set_executed(@org.apache.storm.thrift.annotation.Nullable java.util.Map<java.lang.String,java.util.Map<GlobalStreamId,java.lang.Long>> executed) {
this.executed = executed;
}
@@ -465,11 +471,12 @@ public class BoltStats implements org.apache.storm.thrift.TBase<BoltStats, BoltS
this.execute_ms_avg.put(key, val);
}
+ @org.apache.storm.thrift.annotation.Nullable
public java.util.Map<java.lang.String,java.util.Map<GlobalStreamId,java.lang.Double>> get_execute_ms_avg() {
return this.execute_ms_avg;
}
- public void set_execute_ms_avg(java.util.Map<java.lang.String,java.util.Map<GlobalStreamId,java.lang.Double>> execute_ms_avg) {
+ public void set_execute_ms_avg(@org.apache.storm.thrift.annotation.Nullable java.util.Map<java.lang.String,java.util.Map<GlobalStreamId,java.lang.Double>> execute_ms_avg) {
this.execute_ms_avg = execute_ms_avg;
}
@@ -488,7 +495,7 @@ public class BoltStats implements org.apache.storm.thrift.TBase<BoltStats, BoltS
}
}
- public void setFieldValue(_Fields field, java.lang.Object value) {
+ public void setFieldValue(_Fields field, @org.apache.storm.thrift.annotation.Nullable java.lang.Object value) {
switch (field) {
case ACKED:
if (value == null) {
@@ -533,6 +540,7 @@ public class BoltStats implements org.apache.storm.thrift.TBase<BoltStats, BoltS
}
}
+ @org.apache.storm.thrift.annotation.Nullable
public java.lang.Object getFieldValue(_Fields field) {
switch (field) {
case ACKED:
@@ -726,6 +734,7 @@ public class BoltStats implements org.apache.storm.thrift.TBase<BoltStats, BoltS
return 0;
}
+ @org.apache.storm.thrift.annotation.Nullable
public _Fields fieldForId(int fieldId) {
return _Fields.findByThriftId(fieldId);
}
@@ -850,15 +859,15 @@ public class BoltStats implements org.apache.storm.thrift.TBase<BoltStats, BoltS
{
org.apache.storm.thrift.protocol.TMap _map160 = iprot.readMapBegin();
struct.acked = new java.util.HashMap<java.lang.String,java.util.Map<GlobalStreamId,java.lang.Long>>(2*_map160.size);
- java.lang.String _key161;
- java.util.Map<GlobalStreamId,java.lang.Long> _val162;
+ @org.apache.storm.thrift.annotation.Nullable java.lang.String _key161;
+ @org.apache.storm.thrift.annotation.Nullable java.util.Map<GlobalStreamId,java.lang.Long> _val162;
for (int _i163 = 0; _i163 < _map160.size; ++_i163)
{
_key161 = iprot.readString();
{
org.apache.storm.thrift.protocol.TMap _map164 = iprot.readMapBegin();
_val162 = new java.util.HashMap<GlobalStreamId,java.lang.Long>(2*_map164.size);
- GlobalStreamId _key165;
+ @org.apache.storm.thrift.annotation.Nullable GlobalStreamId _key165;
long _val166;
for (int _i167 = 0; _i167 < _map164.size; ++_i167)
{
@@ -883,15 +892,15 @@ public class BoltStats implements org.apache.storm.thrift.TBase<BoltStats, BoltS
{
org.apache.storm.thrift.protocol.TMap _map168 = iprot.readMapBegin();
struct.failed = new java.util.HashMap<java.lang.String,java.util.Map<GlobalStreamId,java.lang.Long>>(2*_map168.size);
- java.lang.String _key169;
- java.util.Map<GlobalStreamId,java.lang.Long> _val170;
+ @org.apache.storm.thrift.annotation.Nullable java.lang.String _key169;
+ @org.apache.storm.thrift.annotation.Nullable java.util.Map<GlobalStreamId,java.lang.Long> _val170;
for (int _i171 = 0; _i171 < _map168.size; ++_i171)
{
_key169 = iprot.readString();
{
org.apache.storm.thrift.protocol.TMap _map172 = iprot.readMapBegin();
_val170 = new java.util.HashMap<GlobalStreamId,java.lang.Long>(2*_map172.size);
- GlobalStreamId _key173;
+ @org.apache.storm.thrift.annotation.Nullable GlobalStreamId _key173;
long _val174;
for (int _i175 = 0; _i175 < _map172.size; ++_i175)
{
@@ -916,15 +925,15 @@ public class BoltStats implements org.apache.storm.thrift.TBase<BoltStats, BoltS
{
org.apache.storm.thrift.protocol.TMap _map176 = iprot.readMapBegin();
struct.process_ms_avg = new java.util.HashMap<java.lang.String,java.util.Map<GlobalStreamId,java.lang.Double>>(2*_map176.size);
- java.lang.String _key177;
- java.util.Map<GlobalStreamId,java.lang.Double> _val178;
+ @org.apache.storm.thrift.annotation.Nullable java.lang.String _key177;
+ @org.apache.storm.thrift.annotation.Nullable java.util.Map<GlobalStreamId,java.lang.Double> _val178;
for (int _i179 = 0; _i179 < _map176.size; ++_i179)
{
_key177 = iprot.readString();
{
org.apache.storm.thrift.protocol.TMap _map180 = iprot.readMapBegin();
_val178 = new java.util.HashMap<GlobalStreamId,java.lang.Double>(2*_map180.size);
- GlobalStreamId _key181;
+ @org.apache.storm.thrift.annotation.Nullable GlobalStreamId _key181;
double _val182;
for (int _i183 = 0; _i183 < _map180.size; ++_i183)
{
@@ -949,15 +958,15 @@ public class BoltStats implements org.apache.storm.thrift.TBase<BoltStats, BoltS
{
org.apache.storm.thrift.protocol.TMap _map184 = iprot.readMapBegin();
struct.executed = new java.util.HashMap<java.lang.String,java.util.Map<GlobalStreamId,java.lang.Long>>(2*_map184.size);
- java.lang.String _key185;
- java.util.Map<GlobalStreamId,java.lang.Long> _val186;
+ @org.apache.storm.thrift.annotation.Nullable java.lang.String _key185;
+ @org.apache.storm.thrift.annotation.Nullable java.util.Map<GlobalStreamId,java.lang.Long> _val186;
for (int _i187 = 0; _i187 < _map184.size; ++_i187)
{
_key185 = iprot.readString();
{
org.apache.storm.thrift.protocol.TMap _map188 = iprot.readMapBegin();
_val186 = new java.util.HashMap<GlobalStreamId,java.lang.Long>(2*_map188.size);
- GlobalStreamId _key189;
+ @org.apache.storm.thrift.annotation.Nullable GlobalStreamId _key189;
long _val190;
for (int _i191 = 0; _i191 < _map188.size; ++_i191)
{
@@ -982,15 +991,15 @@ public class BoltStats implements org.apache.storm.thrift.TBase<BoltStats, BoltS
{
org.apache.storm.thrift.protocol.TMap _map192 = iprot.readMapBegin();
struct.execute_ms_avg = new java.util.HashMap<java.lang.String,java.util.Map<GlobalStreamId,java.lang.Double>>(2*_map192.size);
- java.lang.String _key193;
- java.util.Map<GlobalStreamId,java.lang.Double> _val194;
+ @org.apache.storm.thrift.annotation.Nullable java.lang.String _key193;
+ @org.apache.storm.thrift.annotation.Nullable java.util.Map<GlobalStreamId,java.lang.Double> _val194;
for (int _i195 = 0; _i195 < _map192.size; ++_i195)
{
_key193 = iprot.readString();
{
org.apache.storm.thrift.protocol.TMap _map196 = iprot.readMapBegin();
_val194 = new java.util.HashMap<GlobalStreamId,java.lang.Double>(2*_map196.size);
- GlobalStreamId _key197;
+ @org.apache.storm.thrift.annotation.Nullable GlobalStreamId _key197;
double _val198;
for (int _i199 = 0; _i199 < _map196.size; ++_i199)
{
@@ -1228,15 +1237,15 @@ public class BoltStats implements org.apache.storm.thrift.TBase<BoltStats, BoltS
{
org.apache.storm.thrift.protocol.TMap _map220 = new org.apache.storm.thrift.protocol.TMap(org.apache.storm.thrift.protocol.TType.STRING, org.apache.storm.thrift.protocol.TType.MAP, iprot.readI32());
struct.acked = new java.util.HashMap<java.lang.String,java.util.Map<GlobalStreamId,java.lang.Long>>(2*_map220.size);
- java.lang.String _key221;
- java.util.Map<GlobalStreamId,java.lang.Long> _val222;
+ @org.apache.storm.thrift.annotation.Nullable java.lang.String _key221;
+ @org.apache.storm.thrift.annotation.Nullable java.util.Map<GlobalStreamId,java.lang.Long> _val222;
for (int _i223 = 0; _i223 < _map220.size; ++_i223)
{
_key221 = iprot.readString();
{
org.apache.storm.thrift.protocol.TMap _map224 = new org.apache.storm.thrift.protocol.TMap(org.apache.storm.thrift.protocol.TType.STRUCT, org.apache.storm.thrift.protocol.TType.I64, iprot.readI32());
_val222 = new java.util.HashMap<GlobalStreamId,java.lang.Long>(2*_map224.size);
- GlobalStreamId _key225;
+ @org.apache.storm.thrift.annotation.Nullable GlobalStreamId _key225;
long _val226;
for (int _i227 = 0; _i227 < _map224.size; ++_i227)
{
@@ -1253,15 +1262,15 @@ public class BoltStats implements org.apache.storm.thrift.TBase<BoltStats, BoltS
{
org.apache.storm.thrift.protocol.TMap _map228 = new org.apache.storm.thrift.protocol.TMap(org.apache.storm.thrift.protocol.TType.STRING, org.apache.storm.thrift.protocol.TType.MAP, iprot.readI32());
struct.failed = new java.util.HashMap<java.lang.String,java.util.Map<GlobalStreamId,java.lang.Long>>(2*_map228.size);
- java.lang.String _key229;
- java.util.Map<GlobalStreamId,java.lang.Long> _val230;
+ @org.apache.storm.thrift.annotation.Nullable java.lang.String _key229;
+ @org.apache.storm.thrift.annotation.Nullable java.util.Map<GlobalStreamId,java.lang.Long> _val230;
for (int _i231 = 0; _i231 < _map228.size; ++_i231)
{
_key229 = iprot.readString();
{
org.apache.storm.thrift.protocol.TMap _map232 = new org.apache.storm.thrift.protocol.TMap(org.apache.storm.thrift.protocol.TType.STRUCT, org.apache.storm.thrift.protocol.TType.I64, iprot.readI32());
_val230 = new java.util.HashMap<GlobalStreamId,java.lang.Long>(2*_map232.size);
- GlobalStreamId _key233;
+ @org.apache.storm.thrift.annotation.Nullable GlobalStreamId _key233;
long _val234;
for (int _i235 = 0; _i235 < _map232.size; ++_i235)
{
@@ -1278,15 +1287,15 @@ public class BoltStats implements org.apache.storm.thrift.TBase<BoltStats, BoltS
{
org.apache.storm.thrift.protocol.TMap _map236 = new org.apache.storm.thrift.protocol.TMap(org.apache.storm.thrift.protocol.TType.STRING, org.apache.storm.thrift.protocol.TType.MAP, iprot.readI32());
struct.process_ms_avg = new java.util.HashMap<java.lang.String,java.util.Map<GlobalStreamId,java.lang.Double>>(2*_map236.size);
- java.lang.String _key237;
- java.util.Map<GlobalStreamId,java.lang.Double> _val238;
+ @org.apache.storm.thrift.annotation.Nullable java.lang.String _key237;
+ @org.apache.storm.thrift.annotation.Nullable java.util.Map<GlobalStreamId,java.lang.Double> _val238;
for (int _i239 = 0; _i239 < _map236.size; ++_i239)
{
_key237 = iprot.readString();
{
org.apache.storm.thrift.protocol.TMap _map240 = new org.apache.storm.thrift.protocol.TMap(org.apache.storm.thrift.protocol.TType.STRUCT, org.apache.storm.thrift.protocol.TType.DOUBLE, iprot.readI32());
_val238 = new java.util.HashMap<GlobalStreamId,java.lang.Double>(2*_map240.size);
- GlobalStreamId _key241;
+ @org.apache.storm.thrift.annotation.Nullable GlobalStreamId _key241;
double _val242;
for (int _i243 = 0; _i243 < _map240.size; ++_i243)
{
@@ -1303,15 +1312,15 @@ public class BoltStats implements org.apache.storm.thrift.TBase<BoltStats, BoltS
{
org.apache.storm.thrift.protocol.TMap _map244 = new org.apache.storm.thrift.protocol.TMap(org.apache.storm.thrift.protocol.TType.STRING, org.apache.storm.thrift.protocol.TType.MAP, iprot.readI32());
struct.executed = new java.util.HashMap<java.lang.String,java.util.Map<GlobalStreamId,java.lang.Long>>(2*_map244.size);
- java.lang.String _key245;
- java.util.Map<GlobalStreamId,java.lang.Long> _val246;
+ @org.apache.storm.thrift.annotation.Nullable java.lang.String _key245;
+ @org.apache.storm.thrift.annotation.Nullable java.util.Map<GlobalStreamId,java.lang.Long> _val246;
for (int _i247 = 0; _i247 < _map244.size; ++_i247)
{
_key245 = iprot.readString();
{
org.apache.storm.thrift.protocol.TMap _map248 = new org.apache.storm.thrift.protocol.TMap(org.apache.storm.thrift.protocol.TType.STRUCT, org.apache.storm.thrift.protocol.TType.I64, iprot.readI32());
_val246 = new java.util.HashMap<GlobalStreamId,java.lang.Long>(2*_map248.size);
- GlobalStreamId _key249;
+ @org.apache.storm.thrift.annotation.Nullable GlobalStreamId _key249;
long _val250;
for (int _i251 = 0; _i251 < _map248.size; ++_i251)
{
@@ -1328,15 +1337,15 @@ public class BoltStats implements org.apache.storm.thrift.TBase<BoltStats, BoltS
{
org.apache.storm.thrift.protocol.TMap _map252 = new org.apache.storm.thrift.protocol.TMap(org.apache.storm.thrift.protocol.TType.STRING, org.apache.storm.thrift.protocol.TType.MAP, iprot.readI32());
struct.execute_ms_avg = new java.util.HashMap<java.lang.String,java.util.Map<GlobalStreamId,java.lang.Double>>(2*_map252.size);
- java.lang.String _key253;
- java.util.Map<GlobalStreamId,java.lang.Double> _val254;
+ @org.apache.storm.thrift.annotation.Nullable java.lang.String _key253;
+ @org.apache.storm.thrift.annotation.Nullable java.util.Map<GlobalStreamId,java.lang.Double> _val254;
for (int _i255 = 0; _i255 < _map252.size; ++_i255)
{
_key253 = iprot.readString();
{
org.apache.storm.thrift.protocol.TMap _map256 = new org.apache.storm.thrift.protocol.TMap(org.apache.storm.thrift.protocol.TType.STRUCT, org.apache.storm.thrift.protocol.TType.DOUBLE, iprot.readI32());
_val254 = new java.util.HashMap<GlobalStreamId,java.lang.Double>(2*_map256.size);
- GlobalStreamId _key257;
+ @org.apache.storm.thrift.annotation.Nullable GlobalStreamId _key257;
double _val258;
for (int _i259 = 0; _i259 < _map256.size; ++_i259)
{
diff --git a/storm-client/src/jvm/org/apache/storm/generated/ClusterSummary.java b/storm-client/src/jvm/org/apache/storm/generated/ClusterSummary.java
index d5567a0..01497a9 100644
--- a/storm-client/src/jvm/org/apache/storm/generated/ClusterSummary.java
+++ b/storm-client/src/jvm/org/apache/storm/generated/ClusterSummary.java
@@ -16,7 +16,7 @@
* limitations under the License.
*/
/**
- * Autogenerated by Thrift Compiler (0.11.0)
+ * Autogenerated by Thrift Compiler (0.12.0)
*
* DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
* @generated
@@ -24,7 +24,7 @@
package org.apache.storm.generated;
@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked", "unused"})
-@javax.annotation.Generated(value = "Autogenerated by Thrift Compiler (0.11.0)")
+@javax.annotation.Generated(value = "Autogenerated by Thrift Compiler (0.12.0)")
public class ClusterSummary implements org.apache.storm.thrift.TBase<ClusterSummary, ClusterSummary._Fields>, java.io.Serializable, Cloneable, Comparable<ClusterSummary> {
private static final org.apache.storm.thrift.protocol.TStruct STRUCT_DESC = new org.apache.storm.thrift.protocol.TStruct("ClusterSummary");
@@ -35,9 +35,9 @@ public class ClusterSummary implements org.apache.storm.thrift.TBase<ClusterSumm
private static final org.apache.storm.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new ClusterSummaryStandardSchemeFactory();
private static final org.apache.storm.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new ClusterSummaryTupleSchemeFactory();
- private java.util.List<SupervisorSummary> supervisors; // required
- private java.util.List<TopologySummary> topologies; // required
- private java.util.List<NimbusSummary> nimbuses; // required
+ private @org.apache.storm.thrift.annotation.Nullable java.util.List<SupervisorSummary> supervisors; // required
+ private @org.apache.storm.thrift.annotation.Nullable java.util.List<TopologySummary> topologies; // required
+ private @org.apache.storm.thrift.annotation.Nullable java.util.List<NimbusSummary> nimbuses; // required
/** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
public enum _Fields implements org.apache.storm.thrift.TFieldIdEnum {
@@ -56,6 +56,7 @@ public class ClusterSummary implements org.apache.storm.thrift.TBase<ClusterSumm
/**
* Find the _Fields constant that matches fieldId, or null if its not found.
*/
+ @org.apache.storm.thrift.annotation.Nullable
public static _Fields findByThriftId(int fieldId) {
switch(fieldId) {
case 1: // SUPERVISORS
@@ -82,6 +83,7 @@ public class ClusterSummary implements org.apache.storm.thrift.TBase<ClusterSumm
/**
* Find the _Fields constant that matches name, or null if its not found.
*/
+ @org.apache.storm.thrift.annotation.Nullable
public static _Fields findByName(java.lang.String name) {
return byName.get(name);
}
@@ -176,6 +178,7 @@ public class ClusterSummary implements org.apache.storm.thrift.TBase<ClusterSumm
return (this.supervisors == null) ? 0 : this.supervisors.size();
}
+ @org.apache.storm.thrift.annotation.Nullable
public java.util.Iterator<SupervisorSummary> get_supervisors_iterator() {
return (this.supervisors == null) ? null : this.supervisors.iterator();
}
@@ -187,11 +190,12 @@ public class ClusterSummary implements org.apache.storm.thrift.TBase<ClusterSumm
this.supervisors.add(elem);
}
+ @org.apache.storm.thrift.annotation.Nullable
public java.util.List<SupervisorSummary> get_supervisors() {
return this.supervisors;
}
- public void set_supervisors(java.util.List<SupervisorSummary> supervisors) {
+ public void set_supervisors(@org.apache.storm.thrift.annotation.Nullable java.util.List<SupervisorSummary> supervisors) {
this.supervisors = supervisors;
}
@@ -214,6 +218,7 @@ public class ClusterSummary implements org.apache.storm.thrift.TBase<ClusterSumm
return (this.topologies == null) ? 0 : this.topologies.size();
}
+ @org.apache.storm.thrift.annotation.Nullable
public java.util.Iterator<TopologySummary> get_topologies_iterator() {
return (this.topologies == null) ? null : this.topologies.iterator();
}
@@ -225,11 +230,12 @@ public class ClusterSummary implements org.apache.storm.thrift.TBase<ClusterSumm
this.topologies.add(elem);
}
+ @org.apache.storm.thrift.annotation.Nullable
public java.util.List<TopologySummary> get_topologies() {
return this.topologies;
}
- public void set_topologies(java.util.List<TopologySummary> topologies) {
+ public void set_topologies(@org.apache.storm.thrift.annotation.Nullable java.util.List<TopologySummary> topologies) {
this.topologies = topologies;
}
@@ -252,6 +258,7 @@ public class ClusterSummary implements org.apache.storm.thrift.TBase<ClusterSumm
return (this.nimbuses == null) ? 0 : this.nimbuses.size();
}
+ @org.apache.storm.thrift.annotation.Nullable
public java.util.Iterator<NimbusSummary> get_nimbuses_iterator() {
return (this.nimbuses == null) ? null : this.nimbuses.iterator();
}
@@ -263,11 +270,12 @@ public class ClusterSummary implements org.apache.storm.thrift.TBase<ClusterSumm
this.nimbuses.add(elem);
}
+ @org.apache.storm.thrift.annotation.Nullable
public java.util.List<NimbusSummary> get_nimbuses() {
return this.nimbuses;
}
- public void set_nimbuses(java.util.List<NimbusSummary> nimbuses) {
+ public void set_nimbuses(@org.apache.storm.thrift.annotation.Nullable java.util.List<NimbusSummary> nimbuses) {
this.nimbuses = nimbuses;
}
@@ -286,7 +294,7 @@ public class ClusterSummary implements org.apache.storm.thrift.TBase<ClusterSumm
}
}
- public void setFieldValue(_Fields field, java.lang.Object value) {
+ public void setFieldValue(_Fields field, @org.apache.storm.thrift.annotation.Nullable java.lang.Object value) {
switch (field) {
case SUPERVISORS:
if (value == null) {
@@ -315,6 +323,7 @@ public class ClusterSummary implements org.apache.storm.thrift.TBase<ClusterSumm
}
}
+ @org.apache.storm.thrift.annotation.Nullable
public java.lang.Object getFieldValue(_Fields field) {
switch (field) {
case SUPERVISORS:
@@ -452,6 +461,7 @@ public class ClusterSummary implements org.apache.storm.thrift.TBase<ClusterSumm
return 0;
}
+ @org.apache.storm.thrift.annotation.Nullable
public _Fields fieldForId(int fieldId) {
return _Fields.findByThriftId(fieldId);
}
@@ -552,7 +562,7 @@ public class ClusterSummary implements org.apache.storm.thrift.TBase<ClusterSumm
{
org.apache.storm.thrift.protocol.TList _list136 = iprot.readListBegin();
struct.supervisors = new java.util.ArrayList<SupervisorSummary>(_list136.size);
- SupervisorSummary _elem137;
+ @org.apache.storm.thrift.annotation.Nullable SupervisorSummary _elem137;
for (int _i138 = 0; _i138 < _list136.size; ++_i138)
{
_elem137 = new SupervisorSummary();
@@ -571,7 +581,7 @@ public class ClusterSummary implements org.apache.storm.thrift.TBase<ClusterSumm
{
org.apache.storm.thrift.protocol.TList _list139 = iprot.readListBegin();
struct.topologies = new java.util.ArrayList<TopologySummary>(_list139.size);
- TopologySummary _elem140;
+ @org.apache.storm.thrift.annotation.Nullable TopologySummary _elem140;
for (int _i141 = 0; _i141 < _list139.size; ++_i141)
{
_elem140 = new TopologySummary();
@@ -590,7 +600,7 @@ public class ClusterSummary implements org.apache.storm.thrift.TBase<ClusterSumm
{
org.apache.storm.thrift.protocol.TList _list142 = iprot.readListBegin();
struct.nimbuses = new java.util.ArrayList<NimbusSummary>(_list142.size);
- NimbusSummary _elem143;
+ @org.apache.storm.thrift.annotation.Nullable NimbusSummary _elem143;
for (int _i144 = 0; _i144 < _list142.size; ++_i144)
{
_elem143 = new NimbusSummary();
@@ -699,7 +709,7 @@ public class ClusterSummary implements org.apache.storm.thrift.TBase<ClusterSumm
{
org.apache.storm.thrift.protocol.TList _list151 = new org.apache.storm.thrift.protocol.TList(org.apache.storm.thrift.protocol.TType.STRUCT, iprot.readI32());
struct.supervisors = new java.util.ArrayList<SupervisorSummary>(_list151.size);
- SupervisorSummary _elem152;
+ @org.apache.storm.thrift.annotation.Nullable SupervisorSummary _elem152;
for (int _i153 = 0; _i153 < _list151.size; ++_i153)
{
_elem152 = new SupervisorSummary();
@@ -711,7 +721,7 @@ public class ClusterSummary implements org.apache.storm.thrift.TBase<ClusterSumm
{
org.apache.storm.thrift.protocol.TList _list154 = new org.apache.storm.thrift.protocol.TList(org.apache.storm.thrift.protocol.TType.STRUCT, iprot.readI32());
struct.topologies = new java.util.ArrayList<TopologySummary>(_list154.size);
- TopologySummary _elem155;
+ @org.apache.storm.thrift.annotation.Nullable TopologySummary _elem155;
for (int _i156 = 0; _i156 < _list154.size; ++_i156)
{
_elem155 = new TopologySummary();
@@ -723,7 +733,7 @@ public class ClusterSummary implements org.apache.storm.thrift.TBase<ClusterSumm
{
org.apache.storm.thrift.protocol.TList _list157 = new org.apache.storm.thrift.protocol.TList(org.apache.storm.thrift.protocol.TType.STRUCT, iprot.readI32());
struct.nimbuses = new java.util.ArrayList<NimbusSummary>(_list157.size);
- NimbusSummary _elem158;
+ @org.apache.storm.thrift.annotation.Nullable NimbusSummary _elem158;
for (int _i159 = 0; _i159 < _list157.size; ++_i159)
{
_elem158 = new NimbusSummary();
diff --git a/storm-client/src/jvm/org/apache/storm/generated/ClusterWorkerHeartbeat.java b/storm-client/src/jvm/org/apache/storm/generated/ClusterWorkerHeartbeat.java
index ba95235..43aa8fe 100644
--- a/storm-client/src/jvm/org/apache/storm/generated/ClusterWorkerHeartbeat.java
+++ b/storm-client/src/jvm/org/apache/storm/generated/ClusterWorkerHeartbeat.java
@@ -16,7 +16,7 @@
* limitations under the License.
*/
/**
- * Autogenerated by Thrift Compiler (0.11.0)
+ * Autogenerated by Thrift Compiler (0.12.0)
*
* DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
* @generated
@@ -24,7 +24,7 @@
package org.apache.storm.generated;
@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked", "unused"})
-@javax.annotation.Generated(value = "Autogenerated by Thrift Compiler (0.11.0)")
+@javax.annotation.Generated(value = "Autogenerated by Thrift Compiler (0.12.0)")
public class ClusterWorkerHeartbeat implements org.apache.storm.thrift.TBase<ClusterWorkerHeartbeat, ClusterWorkerHeartbeat._Fields>, java.io.Serializable, Cloneable, Comparable<ClusterWorkerHeartbeat> {
private static final org.apache.storm.thrift.protocol.TStruct STRUCT_DESC = new org.apache.storm.thrift.protocol.TStruct("ClusterWorkerHeartbeat");
@@ -36,8 +36,8 @@ public class ClusterWorkerHeartbeat implements org.apache.storm.thrift.TBase<Clu
private static final org.apache.storm.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new ClusterWorkerHeartbeatStandardSchemeFactory();
private static final org.apache.storm.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new ClusterWorkerHeartbeatTupleSchemeFactory();
- private java.lang.String storm_id; // required
- private java.util.Map<ExecutorInfo,ExecutorStats> executor_stats; // required
+ private @org.apache.storm.thrift.annotation.Nullable java.lang.String storm_id; // required
+ private @org.apache.storm.thrift.annotation.Nullable java.util.Map<ExecutorInfo,ExecutorStats> executor_stats; // required
private int time_secs; // required
private int uptime_secs; // required
@@ -59,6 +59,7 @@ public class ClusterWorkerHeartbeat implements org.apache.storm.thrift.TBase<Clu
/**
* Find the _Fields constant that matches fieldId, or null if its not found.
*/
+ @org.apache.storm.thrift.annotation.Nullable
public static _Fields findByThriftId(int fieldId) {
switch(fieldId) {
case 1: // STORM_ID
@@ -87,6 +88,7 @@ public class ClusterWorkerHeartbeat implements org.apache.storm.thrift.TBase<Clu
/**
* Find the _Fields constant that matches name, or null if its not found.
*/
+ @org.apache.storm.thrift.annotation.Nullable
public static _Fields findByName(java.lang.String name) {
return byName.get(name);
}
@@ -188,11 +190,12 @@ public class ClusterWorkerHeartbeat implements org.apache.storm.thrift.TBase<Clu
this.uptime_secs = 0;
}
+ @org.apache.storm.thrift.annotation.Nullable
public java.lang.String get_storm_id() {
return this.storm_id;
}
- public void set_storm_id(java.lang.String storm_id) {
+ public void set_storm_id(@org.apache.storm.thrift.annotation.Nullable java.lang.String storm_id) {
this.storm_id = storm_id;
}
@@ -222,11 +225,12 @@ public class ClusterWorkerHeartbeat implements org.apache.storm.thrift.TBase<Clu
this.executor_stats.put(key, val);
}
+ @org.apache.storm.thrift.annotation.Nullable
public java.util.Map<ExecutorInfo,ExecutorStats> get_executor_stats() {
return this.executor_stats;
}
- public void set_executor_stats(java.util.Map<ExecutorInfo,ExecutorStats> executor_stats) {
+ public void set_executor_stats(@org.apache.storm.thrift.annotation.Nullable java.util.Map<ExecutorInfo,ExecutorStats> executor_stats) {
this.executor_stats = executor_stats;
}
@@ -289,7 +293,7 @@ public class ClusterWorkerHeartbeat implements org.apache.storm.thrift.TBase<Clu
__isset_bitfield = org.apache.storm.thrift.EncodingUtils.setBit(__isset_bitfield, __UPTIME_SECS_ISSET_ID, value);
}
- public void setFieldValue(_Fields field, java.lang.Object value) {
+ public void setFieldValue(_Fields field, @org.apache.storm.thrift.annotation.Nullable java.lang.Object value) {
switch (field) {
case STORM_ID:
if (value == null) {
@@ -326,6 +330,7 @@ public class ClusterWorkerHeartbeat implements org.apache.storm.thrift.TBase<Clu
}
}
+ @org.apache.storm.thrift.annotation.Nullable
public java.lang.Object getFieldValue(_Fields field) {
switch (field) {
case STORM_ID:
@@ -487,6 +492,7 @@ public class ClusterWorkerHeartbeat implements org.apache.storm.thrift.TBase<Clu
return 0;
}
+ @org.apache.storm.thrift.annotation.Nullable
public _Fields fieldForId(int fieldId) {
return _Fields.findByThriftId(fieldId);
}
@@ -601,8 +607,8 @@ public class ClusterWorkerHeartbeat implements org.apache.storm.thrift.TBase<Clu
{
org.apache.storm.thrift.protocol.TMap _map772 = iprot.readMapBegin();
struct.executor_stats = new java.util.HashMap<ExecutorInfo,ExecutorStats>(2*_map772.size);
- ExecutorInfo _key773;
- ExecutorStats _val774;
+ @org.apache.storm.thrift.annotation.Nullable ExecutorInfo _key773;
+ @org.apache.storm.thrift.annotation.Nullable ExecutorStats _val774;
for (int _i775 = 0; _i775 < _map772.size; ++_i775)
{
_key773 = new ExecutorInfo();
@@ -709,8 +715,8 @@ public class ClusterWorkerHeartbeat implements org.apache.storm.thrift.TBase<Clu
{
org.apache.storm.thrift.protocol.TMap _map778 = new org.apache.storm.thrift.protocol.TMap(org.apache.storm.thrift.protocol.TType.STRUCT, org.apache.storm.thrift.protocol.TType.STRUCT, iprot.readI32());
struct.executor_stats = new java.util.HashMap<ExecutorInfo,ExecutorStats>(2*_map778.size);
- ExecutorInfo _key779;
- ExecutorStats _val780;
+ @org.apache.storm.thrift.annotation.Nullable ExecutorInfo _key779;
+ @org.apache.storm.thrift.annotation.Nullable ExecutorStats _val780;
for (int _i781 = 0; _i781 < _map778.size; ++_i781)
{
_key779 = new ExecutorInfo();
diff --git a/storm-client/src/jvm/org/apache/storm/generated/CommonAggregateStats.java b/storm-client/src/jvm/org/apache/storm/generated/CommonAggregateStats.java
index 5ede50d..ae23480 100644
--- a/storm-client/src/jvm/org/apache/storm/generated/CommonAggregateStats.java
+++ b/storm-client/src/jvm/org/apache/storm/generated/CommonAggregateStats.java
@@ -16,7 +16,7 @@
* limitations under the License.
*/
/**
- * Autogenerated by Thrift Compiler (0.11.0)
+ * Autogenerated by Thrift Compiler (0.12.0)
*
* DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
* @generated
@@ -24,7 +24,7 @@
package org.apache.storm.generated;
@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked", "unused"})
-@javax.annotation.Generated(value = "Autogenerated by Thrift Compiler (0.11.0)")
+@javax.annotation.Generated(value = "Autogenerated by Thrift Compiler (0.12.0)")
public class CommonAggregateStats implements org.apache.storm.thrift.TBase<CommonAggregateStats, CommonAggregateStats._Fields>, java.io.Serializable, Cloneable, Comparable<CommonAggregateStats> {
private static final org.apache.storm.thrift.protocol.TStruct STRUCT_DESC = new org.apache.storm.thrift.protocol.TStruct("CommonAggregateStats");
@@ -45,7 +45,7 @@ public class CommonAggregateStats implements org.apache.storm.thrift.TBase<Commo
private long transferred; // optional
private long acked; // optional
private long failed; // optional
- private java.util.Map<java.lang.String,java.lang.Double> resources_map; // optional
+ private @org.apache.storm.thrift.annotation.Nullable java.util.Map<java.lang.String,java.lang.Double> resources_map; // optional
/** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
public enum _Fields implements org.apache.storm.thrift.TFieldIdEnum {
@@ -68,6 +68,7 @@ public class CommonAggregateStats implements org.apache.storm.thrift.TBase<Commo
/**
* Find the _Fields constant that matches fieldId, or null if its not found.
*/
+ @org.apache.storm.thrift.annotation.Nullable
public static _Fields findByThriftId(int fieldId) {
switch(fieldId) {
case 1: // NUM_EXECUTORS
@@ -102,6 +103,7 @@ public class CommonAggregateStats implements org.apache.storm.thrift.TBase<Commo
/**
* Find the _Fields constant that matches name, or null if its not found.
*/
+ @org.apache.storm.thrift.annotation.Nullable
public static _Fields findByName(java.lang.String name) {
return byName.get(name);
}
@@ -339,11 +341,12 @@ public class CommonAggregateStats implements org.apache.storm.thrift.TBase<Commo
this.resources_map.put(key, val);
}
+ @org.apache.storm.thrift.annotation.Nullable
public java.util.Map<java.lang.String,java.lang.Double> get_resources_map() {
return this.resources_map;
}
- public void set_resources_map(java.util.Map<java.lang.String,java.lang.Double> resources_map) {
+ public void set_resources_map(@org.apache.storm.thrift.annotation.Nullable java.util.Map<java.lang.String,java.lang.Double> resources_map) {
this.resources_map = resources_map;
}
@@ -362,7 +365,7 @@ public class CommonAggregateStats implements org.apache.storm.thrift.TBase<Commo
}
}
- public void setFieldValue(_Fields field, java.lang.Object value) {
+ public void setFieldValue(_Fields field, @org.apache.storm.thrift.annotation.Nullable java.lang.Object value) {
switch (field) {
case NUM_EXECUTORS:
if (value == null) {
@@ -423,6 +426,7 @@ public class CommonAggregateStats implements org.apache.storm.thrift.TBase<Commo
}
}
+ @org.apache.storm.thrift.annotation.Nullable
public java.lang.Object getFieldValue(_Fields field) {
switch (field) {
case NUM_EXECUTORS:
@@ -672,6 +676,7 @@ public class CommonAggregateStats implements org.apache.storm.thrift.TBase<Commo
return 0;
}
+ @org.apache.storm.thrift.annotation.Nullable
public _Fields fieldForId(int fieldId) {
return _Fields.findByThriftId(fieldId);
}
@@ -832,7 +837,7 @@ public class CommonAggregateStats implements org.apache.storm.thrift.TBase<Commo
{
org.apache.storm.thrift.protocol.TMap _map396 = iprot.readMapBegin();
struct.resources_map = new java.util.HashMap<java.lang.String,java.lang.Double>(2*_map396.size);
- java.lang.String _key397;
+ @org.apache.storm.thrift.annotation.Nullable java.lang.String _key397;
double _val398;
for (int _i399 = 0; _i399 < _map396.size; ++_i399)
{
@@ -1007,7 +1012,7 @@ public class CommonAggregateStats implements org.apache.storm.thrift.TBase<Commo
{
org.apache.storm.thrift.protocol.TMap _map402 = new org.apache.storm.thrift.protocol.TMap(org.apache.storm.thrift.protocol.TType.STRING, org.apache.storm.thrift.protocol.TType.DOUBLE, iprot.readI32());
struct.resources_map = new java.util.HashMap<java.lang.String,java.lang.Double>(2*_map402.size);
- java.lang.String _key403;
+ @org.apache.storm.thrift.annotation.Nullable java.lang.String _key403;
double _val404;
for (int _i405 = 0; _i405 < _map402.size; ++_i405)
{
diff --git a/storm-client/src/jvm/org/apache/storm/generated/ComponentAggregateStats.java b/storm-client/src/jvm/org/apache/storm/generated/ComponentAggregateStats.java
index 15f351e..eed66e6 100644
--- a/storm-client/src/jvm/org/apache/storm/generated/ComponentAggregateStats.java
+++ b/storm-client/src/jvm/org/apache/storm/generated/ComponentAggregateStats.java
@@ -16,7 +16,7 @@
* limitations under the License.
*/
/**
- * Autogenerated by Thrift Compiler (0.11.0)
+ * Autogenerated by Thrift Compiler (0.12.0)
*
* DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
* @generated
@@ -24,7 +24,7 @@
package org.apache.storm.generated;
@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked", "unused"})
-@javax.annotation.Generated(value = "Autogenerated by Thrift Compiler (0.11.0)")
+@javax.annotation.Generated(value = "Autogenerated by Thrift Compiler (0.12.0)")
public class ComponentAggregateStats implements org.apache.storm.thrift.TBase<ComponentAggregateStats, ComponentAggregateStats._Fields>, java.io.Serializable, Cloneable, Comparable<ComponentAggregateStats> {
private static final org.apache.storm.thrift.protocol.TStruct STRUCT_DESC = new org.apache.storm.thrift.protocol.TStruct("ComponentAggregateStats");
@@ -36,10 +36,10 @@ public class ComponentAggregateStats implements org.apache.storm.thrift.TBase<Co
private static final org.apache.storm.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new ComponentAggregateStatsStandardSchemeFactory();
private static final org.apache.storm.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new ComponentAggregateStatsTupleSchemeFactory();
- private ComponentType type; // optional
- private CommonAggregateStats common_stats; // optional
- private SpecificAggregateStats specific_stats; // optional
- private ErrorInfo last_error; // optional
+ private @org.apache.storm.thrift.annotation.Nullable ComponentType type; // optional
+ private @org.apache.storm.thrift.annotation.Nullable CommonAggregateStats common_stats; // optional
+ private @org.apache.storm.thrift.annotation.Nullable SpecificAggregateStats specific_stats; // optional
+ private @org.apache.storm.thrift.annotation.Nullable ErrorInfo last_error; // optional
/** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
public enum _Fields implements org.apache.storm.thrift.TFieldIdEnum {
@@ -63,6 +63,7 @@ public class ComponentAggregateStats implements org.apache.storm.thrift.TBase<Co
/**
* Find the _Fields constant that matches fieldId, or null if its not found.
*/
+ @org.apache.storm.thrift.annotation.Nullable
public static _Fields findByThriftId(int fieldId) {
switch(fieldId) {
case 1: // TYPE
@@ -91,6 +92,7 @@ public class ComponentAggregateStats implements org.apache.storm.thrift.TBase<Co
/**
* Find the _Fields constant that matches name, or null if its not found.
*/
+ @org.apache.storm.thrift.annotation.Nullable
public static _Fields findByName(java.lang.String name) {
return byName.get(name);
}
@@ -166,6 +168,7 @@ public class ComponentAggregateStats implements org.apache.storm.thrift.TBase<Co
*
* @see ComponentType
*/
+ @org.apache.storm.thrift.annotation.Nullable
public ComponentType get_type() {
return this.type;
}
@@ -174,7 +177,7 @@ public class ComponentAggregateStats implements org.apache.storm.thrift.TBase<Co
*
* @see ComponentType
*/
- public void set_type(ComponentType type) {
+ public void set_type(@org.apache.storm.thrift.annotation.Nullable ComponentType type) {
this.type = type;
}
@@ -193,11 +196,12 @@ public class ComponentAggregateStats implements org.apache.storm.thrift.TBase<Co
}
}
+ @org.apache.storm.thrift.annotation.Nullable
public CommonAggregateStats get_common_stats() {
return this.common_stats;
}
- public void set_common_stats(CommonAggregateStats common_stats) {
+ public void set_common_stats(@org.apache.storm.thrift.annotation.Nullable CommonAggregateStats common_stats) {
this.common_stats = common_stats;
}
@@ -216,11 +220,12 @@ public class ComponentAggregateStats implements org.apache.storm.thrift.TBase<Co
}
}
+ @org.apache.storm.thrift.annotation.Nullable
public SpecificAggregateStats get_specific_stats() {
return this.specific_stats;
}
- public void set_specific_stats(SpecificAggregateStats specific_stats) {
+ public void set_specific_stats(@org.apache.storm.thrift.annotation.Nullable SpecificAggregateStats specific_stats) {
this.specific_stats = specific_stats;
}
@@ -239,11 +244,12 @@ public class ComponentAggregateStats implements org.apache.storm.thrift.TBase<Co
}
}
+ @org.apache.storm.thrift.annotation.Nullable
public ErrorInfo get_last_error() {
return this.last_error;
}
- public void set_last_error(ErrorInfo last_error) {
+ public void set_last_error(@org.apache.storm.thrift.annotation.Nullable ErrorInfo last_error) {
this.last_error = last_error;
}
@@ -262,7 +268,7 @@ public class ComponentAggregateStats implements org.apache.storm.thrift.TBase<Co
}
}
- public void setFieldValue(_Fields field, java.lang.Object value) {
+ public void setFieldValue(_Fields field, @org.apache.storm.thrift.annotation.Nullable java.lang.Object value) {
switch (field) {
case TYPE:
if (value == null) {
@@ -299,6 +305,7 @@ public class ComponentAggregateStats implements org.apache.storm.thrift.TBase<Co
}
}
+ @org.apache.storm.thrift.annotation.Nullable
public java.lang.Object getFieldValue(_Fields field) {
switch (field) {
case TYPE:
@@ -464,6 +471,7 @@ public class ComponentAggregateStats implements org.apache.storm.thrift.TBase<Co
return 0;
}
+ @org.apache.storm.thrift.annotation.Nullable
public _Fields fieldForId(int fieldId) {
return _Fields.findByThriftId(fieldId);
}
diff --git a/storm-client/src/jvm/org/apache/storm/generated/ComponentCommon.java b/storm-client/src/jvm/org/apache/storm/generated/ComponentCommon.java
index ef905c7..cffaea4 100644
--- a/storm-client/src/jvm/org/apache/storm/generated/ComponentCommon.java
+++ b/storm-client/src/jvm/org/apache/storm/generated/ComponentCommon.java
@@ -16,7 +16,7 @@
* limitations under the License.
*/
/**
- * Autogenerated by Thrift Compiler (0.11.0)
+ * Autogenerated by Thrift Compiler (0.12.0)
*
* DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
* @generated
@@ -24,7 +24,7 @@
package org.apache.storm.generated;
@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked", "unused"})
-@javax.annotation.Generated(value = "Autogenerated by Thrift Compiler (0.11.0)")
+@javax.annotation.Generated(value = "Autogenerated by Thrift Compiler (0.12.0)")
public class ComponentCommon implements org.apache.storm.thrift.TBase<ComponentCommon, ComponentCommon._Fields>, java.io.Serializable, Cloneable, Comparable<ComponentCommon> {
private static final org.apache.storm.thrift.protocol.TStruct STRUCT_DESC = new org.apache.storm.thrift.protocol.TStruct("ComponentCommon");
@@ -36,10 +36,10 @@ public class ComponentCommon implements org.apache.storm.thrift.TBase<ComponentC
private static final org.apache.storm.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new ComponentCommonStandardSchemeFactory();
private static final org.apache.storm.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new ComponentCommonTupleSchemeFactory();
- private java.util.Map<GlobalStreamId,Grouping> inputs; // required
- private java.util.Map<java.lang.String,StreamInfo> streams; // required
+ private @org.apache.storm.thrift.annotation.Nullable java.util.Map<GlobalStreamId,Grouping> inputs; // required
+ private @org.apache.storm.thrift.annotation.Nullable java.util.Map<java.lang.String,StreamInfo> streams; // required
private int parallelism_hint; // optional
- private java.lang.String json_conf; // optional
+ private @org.apache.storm.thrift.annotation.Nullable java.lang.String json_conf; // optional
/** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
public enum _Fields implements org.apache.storm.thrift.TFieldIdEnum {
@@ -59,6 +59,7 @@ public class ComponentCommon implements org.apache.storm.thrift.TBase<ComponentC
/**
* Find the _Fields constant that matches fieldId, or null if its not found.
*/
+ @org.apache.storm.thrift.annotation.Nullable
public static _Fields findByThriftId(int fieldId) {
switch(fieldId) {
case 1: // INPUTS
@@ -87,6 +88,7 @@ public class ComponentCommon implements org.apache.storm.thrift.TBase<ComponentC
/**
* Find the _Fields constant that matches name, or null if its not found.
*/
+ @org.apache.storm.thrift.annotation.Nullable
public static _Fields findByName(java.lang.String name) {
return byName.get(name);
}
@@ -208,11 +210,12 @@ public class ComponentCommon implements org.apache.storm.thrift.TBase<ComponentC
this.inputs.put(key, val);
}
+ @org.apache.storm.thrift.annotation.Nullable
public java.util.Map<GlobalStreamId,Grouping> get_inputs() {
return this.inputs;
}
- public void set_inputs(java.util.Map<GlobalStreamId,Grouping> inputs) {
+ public void set_inputs(@org.apache.storm.thrift.annotation.Nullable java.util.Map<GlobalStreamId,Grouping> inputs) {
this.inputs = inputs;
}
@@ -242,11 +245,12 @@ public class ComponentCommon implements org.apache.storm.thrift.TBase<ComponentC
this.streams.put(key, val);
}
+ @org.apache.storm.thrift.annotation.Nullable
public java.util.Map<java.lang.String,StreamInfo> get_streams() {
return this.streams;
}
- public void set_streams(java.util.Map<java.lang.String,StreamInfo> streams) {
+ public void set_streams(@org.apache.storm.thrift.annotation.Nullable java.util.Map<java.lang.String,StreamInfo> streams) {
this.streams = streams;
}
@@ -287,11 +291,12 @@ public class ComponentCommon implements org.apache.storm.thrift.TBase<ComponentC
__isset_bitfield = org.apache.storm.thrift.EncodingUtils.setBit(__isset_bitfield, __PARALLELISM_HINT_ISSET_ID, value);
}
+ @org.apache.storm.thrift.annotation.Nullable
public java.lang.String get_json_conf() {
return this.json_conf;
}
- public void set_json_conf(java.lang.String json_conf) {
+ public void set_json_conf(@org.apache.storm.thrift.annotation.Nullable java.lang.String json_conf) {
this.json_conf = json_conf;
}
@@ -310,7 +315,7 @@ public class ComponentCommon implements org.apache.storm.thrift.TBase<ComponentC
}
}
- public void setFieldValue(_Fields field, java.lang.Object value) {
+ public void setFieldValue(_Fields field, @org.apache.storm.thrift.annotation.Nullable java.lang.Object value) {
switch (field) {
case INPUTS:
if (value == null) {
@@ -347,6 +352,7 @@ public class ComponentCommon implements org.apache.storm.thrift.TBase<ComponentC
}
}
+ @org.apache.storm.thrift.annotation.Nullable
public java.lang.Object getFieldValue(_Fields field) {
switch (field) {
case INPUTS:
@@ -512,6 +518,7 @@ public class ComponentCommon implements org.apache.storm.thrift.TBase<ComponentC
return 0;
}
+ @org.apache.storm.thrift.annotation.Nullable
public _Fields fieldForId(int fieldId) {
return _Fields.findByThriftId(fieldId);
}
@@ -618,8 +625,8 @@ public class ComponentCommon implements org.apache.storm.thrift.TBase<ComponentC
{
org.apache.storm.thrift.protocol.TMap _map24 = iprot.readMapBegin();
struct.inputs = new java.util.HashMap<GlobalStreamId,Grouping>(2*_map24.size);
- GlobalStreamId _key25;
- Grouping _val26;
+ @org.apache.storm.thrift.annotation.Nullable GlobalStreamId _key25;
+ @org.apache.storm.thrift.annotation.Nullable Grouping _val26;
for (int _i27 = 0; _i27 < _map24.size; ++_i27)
{
_key25 = new GlobalStreamId();
@@ -640,8 +647,8 @@ public class ComponentCommon implements org.apache.storm.thrift.TBase<ComponentC
{
org.apache.storm.thrift.protocol.TMap _map28 = iprot.readMapBegin();
struct.streams = new java.util.HashMap<java.lang.String,StreamInfo>(2*_map28.size);
- java.lang.String _key29;
- StreamInfo _val30;
+ @org.apache.storm.thrift.annotation.Nullable java.lang.String _key29;
+ @org.apache.storm.thrift.annotation.Nullable StreamInfo _val30;
for (int _i31 = 0; _i31 < _map28.size; ++_i31)
{
_key29 = iprot.readString();
@@ -778,8 +785,8 @@ public class ComponentCommon implements org.apache.storm.thrift.TBase<ComponentC
{
org.apache.storm.thrift.protocol.TMap _map36 = new org.apache.storm.thrift.protocol.TMap(org.apache.storm.thrift.protocol.TType.STRUCT, org.apache.storm.thrift.protocol.TType.STRUCT, iprot.readI32());
struct.inputs = new java.util.HashMap<GlobalStreamId,Grouping>(2*_map36.size);
- GlobalStreamId _key37;
- Grouping _val38;
+ @org.apache.storm.thrift.annotation.Nullable GlobalStreamId _key37;
+ @org.apache.storm.thrift.annotation.Nullable Grouping _val38;
for (int _i39 = 0; _i39 < _map36.size; ++_i39)
{
_key37 = new GlobalStreamId();
@@ -793,8 +800,8 @@ public class ComponentCommon implements org.apache.storm.thrift.TBase<ComponentC
{
org.apache.storm.thrift.protocol.TMap _map40 = new org.apache.storm.thrift.protocol.TMap(org.apache.storm.thrift.protocol.TType.STRING, org.apache.storm.thrift.protocol.TType.STRUCT, iprot.readI32());
struct.streams = new java.util.HashMap<java.lang.String,StreamInfo>(2*_map40.size);
- java.lang.String _key41;
- StreamInfo _val42;
+ @org.apache.storm.thrift.annotation.Nullable java.lang.String _key41;
+ @org.apache.storm.thrift.annotation.Nullable StreamInfo _val42;
for (int _i43 = 0; _i43 < _map40.size; ++_i43)
{
_key41 = iprot.readString();
diff --git a/storm-client/src/jvm/org/apache/storm/generated/ComponentObject.java b/storm-client/src/jvm/org/apache/storm/generated/ComponentObject.java
index c8338c0..e6562c0 100644
--- a/storm-client/src/jvm/org/apache/storm/generated/ComponentObject.java
+++ b/storm-client/src/jvm/org/apache/storm/generated/ComponentObject.java
@@ -16,7 +16,7 @@
* limitations under the License.
*/
/**
- * Autogenerated by Thrift Compiler (0.11.0)
+ * Autogenerated by Thrift Compiler (0.12.0)
*
* DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
* @generated
@@ -24,6 +24,7 @@
package org.apache.storm.generated;
@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked", "unused"})
+@javax.annotation.Generated(value = "Autogenerated by Thrift Compiler (0.12.0)")
public class ComponentObject extends org.apache.storm.thrift.TUnion<ComponentObject, ComponentObject._Fields> {
private static final org.apache.storm.thrift.protocol.TStruct STRUCT_DESC = new org.apache.storm.thrift.protocol.TStruct("ComponentObject");
private static final org.apache.storm.thrift.protocol.TField SERIALIZED_JAVA_FIELD_DESC = new org.apache.storm.thrift.protocol.TField("serialized_java", org.apache.storm.thrift.protocol.TType.STRING, (short)1);
@@ -47,6 +48,7 @@ public class ComponentObject extends org.apache.storm.thrift.TUnion<ComponentObj
/**
* Find the _Fields constant that matches fieldId, or null if its not found.
*/
+ @org.apache.storm.thrift.annotation.Nullable
public static _Fields findByThriftId(int fieldId) {
switch(fieldId) {
case 1: // SERIALIZED_JAVA
@@ -73,6 +75,7 @@ public class ComponentObject extends org.apache.storm.thrift.TUnion<ComponentObj
/**
* Find the _Fields constant that matches name, or null if its not found.
*/
+ @org.apache.storm.thrift.annotation.Nullable
public static _Fields findByName(java.lang.String name) {
return byName.get(name);
}
@@ -130,7 +133,7 @@ public class ComponentObject extends org.apache.storm.thrift.TUnion<ComponentObj
public static ComponentObject serialized_java(byte[] value) {
ComponentObject x = new ComponentObject();
- x.set_serialized_java(java.nio.ByteBuffer.wrap(value.clone()));
+ x.set_serialized_java (java.nio.ByteBuffer.wrap(value.clone()));
return x;
}
@@ -304,6 +307,7 @@ public class ComponentObject extends org.apache.storm.thrift.TUnion<ComponentObj
return _Fields.findByThriftIdOrThrow(id);
}
+ @org.apache.storm.thrift.annotation.Nullable
public _Fields fieldForId(int fieldId) {
return _Fields.findByThriftId(fieldId);
}
@@ -324,7 +328,7 @@ public class ComponentObject extends org.apache.storm.thrift.TUnion<ComponentObj
}
public void set_serialized_java(byte[] value) {
- set_serialized_java(java.nio.ByteBuffer.wrap(value.clone()));
+ set_serialized_java (java.nio.ByteBuffer.wrap(value.clone()));
}
public void set_serialized_java(java.nio.ByteBuffer value) {
diff --git a/storm-client/src/jvm/org/apache/storm/generated/ComponentPageInfo.java b/storm-client/src/jvm/org/apache/storm/generated/ComponentPageInfo.java
index b0b5fae..bb96e9a 100644
--- a/storm-client/src/jvm/org/apache/storm/generated/ComponentPageInfo.java
+++ b/storm-client/src/jvm/org/apache/storm/generated/ComponentPageInfo.java
@@ -16,7 +16,7 @@
* limitations under the License.
*/
/**
- * Autogenerated by Thrift Compiler (0.11.0)
+ * Autogenerated by Thrift Compiler (0.12.0)
*
* DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
* @generated
@@ -24,7 +24,7 @@
package org.apache.storm.generated;
@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked", "unused"})
-@javax.annotation.Generated(value = "Autogenerated by Thrift Compiler (0.11.0)")
+@javax.annotation.Generated(value = "Autogenerated by Thrift Compiler (0.12.0)")
public class ComponentPageInfo implements org.apache.storm.thrift.TBase<ComponentPageInfo, ComponentPageInfo._Fields>, java.io.Serializable, Cloneable, Comparable<ComponentPageInfo> {
private static final org.apache.storm.thrift.protocol.TStruct STRUCT_DESC = new org.apache.storm.thrift.protocol.TStruct("ComponentPageInfo");
@@ -48,22 +48,22 @@ public class ComponentPageInfo implements org.apache.storm.thrift.TBase<Componen
private static final org.apache.storm.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new ComponentPageInfoStandardSchemeFactory();
private static final org.apache.storm.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new ComponentPageInfoTupleSchemeFactory();
- private java.lang.String component_id; // required
- private ComponentType component_type; // required
- private java.lang.String topology_id; // optional
- private java.lang.String topology_name; // optional
+ private @org.apache.storm.thrift.annotation.Nullable java.lang.String component_id; // required
+ private @org.apache.storm.thrift.annotation.Nullable ComponentType component_type; // required
+ private @org.apache.storm.thrift.annotation.Nullable java.lang.String topology_id; // optional
+ private @org.apache.storm.thrift.annotation.Nullable java.lang.String topology_name; // optional
private int num_executors; // optional
private int num_tasks; // optional
- private java.util.Map<java.lang.String,ComponentAggregateStats> window_to_stats; // optional
- private java.util.Map<GlobalStreamId,ComponentAggregateStats> gsid_to_input_stats; // optional
- private java.util.Map<java.lang.String,ComponentAggregateStats> sid_to_output_stats; // optional
- private java.util.List<ExecutorAggregateStats> exec_stats; // optional
- private java.util.List<ErrorInfo> errors; // optional
- private java.lang.String eventlog_host; // optional
+ private @org.apache.storm.thrift.annotation.Nullable java.util.Map<java.lang.String,ComponentAggregateStats> window_to_stats; // optional
+ private @org.apache.storm.thrift.annotation.Nullable java.util.Map<GlobalStreamId,ComponentAggregateStats> gsid_to_input_stats; // optional
+ private @org.apache.storm.thrift.annotation.Nullable java.util.Map<java.lang.String,ComponentAggregateStats> sid_to_output_stats; // optional
+ private @org.apache.storm.thrift.annotation.Nullable java.util.List<ExecutorAggregateStats> exec_stats; // optional
+ private @org.apache.storm.thrift.annotation.Nullable java.util.List<ErrorInfo> errors; // optional
+ private @org.apache.storm.thrift.annotation.Nullable java.lang.String eventlog_host; // optional
private int eventlog_port; // optional
- private DebugOptions debug_options; // optional
- private java.lang.String topology_status; // optional
- private java.util.Map<java.lang.String,java.lang.Double> resources_map; // optional
+ private @org.apache.storm.thrift.annotation.Nullable DebugOptions debug_options; // optional
+ private @org.apache.storm.thrift.annotation.Nullable java.lang.String topology_status; // optional
+ private @org.apache.storm.thrift.annotation.Nullable java.util.Map<java.lang.String,java.lang.Double> resources_map; // optional
/** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
public enum _Fields implements org.apache.storm.thrift.TFieldIdEnum {
@@ -99,6 +99,7 @@ public class ComponentPageInfo implements org.apache.storm.thrift.TBase<Componen
/**
* Find the _Fields constant that matches fieldId, or null if its not found.
*/
+ @org.apache.storm.thrift.annotation.Nullable
public static _Fields findByThriftId(int fieldId) {
switch(fieldId) {
case 1: // COMPONENT_ID
@@ -151,6 +152,7 @@ public class ComponentPageInfo implements org.apache.storm.thrift.TBase<Componen
/**
* Find the _Fields constant that matches name, or null if its not found.
*/
+ @org.apache.storm.thrift.annotation.Nullable
public static _Fields findByName(java.lang.String name) {
return byName.get(name);
}
@@ -360,11 +362,12 @@ public class ComponentPageInfo implements org.apache.storm.thrift.TBase<Componen
this.resources_map = null;
}
+ @org.apache.storm.thrift.annotation.Nullable
public java.lang.String get_component_id() {
return this.component_id;
}
- public void set_component_id(java.lang.String component_id) {
+ public void set_component_id(@org.apache.storm.thrift.annotation.Nullable java.lang.String component_id) {
this.component_id = component_id;
}
@@ -387,6 +390,7 @@ public class ComponentPageInfo implements org.apache.storm.thrift.TBase<Componen
*
* @see ComponentType
*/
+ @org.apache.storm.thrift.annotation.Nullable
public ComponentType get_component_type() {
return this.component_type;
}
@@ -395,7 +399,7 @@ public class ComponentPageInfo implements org.apache.storm.thrift.TBase<Componen
*
* @see ComponentType
*/
- public void set_component_type(ComponentType component_type) {
+ public void set_component_type(@org.apache.storm.thrift.annotation.Nullable ComponentType component_type) {
this.component_type = component_type;
}
@@ -414,11 +418,12 @@ public class ComponentPageInfo implements org.apache.storm.thrift.TBase<Componen
}
}
+ @org.apache.storm.thrift.annotation.Nullable
public java.lang.String get_topology_id() {
return this.topology_id;
}
- public void set_topology_id(java.lang.String topology_id) {
+ public void set_topology_id(@org.apache.storm.thrift.annotation.Nullable java.lang.String topology_id) {
this.topology_id = topology_id;
}
@@ -437,11 +442,12 @@ public class ComponentPageInfo implements org.apache.storm.thrift.TBase<Componen
}
}
+ @org.apache.storm.thrift.annotation.Nullable
public java.lang.String get_topology_name() {
return this.topology_name;
}
- public void set_topology_name(java.lang.String topology_name) {
+ public void set_topology_name(@org.apache.storm.thrift.annotation.Nullable java.lang.String topology_name) {
this.topology_name = topology_name;
}
@@ -515,11 +521,12 @@ public class ComponentPageInfo implements org.apache.storm.thrift.TBase<Componen
this.window_to_stats.put(key, val);
}
+ @org.apache.storm.thrift.annotation.Nullable
public java.util.Map<java.lang.String,ComponentAggregateStats> get_window_to_stats() {
return this.window_to_stats;
}
- public void set_window_to_stats(java.util.Map<java.lang.String,ComponentAggregateStats> window_to_stats) {
+ public void set_window_to_stats(@org.apache.storm.thrift.annotation.Nullable java.util.Map<java.lang.String,ComponentAggregateStats> window_to_stats) {
this.window_to_stats = window_to_stats;
}
@@ -549,11 +556,12 @@ public class ComponentPageInfo implements org.apache.storm.thrift.TBase<Componen
this.gsid_to_input_stats.put(key, val);
}
+ @org.apache.storm.thrift.annotation.Nullable
public java.util.Map<GlobalStreamId,ComponentAggregateStats> get_gsid_to_input_stats() {
return this.gsid_to_input_stats;
}
- public void set_gsid_to_input_stats(java.util.Map<GlobalStreamId,ComponentAggregateStats> gsid_to_input_stats) {
+ public void set_gsid_to_input_stats(@org.apache.storm.thrift.annotation.Nullable java.util.Map<GlobalStreamId,ComponentAggregateStats> gsid_to_input_stats) {
this.gsid_to_input_stats = gsid_to_input_stats;
}
@@ -583,11 +591,12 @@ public class ComponentPageInfo implements org.apache.storm.thrift.TBase<Componen
this.sid_to_output_stats.put(key, val);
}
+ @org.apache.storm.thrift.annotation.Nullable
public java.util.Map<java.lang.String,ComponentAggregateStats> get_sid_to_output_stats() {
return this.sid_to_output_stats;
}
- public void set_sid_to_output_stats(java.util.Map<java.lang.String,ComponentAggregateStats> sid_to_output_stats) {
+ public void set_sid_to_output_stats(@org.apache.storm.thrift.annotation.Nullable java.util.Map<java.lang.String,ComponentAggregateStats> sid_to_output_stats) {
this.sid_to_output_stats = sid_to_output_stats;
}
@@ -610,6 +619,7 @@ public class ComponentPageInfo implements org.apache.storm.thrift.TBase<Componen
return (this.exec_stats == null) ? 0 : this.exec_stats.size();
}
+ @org.apache.storm.thrift.annotation.Nullable
public java.util.Iterator<ExecutorAggregateStats> get_exec_stats_iterator() {
return (this.exec_stats == null) ? null : this.exec_stats.iterator();
}
@@ -621,11 +631,12 @@ public class ComponentPageInfo implements org.apache.storm.thrift.TBase<Componen
this.exec_stats.add(elem);
}
+ @org.apache.storm.thrift.annotation.Nullable
public java.util.List<ExecutorAggregateStats> get_exec_stats() {
return this.exec_stats;
}
- public void set_exec_stats(java.util.List<ExecutorAggregateStats> exec_stats) {
+ public void set_exec_stats(@org.apache.storm.thrift.annotation.Nullable java.util.List<ExecutorAggregateStats> exec_stats) {
this.exec_stats = exec_stats;
}
@@ -648,6 +659,7 @@ public class ComponentPageInfo implements org.apache.storm.thrift.TBase<Componen
return (this.errors == null) ? 0 : this.errors.size();
}
+ @org.apache.storm.thrift.annotation.Nullable
public java.util.Iterator<ErrorInfo> get_errors_iterator() {
return (this.errors == null) ? null : this.errors.iterator();
}
@@ -659,11 +671,12 @@ public class ComponentPageInfo implements org.apache.storm.thrift.TBase<Componen
this.errors.add(elem);
}
+ @org.apache.storm.thrift.annotation.Nullable
public java.util.List<ErrorInfo> get_errors() {
return this.errors;
}
- public void set_errors(java.util.List<ErrorInfo> errors) {
+ public void set_errors(@org.apache.storm.thrift.annotation.Nullable java.util.List<ErrorInfo> errors) {
this.errors = errors;
}
@@ -682,11 +695,12 @@ public class ComponentPageInfo implements org.apache.storm.thrift.TBase<Componen
}
}
+ @org.apache.storm.thrift.annotation.Nullable
public java.lang.String get_eventlog_host() {
return this.eventlog_host;
}
- public void set_eventlog_host(java.lang.String eventlog_host) {
+ public void set_eventlog_host(@org.apache.storm.thrift.annotation.Nullable java.lang.String eventlog_host) {
this.eventlog_host = eventlog_host;
}
@@ -727,11 +741,12 @@ public class ComponentPageInfo implements org.apache.storm.thrift.TBase<Componen
__isset_bitfield = org.apache.storm.thrift.EncodingUtils.setBit(__isset_bitfield, __EVENTLOG_PORT_ISSET_ID, value);
}
+ @org.apache.storm.thrift.annotation.Nullable
public DebugOptions get_debug_options() {
return this.debug_options;
}
- public void set_debug_options(DebugOptions debug_options) {
+ public void set_debug_options(@org.apache.storm.thrift.annotation.Nullable DebugOptions debug_options) {
this.debug_options = debug_options;
}
@@ -750,11 +765,12 @@ public class ComponentPageInfo implements org.apache.storm.thrift.TBase<Componen
}
}
+ @org.apache.storm.thrift.annotation.Nullable
public java.lang.String get_topology_status() {
return this.topology_status;
}
- public void set_topology_status(java.lang.String topology_status) {
+ public void set_topology_status(@org.apache.storm.thrift.annotation.Nullable java.lang.String topology_status) {
this.topology_status = topology_status;
}
@@ -784,11 +800,12 @@ public class ComponentPageInfo implements org.apache.storm.thrift.TBase<Componen
this.resources_map.put(key, val);
}
+ @org.apache.storm.thrift.annotation.Nullable
public java.util.Map<java.lang.String,java.lang.Double> get_resources_map() {
return this.resources_map;
}
- public void set_resources_map(java.util.Map<java.lang.String,java.lang.Double> resources_map) {
+ public void set_resources_map(@org.apache.storm.thrift.annotation.Nullable java.util.Map<java.lang.String,java.lang.Double> resources_map) {
this.resources_map = resources_map;
}
@@ -807,7 +824,7 @@ public class ComponentPageInfo implements org.apache.storm.thrift.TBase<Componen
}
}
- public void setFieldValue(_Fields field, java.lang.Object value) {
+ public void setFieldValue(_Fields field, @org.apache.storm.thrift.annotation.Nullable java.lang.Object value) {
switch (field) {
case COMPONENT_ID:
if (value == null) {
@@ -940,6 +957,7 @@ public class ComponentPageInfo implements org.apache.storm.thrift.TBase<Componen
}
}
+ @org.apache.storm.thrift.annotation.Nullable
public java.lang.Object getFieldValue(_Fields field) {
switch (field) {
case COMPONENT_ID:
@@ -1441,6 +1459,7 @@ public class ComponentPageInfo implements org.apache.storm.thrift.TBase<Componen
return 0;
}
+ @org.apache.storm.thrift.annotation.Nullable
public _Fields fieldForId(int fieldId) {
return _Fields.findByThriftId(fieldId);
}
@@ -1710,8 +1729,8 @@ public class ComponentPageInfo implements org.apache.storm.thrift.TBase<Componen
{
org.apache.storm.thrift.protocol.TMap _map510 = iprot.readMapBegin();
struct.window_to_stats = new java.util.HashMap<java.lang.String,ComponentAggregateStats>(2*_map510.size);
- java.lang.String _key511;
- ComponentAggregateStats _val512;
+ @org.apache.storm.thrift.annotation.Nullable java.lang.String _key511;
+ @org.apache.storm.thrift.annotation.Nullable ComponentAggregateStats _val512;
for (int _i513 = 0; _i513 < _map510.size; ++_i513)
{
_key511 = iprot.readString();
@@ -1731,8 +1750,8 @@ public class ComponentPageInfo implements org.apache.storm.thrift.TBase<Componen
{
org.apache.storm.thrift.protocol.TMap _map514 = iprot.readMapBegin();
struct.gsid_to_input_stats = new java.util.HashMap<GlobalStreamId,ComponentAggregateStats>(2*_map514.size);
- GlobalStreamId _key515;
- ComponentAggregateStats _val516;
+ @org.apache.storm.thrift.annotation.Nullable GlobalStreamId _key515;
+ @org.apache.storm.thrift.annotation.Nullable ComponentAggregateStats _val516;
for (int _i517 = 0; _i517 < _map514.size; ++_i517)
{
_key515 = new GlobalStreamId();
@@ -1753,8 +1772,8 @@ public class ComponentPageInfo implements org.apache.storm.thrift.TBase<Componen
{
org.apache.storm.thrift.protocol.TMap _map518 = iprot.readMapBegin();
struct.sid_to_output_stats = new java.util.HashMap<java.lang.String,ComponentAggregateStats>(2*_map518.size);
- java.lang.String _key519;
- ComponentAggregateStats _val520;
+ @org.apache.storm.thrift.annotation.Nullable java.lang.String _key519;
+ @org.apache.storm.thrift.annotation.Nullable ComponentAggregateStats _val520;
for (int _i521 = 0; _i521 < _map518.size; ++_i521)
{
_key519 = iprot.readString();
@@ -1774,7 +1793,7 @@ public class ComponentPageInfo implements org.apache.storm.thrift.TBase<Componen
{
org.apache.storm.thrift.protocol.TList _list522 = iprot.readListBegin();
struct.exec_stats = new java.util.ArrayList<ExecutorAggregateStats>(_list522.size);
- ExecutorAggregateStats _elem523;
+ @org.apache.storm.thrift.annotation.Nullable ExecutorAggregateStats _elem523;
for (int _i524 = 0; _i524 < _list522.size; ++_i524)
{
_elem523 = new ExecutorAggregateStats();
@@ -1793,7 +1812,7 @@ public class ComponentPageInfo implements org.apache.storm.thrift.TBase<Componen
{
org.apache.storm.thrift.protocol.TList _list525 = iprot.readListBegin();
struct.errors = new java.util.ArrayList<ErrorInfo>(_list525.size);
- ErrorInfo _elem526;
+ @org.apache.storm.thrift.annotation.Nullable ErrorInfo _elem526;
for (int _i527 = 0; _i527 < _list525.size; ++_i527)
{
_elem526 = new ErrorInfo();
@@ -1845,7 +1864,7 @@ public class ComponentPageInfo implements org.apache.storm.thrift.TBase<Componen
{
org.apache.storm.thrift.protocol.TMap _map528 = iprot.readMapBegin();
struct.resources_map = new java.util.HashMap<java.lang.String,java.lang.Double>(2*_map528.size);
- java.lang.String _key529;
+ @org.apache.storm.thrift.annotation.Nullable java.lang.String _key529;
double _val530;
for (int _i531 = 0; _i531 < _map528.size; ++_i531)
{
@@ -2196,8 +2215,8 @@ public class ComponentPageInfo implements org.apache.storm.thrift.TBase<Componen
{
org.apache.storm.thrift.protocol.TMap _map544 = new org.apache.storm.thrift.protocol.TMap(org.apache.storm.thrift.protocol.TType.STRING, org.apache.storm.thrift.protocol.TType.STRUCT, iprot.readI32());
struct.window_to_stats = new java.util.HashMap<java.lang.String,ComponentAggregateStats>(2*_map544.size);
- java.lang.String _key545;
- ComponentAggregateStats _val546;
+ @org.apache.storm.thrift.annotation.Nullable java.lang.String _key545;
+ @org.apache.storm.thrift.annotation.Nullable ComponentAggregateStats _val546;
for (int _i547 = 0; _i547 < _map544.size; ++_i547)
{
_key545 = iprot.readString();
@@ -2212,8 +2231,8 @@ public class ComponentPageInfo implements org.apache.storm.thrift.TBase<Componen
{
org.apache.storm.thrift.protocol.TMap _map548 = new org.apache.storm.thrift.protocol.TMap(org.apache.storm.thrift.protocol.TType.STRUCT, org.apache.storm.thrift.protocol.TType.STRUCT, iprot.readI32());
struct.gsid_to_input_stats = new java.util.HashMap<GlobalStreamId,ComponentAggregateStats>(2*_map548.size);
- GlobalStreamId _key549;
- ComponentAggregateStats _val550;
+ @org.apache.storm.thrift.annotation.Nullable GlobalStreamId _key549;
+ @org.apache.storm.thrift.annotation.Nullable ComponentAggregateStats _val550;
for (int _i551 = 0; _i551 < _map548.size; ++_i551)
{
_key549 = new GlobalStreamId();
@@ -2229,8 +2248,8 @@ public class ComponentPageInfo implements org.apache.storm.thrift.TBase<Componen
{
org.apache.storm.thrift.protocol.TMap _map552 = new org.apache.storm.thrift.protocol.TMap(org.apache.storm.thrift.protocol.TType.STRING, org.apache.storm.thrift.protocol.TType.STRUCT, iprot.readI32());
struct.sid_to_output_stats = new java.util.HashMap<java.lang.String,ComponentAggregateStats>(2*_map552.size);
- java.lang.String _key553;
- ComponentAggregateStats _val554;
+ @org.apache.storm.thrift.annotation.Nullable java.lang.String _key553;
+ @org.apache.storm.thrift.annotation.Nullable ComponentAggregateStats _val554;
for (int _i555 = 0; _i555 < _map552.size; ++_i555)
{
_key553 = iprot.readString();
@@ -2245,7 +2264,7 @@ public class ComponentPageInfo implements org.apache.storm.thrift.TBase<Componen
{
org.apache.storm.thrift.protocol.TList _list556 = new org.apache.storm.thrift.protocol.TList(org.apache.storm.thrift.protocol.TType.STRUCT, iprot.readI32());
struct.exec_stats = new java.util.ArrayList<ExecutorAggregateStats>(_list556.size);
- ExecutorAggregateStats _elem557;
+ @org.apache.storm.thrift.annotation.Nullable ExecutorAggregateStats _elem557;
for (int _i558 = 0; _i558 < _list556.size; ++_i558)
{
_elem557 = new ExecutorAggregateStats();
@@ -2259,7 +2278,7 @@ public class ComponentPageInfo implements org.apache.storm.thrift.TBase<Componen
{
org.apache.storm.thrift.protocol.TList _list559 = new org.apache.storm.thrift.protocol.TList(org.apache.storm.thrift.protocol.TType.STRUCT, iprot.readI32());
struct.errors = new java.util.ArrayList<ErrorInfo>(_list559.size);
- ErrorInfo _elem560;
+ @org.apache.storm.thrift.annotation.Nullable ErrorInfo _elem560;
for (int _i561 = 0; _i561 < _list559.size; ++_i561)
{
_elem560 = new ErrorInfo();
@@ -2290,7 +2309,7 @@ public class ComponentPageInfo implements org.apache.storm.thrift.TBase<Componen
{
org.apache.storm.thrift.protocol.TMap _map562 = new org.apache.storm.thrift.protocol.TMap(org.apache.storm.thrift.protocol.TType.STRING, org.apache.storm.thrift.protocol.TType.DOUBLE, iprot.readI32());
struct.resources_map = new java.util.HashMap<java.lang.String,java.lang.Double>(2*_map562.size);
- java.lang.String _key563;
+ @org.apache.storm.thrift.annotation.Nullable java.lang.String _key563;
double _val564;
for (int _i565 = 0; _i565 < _map562.size; ++_i565)
{
diff --git a/storm-client/src/jvm/org/apache/storm/generated/ComponentType.java b/storm-client/src/jvm/org/apache/storm/generated/ComponentType.java
index 334960f..67ed928 100644
--- a/storm-client/src/jvm/org/apache/storm/generated/ComponentType.java
+++ b/storm-client/src/jvm/org/apache/storm/generated/ComponentType.java
@@ -16,7 +16,7 @@
* limitations under the License.
*/
/**
- * Autogenerated by Thrift Compiler (0.11.0)
+ * Autogenerated by Thrift Compiler (0.12.0)
*
* DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
* @generated
@@ -24,6 +24,7 @@
package org.apache.storm.generated;
+@javax.annotation.Generated(value = "Autogenerated by Thrift Compiler (0.12.0)")
public enum ComponentType implements org.apache.storm.thrift.TEnum {
BOLT(1),
SPOUT(2);
@@ -45,6 +46,7 @@ public enum ComponentType implements org.apache.storm.thrift.TEnum {
* Find a the enum type by its integer value, as defined in the Thrift IDL.
* @return null if the value is not found.
*/
+ @org.apache.storm.thrift.annotation.Nullable
public static ComponentType findByValue(int value) {
switch (value) {
case 1:
diff --git a/storm-client/src/jvm/org/apache/storm/generated/Credentials.java b/storm-client/src/jvm/org/apache/storm/generated/Credentials.java
index ffd1a06..437a030 100644
--- a/storm-client/src/jvm/org/apache/storm/generated/Credentials.java
+++ b/storm-client/src/jvm/org/apache/storm/generated/Credentials.java
@@ -16,7 +16,7 @@
* limitations under the License.
*/
/**
- * Autogenerated by Thrift Compiler (0.11.0)
+ * Autogenerated by Thrift Compiler (0.12.0)
*
* DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
* @generated
@@ -24,7 +24,7 @@
package org.apache.storm.generated;
@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked", "unused"})
-@javax.annotation.Generated(value = "Autogenerated by Thrift Compiler (0.11.0)")
+@javax.annotation.Generated(value = "Autogenerated by Thrift Compiler (0.12.0)")
public class Credentials implements org.apache.storm.thrift.TBase<Credentials, Credentials._Fields>, java.io.Serializable, Cloneable, Comparable<Credentials> {
private static final org.apache.storm.thrift.protocol.TStruct STRUCT_DESC = new org.apache.storm.thrift.protocol.TStruct("Credentials");
@@ -34,8 +34,8 @@ public class Credentials implements org.apache.storm.thrift.TBase<Credentials, C
private static final org.apache.storm.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new CredentialsStandardSchemeFactory();
private static final org.apache.storm.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new CredentialsTupleSchemeFactory();
- private java.util.Map<java.lang.String,java.lang.String> creds; // required
- private java.lang.String topoOwner; // optional
+ private @org.apache.storm.thrift.annotation.Nullable java.util.Map<java.lang.String,java.lang.String> creds; // required
+ private @org.apache.storm.thrift.annotation.Nullable java.lang.String topoOwner; // optional
/** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
public enum _Fields implements org.apache.storm.thrift.TFieldIdEnum {
@@ -53,6 +53,7 @@ public class Credentials implements org.apache.storm.thrift.TBase<Credentials, C
/**
* Find the _Fields constant that matches fieldId, or null if its not found.
*/
+ @org.apache.storm.thrift.annotation.Nullable
public static _Fields findByThriftId(int fieldId) {
switch(fieldId) {
case 1: // CREDS
@@ -77,6 +78,7 @@ public class Credentials implements org.apache.storm.thrift.TBase<Credentials, C
/**
* Find the _Fields constant that matches name, or null if its not found.
*/
+ @org.apache.storm.thrift.annotation.Nullable
public static _Fields findByName(java.lang.String name) {
return byName.get(name);
}
@@ -157,11 +159,12 @@ public class Credentials implements org.apache.storm.thrift.TBase<Credentials, C
this.creds.put(key, val);
}
+ @org.apache.storm.thrift.annotation.Nullable
public java.util.Map<java.lang.String,java.lang.String> get_creds() {
return this.creds;
}
- public void set_creds(java.util.Map<java.lang.String,java.lang.String> creds) {
+ public void set_creds(@org.apache.storm.thrift.annotation.Nullable java.util.Map<java.lang.String,java.lang.String> creds) {
this.creds = creds;
}
@@ -180,11 +183,12 @@ public class Credentials implements org.apache.storm.thrift.TBase<Credentials, C
}
}
+ @org.apache.storm.thrift.annotation.Nullable
public java.lang.String get_topoOwner() {
return this.topoOwner;
}
- public void set_topoOwner(java.lang.String topoOwner) {
+ public void set_topoOwner(@org.apache.storm.thrift.annotation.Nullable java.lang.String topoOwner) {
this.topoOwner = topoOwner;
}
@@ -203,7 +207,7 @@ public class Credentials implements org.apache.storm.thrift.TBase<Credentials, C
}
}
- public void setFieldValue(_Fields field, java.lang.Object value) {
+ public void setFieldValue(_Fields field, @org.apache.storm.thrift.annotation.Nullable java.lang.Object value) {
switch (field) {
case CREDS:
if (value == null) {
@@ -224,6 +228,7 @@ public class Credentials implements org.apache.storm.thrift.TBase<Credentials, C
}
}
+ @org.apache.storm.thrift.annotation.Nullable
public java.lang.Object getFieldValue(_Fields field) {
switch (field) {
case CREDS:
@@ -333,6 +338,7 @@ public class Credentials implements org.apache.storm.thrift.TBase<Credentials, C
return 0;
}
+ @org.apache.storm.thrift.annotation.Nullable
public _Fields fieldForId(int fieldId) {
return _Fields.findByThriftId(fieldId);
}
@@ -419,8 +425,8 @@ public class Credentials implements org.apache.storm.thrift.TBase<Credentials, C
{
org.apache.storm.thrift.protocol.TMap _map596 = iprot.readMapBegin();
struct.creds = new java.util.HashMap<java.lang.String,java.lang.String>(2*_map596.size);
- java.lang.String _key597;
- java.lang.String _val598;
+ @org.apache.storm.thrift.annotation.Nullable java.lang.String _key597;
+ @org.apache.storm.thrift.annotation.Nullable java.lang.String _val598;
for (int _i599 = 0; _i599 < _map596.size; ++_i599)
{
_key597 = iprot.readString();
@@ -516,8 +522,8 @@ public class Credentials implements org.apache.storm.thrift.TBase<Credentials, C
{
org.apache.storm.thrift.protocol.TMap _map602 = new org.apache.storm.thrift.protocol.TMap(org.apache.storm.thrift.protocol.TType.STRING, org.apache.storm.thrift.protocol.TType.STRING, iprot.readI32());
struct.creds = new java.util.HashMap<java.lang.String,java.lang.String>(2*_map602.size);
- java.lang.String _key603;
- java.lang.String _val604;
+ @org.apache.storm.thrift.annotation.Nullable java.lang.String _key603;
+ @org.apache.storm.thrift.annotation.Nullable java.lang.String _val604;
for (int _i605 = 0; _i605 < _map602.size; ++_i605)
{
_key603 = iprot.readString();
diff --git a/storm-client/src/jvm/org/apache/storm/generated/DRPCExceptionType.java b/storm-client/src/jvm/org/apache/storm/generated/DRPCExceptionType.java
index a83e84c..78ade53 100644
--- a/storm-client/src/jvm/org/apache/storm/generated/DRPCExceptionType.java
+++ b/storm-client/src/jvm/org/apache/storm/generated/DRPCExceptionType.java
@@ -16,7 +16,7 @@
* limitations under the License.
*/
/**
- * Autogenerated by Thrift Compiler (0.11.0)
+ * Autogenerated by Thrift Compiler (0.12.0)
*
* DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
* @generated
@@ -24,6 +24,7 @@
package org.apache.storm.generated;
+@javax.annotation.Generated(value = "Autogenerated by Thrift Compiler (0.12.0)")
public enum DRPCExceptionType implements org.apache.storm.thrift.TEnum {
INTERNAL_ERROR(0),
SERVER_SHUTDOWN(1),
@@ -47,6 +48,7 @@ public enum DRPCExceptionType implements org.apache.storm.thrift.TEnum {
* Find a the enum type by its integer value, as defined in the Thrift IDL.
* @return null if the value is not found.
*/
+ @org.apache.storm.thrift.annotation.Nullable
public static DRPCExceptionType findByValue(int value) {
switch (value) {
case 0:
diff --git a/storm-client/src/jvm/org/apache/storm/generated/DRPCExecutionException.java b/storm-client/src/jvm/org/apache/storm/generated/DRPCExecutionException.java
index d5dbd2e..4fdd1d5 100644
--- a/storm-client/src/jvm/org/apache/storm/generated/DRPCExecutionException.java
+++ b/storm-client/src/jvm/org/apache/storm/generated/DRPCExecutionException.java
@@ -16,7 +16,7 @@
* limitations under the License.
*/
/**
- * Autogenerated by Thrift Compiler (0.11.0)
+ * Autogenerated by Thrift Compiler (0.12.0)
*
* DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
* @generated
@@ -24,7 +24,7 @@
package org.apache.storm.generated;
@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked", "unused"})
-@javax.annotation.Generated(value = "Autogenerated by Thrift Compiler (0.11.0)")
+@javax.annotation.Generated(value = "Autogenerated by Thrift Compiler (0.12.0)")
public class DRPCExecutionException extends org.apache.storm.thrift.TException implements org.apache.storm.thrift.TBase<DRPCExecutionException, DRPCExecutionException._Fields>, java.io.Serializable, Cloneable, Comparable<DRPCExecutionException> {
private static final org.apache.storm.thrift.protocol.TStruct STRUCT_DESC = new org.apache.storm.thrift.protocol.TStruct("DRPCExecutionException");
@@ -34,8 +34,8 @@ public class DRPCExecutionException extends org.apache.storm.thrift.TException i
private static final org.apache.storm.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new DRPCExecutionExceptionStandardSchemeFactory();
private static final org.apache.storm.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new DRPCExecutionExceptionTupleSchemeFactory();
- private java.lang.String msg; // required
- private DRPCExceptionType type; // optional
+ private @org.apache.storm.thrift.annotation.Nullable java.lang.String msg; // required
+ private @org.apache.storm.thrift.annotation.Nullable DRPCExceptionType type; // optional
/** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
public enum _Fields implements org.apache.storm.thrift.TFieldIdEnum {
@@ -57,6 +57,7 @@ public class DRPCExecutionException extends org.apache.storm.thrift.TException i
/**
* Find the _Fields constant that matches fieldId, or null if its not found.
*/
+ @org.apache.storm.thrift.annotation.Nullable
public static _Fields findByThriftId(int fieldId) {
switch(fieldId) {
case 1: // MSG
@@ -81,6 +82,7 @@ public class DRPCExecutionException extends org.apache.storm.thrift.TException i
/**
* Find the _Fields constant that matches name, or null if its not found.
*/
+ @org.apache.storm.thrift.annotation.Nullable
public static _Fields findByName(java.lang.String name) {
return byName.get(name);
}
@@ -147,11 +149,12 @@ public class DRPCExecutionException extends org.apache.storm.thrift.TException i
this.type = null;
}
+ @org.apache.storm.thrift.annotation.Nullable
public java.lang.String get_msg() {
return this.msg;
}
- public void set_msg(java.lang.String msg) {
+ public void set_msg(@org.apache.storm.thrift.annotation.Nullable java.lang.String msg) {
this.msg = msg;
}
@@ -174,6 +177,7 @@ public class DRPCExecutionException extends org.apache.storm.thrift.TException i
*
* @see DRPCExceptionType
*/
+ @org.apache.storm.thrift.annotation.Nullable
public DRPCExceptionType get_type() {
return this.type;
}
@@ -182,7 +186,7 @@ public class DRPCExecutionException extends org.apache.storm.thrift.TException i
*
* @see DRPCExceptionType
*/
- public void set_type(DRPCExceptionType type) {
+ public void set_type(@org.apache.storm.thrift.annotation.Nullable DRPCExceptionType type) {
this.type = type;
}
@@ -201,7 +205,7 @@ public class DRPCExecutionException extends org.apache.storm.thrift.TException i
}
}
- public void setFieldValue(_Fields field, java.lang.Object value) {
+ public void setFieldValue(_Fields field, @org.apache.storm.thrift.annotation.Nullable java.lang.Object value) {
switch (field) {
case MSG:
if (value == null) {
@@ -222,6 +226,7 @@ public class DRPCExecutionException extends org.apache.storm.thrift.TException i
}
}
+ @org.apache.storm.thrift.annotation.Nullable
public java.lang.Object getFieldValue(_Fields field) {
switch (field) {
case MSG:
@@ -331,6 +336,7 @@ public class DRPCExecutionException extends org.apache.storm.thrift.TException i
return 0;
}
+ @org.apache.storm.thrift.annotation.Nullable
public _Fields fieldForId(int fieldId) {
return _Fields.findByThriftId(fieldId);
}
diff --git a/storm-client/src/jvm/org/apache/storm/generated/DRPCRequest.java b/storm-client/src/jvm/org/apache/storm/generated/DRPCRequest.java
index 4cb1ec4..39f42da 100644
--- a/storm-client/src/jvm/org/apache/storm/generated/DRPCRequest.java
+++ b/storm-client/src/jvm/org/apache/storm/generated/DRPCRequest.java
@@ -16,7 +16,7 @@
* limitations under the License.
*/
/**
- * Autogenerated by Thrift Compiler (0.11.0)
+ * Autogenerated by Thrift Compiler (0.12.0)
*
* DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
* @generated
@@ -24,7 +24,7 @@
package org.apache.storm.generated;
@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked", "unused"})
-@javax.annotation.Generated(value = "Autogenerated by Thrift Compiler (0.11.0)")
+@javax.annotation.Generated(value = "Autogenerated by Thrift Compiler (0.12.0)")
public class DRPCRequest implements org.apache.storm.thrift.TBase<DRPCRequest, DRPCRequest._Fields>, java.io.Serializable, Cloneable, Comparable<DRPCRequest> {
private static final org.apache.storm.thrift.protocol.TStruct STRUCT_DESC = new org.apache.storm.thrift.protocol.TStruct("DRPCRequest");
@@ -34,8 +34,8 @@ public class DRPCRequest implements org.apache.storm.thrift.TBase<DRPCRequest, D
private static final org.apache.storm.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new DRPCRequestStandardSchemeFactory();
private static final org.apache.storm.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new DRPCRequestTupleSchemeFactory();
- private java.lang.String func_args; // required
- private java.lang.String request_id; // required
+ private @org.apache.storm.thrift.annotation.Nullable java.lang.String func_args; // required
+ private @org.apache.storm.thrift.annotation.Nullable java.lang.String request_id; // required
/** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
public enum _Fields implements org.apache.storm.thrift.TFieldIdEnum {
@@ -53,6 +53,7 @@ public class DRPCRequest implements org.apache.storm.thrift.TBase<DRPCRequest, D
/**
* Find the _Fields constant that matches fieldId, or null if its not found.
*/
+ @org.apache.storm.thrift.annotation.Nullable
public static _Fields findByThriftId(int fieldId) {
switch(fieldId) {
case 1: // FUNC_ARGS
@@ -77,6 +78,7 @@ public class DRPCRequest implements org.apache.storm.thrift.TBase<DRPCRequest, D
/**
* Find the _Fields constant that matches name, or null if its not found.
*/
+ @org.apache.storm.thrift.annotation.Nullable
public static _Fields findByName(java.lang.String name) {
return byName.get(name);
}
@@ -144,11 +146,12 @@ public class DRPCRequest implements org.apache.storm.thrift.TBase<DRPCRequest, D
this.request_id = null;
}
+ @org.apache.storm.thrift.annotation.Nullable
public java.lang.String get_func_args() {
return this.func_args;
}
- public void set_func_args(java.lang.String func_args) {
+ public void set_func_args(@org.apache.storm.thrift.annotation.Nullable java.lang.String func_args) {
this.func_args = func_args;
}
@@ -167,11 +170,12 @@ public class DRPCRequest implements org.apache.storm.thrift.TBase<DRPCRequest, D
}
}
+ @org.apache.storm.thrift.annotation.Nullable
public java.lang.String get_request_id() {
return this.request_id;
}
- public void set_request_id(java.lang.String request_id) {
+ public void set_request_id(@org.apache.storm.thrift.annotation.Nullable java.lang.String request_id) {
this.request_id = request_id;
}
@@ -190,7 +194,7 @@ public class DRPCRequest implements org.apache.storm.thrift.TBase<DRPCRequest, D
}
}
- public void setFieldValue(_Fields field, java.lang.Object value) {
+ public void setFieldValue(_Fields field, @org.apache.storm.thrift.annotation.Nullable java.lang.Object value) {
switch (field) {
case FUNC_ARGS:
if (value == null) {
@@ -211,6 +215,7 @@ public class DRPCRequest implements org.apache.storm.thrift.TBase<DRPCRequest, D
}
}
+ @org.apache.storm.thrift.annotation.Nullable
public java.lang.Object getFieldValue(_Fields field) {
switch (field) {
case FUNC_ARGS:
@@ -320,6 +325,7 @@ public class DRPCRequest implements org.apache.storm.thrift.TBase<DRPCRequest, D
return 0;
}
+ @org.apache.storm.thrift.annotation.Nullable
public _Fields fieldForId(int fieldId) {
return _Fields.findByThriftId(fieldId);
}
diff --git a/storm-client/src/jvm/org/apache/storm/generated/DebugOptions.java b/storm-client/src/jvm/org/apache/storm/generated/DebugOptions.java
index d78689c..20554c3 100644
--- a/storm-client/src/jvm/org/apache/storm/generated/DebugOptions.java
+++ b/storm-client/src/jvm/org/apache/storm/generated/DebugOptions.java
@@ -16,7 +16,7 @@
* limitations under the License.
*/
/**
- * Autogenerated by Thrift Compiler (0.11.0)
+ * Autogenerated by Thrift Compiler (0.12.0)
*
* DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
* @generated
@@ -24,7 +24,7 @@
package org.apache.storm.generated;
@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked", "unused"})
-@javax.annotation.Generated(value = "Autogenerated by Thrift Compiler (0.11.0)")
+@javax.annotation.Generated(value = "Autogenerated by Thrift Compiler (0.12.0)")
public class DebugOptions implements org.apache.storm.thrift.TBase<DebugOptions, DebugOptions._Fields>, java.io.Serializable, Cloneable, Comparable<DebugOptions> {
private static final org.apache.storm.thrift.protocol.TStruct STRUCT_DESC = new org.apache.storm.thrift.protocol.TStruct("DebugOptions");
@@ -53,6 +53,7 @@ public class DebugOptions implements org.apache.storm.thrift.TBase<DebugOptions,
/**
* Find the _Fields constant that matches fieldId, or null if its not found.
*/
+ @org.apache.storm.thrift.annotation.Nullable
public static _Fields findByThriftId(int fieldId) {
switch(fieldId) {
case 1: // ENABLE
@@ -77,6 +78,7 @@ public class DebugOptions implements org.apache.storm.thrift.TBase<DebugOptions,
/**
* Find the _Fields constant that matches name, or null if its not found.
*/
+ @org.apache.storm.thrift.annotation.Nullable
public static _Fields findByName(java.lang.String name) {
return byName.get(name);
}
@@ -182,7 +184,7 @@ public class DebugOptions implements org.apache.storm.thrift.TBase<DebugOptions,
__isset_bitfield = org.apache.storm.thrift.EncodingUtils.setBit(__isset_bitfield, __SAMPLINGPCT_ISSET_ID, value);
}
- public void setFieldValue(_Fields field, java.lang.Object value) {
+ public void setFieldValue(_Fields field, @org.apache.storm.thrift.annotation.Nullable java.lang.Object value) {
switch (field) {
case ENABLE:
if (value == null) {
@@ -203,6 +205,7 @@ public class DebugOptions implements org.apache.storm.thrift.TBase<DebugOptions,
}
}
+ @org.apache.storm.thrift.annotation.Nullable
public java.lang.Object getFieldValue(_Fields field) {
switch (field) {
case ENABLE:
@@ -312,6 +315,7 @@ public class DebugOptions implements org.apache.storm.thrift.TBase<DebugOptions,
return 0;
}
+ @org.apache.storm.thrift.annotation.Nullable
public _Fields fieldForId(int fieldId) {
return _Fields.findByThriftId(fieldId);
}
diff --git a/storm-client/src/jvm/org/apache/storm/generated/DistributedRPC.java b/storm-client/src/jvm/org/apache/storm/generated/DistributedRPC.java
index 117259b..3841bc6 100644
--- a/storm-client/src/jvm/org/apache/storm/generated/DistributedRPC.java
+++ b/storm-client/src/jvm/org/apache/storm/generated/DistributedRPC.java
@@ -16,7 +16,7 @@
* limitations under the License.
*/
/**
- * Autogenerated by Thrift Compiler (0.11.0)
+ * Autogenerated by Thrift Compiler (0.12.0)
*
* DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
* @generated
@@ -24,7 +24,7 @@
package org.apache.storm.generated;
@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked", "unused"})
-@javax.annotation.Generated(value = "Autogenerated by Thrift Compiler (0.11.0)")
+@javax.annotation.Generated(value = "Autogenerated by Thrift Compiler (0.12.0)")
public class DistributedRPC {
public interface Iface {
@@ -173,7 +173,7 @@ public class DistributedRPC {
}
@Override
- protected boolean handleRuntimeExceptions() {
+ protected boolean rethrowUnhandledExceptions() {
return false;
}
@@ -287,8 +287,8 @@ public class DistributedRPC {
private static final org.apache.storm.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new execute_argsStandardSchemeFactory();
private static final org.apache.storm.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new execute_argsTupleSchemeFactory();
- private java.lang.String functionName; // required
- private java.lang.String funcArgs; // required
+ private @org.apache.storm.thrift.annotation.Nullable java.lang.String functionName; // required
+ private @org.apache.storm.thrift.annotation.Nullable java.lang.String funcArgs; // required
/** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
public enum _Fields implements org.apache.storm.thrift.TFieldIdEnum {
@@ -306,6 +306,7 @@ public class DistributedRPC {
/**
* Find the _Fields constant that matches fieldId, or null if its not found.
*/
+ @org.apache.storm.thrift.annotation.Nullable
public static _Fields findByThriftId(int fieldId) {
switch(fieldId) {
case 1: // FUNCTION_NAME
@@ -330,6 +331,7 @@ public class DistributedRPC {
/**
* Find the _Fields constant that matches name, or null if its not found.
*/
+ @org.apache.storm.thrift.annotation.Nullable
public static _Fields findByName(java.lang.String name) {
return byName.get(name);
}
@@ -397,11 +399,12 @@ public class DistributedRPC {
this.funcArgs = null;
}
+ @org.apache.storm.thrift.annotation.Nullable
public java.lang.String get_functionName() {
return this.functionName;
}
- public void set_functionName(java.lang.String functionName) {
+ public void set_functionName(@org.apache.storm.thrift.annotation.Nullable java.lang.String functionName) {
this.functionName = functionName;
}
@@ -420,11 +423,12 @@ public class DistributedRPC {
}
}
+ @org.apache.storm.thrift.annotation.Nullable
public java.lang.String get_funcArgs() {
return this.funcArgs;
}
- public void set_funcArgs(java.lang.String funcArgs) {
+ public void set_funcArgs(@org.apache.storm.thrift.annotation.Nullable java.lang.String funcArgs) {
this.funcArgs = funcArgs;
}
@@ -443,7 +447,7 @@ public class DistributedRPC {
}
}
- public void setFieldValue(_Fields field, java.lang.Object value) {
+ public void setFieldValue(_Fields field, @org.apache.storm.thrift.annotation.Nullable java.lang.Object value) {
switch (field) {
case FUNCTION_NAME:
if (value == null) {
@@ -464,6 +468,7 @@ public class DistributedRPC {
}
}
+ @org.apache.storm.thrift.annotation.Nullable
public java.lang.Object getFieldValue(_Fields field) {
switch (field) {
case FUNCTION_NAME:
@@ -573,6 +578,7 @@ public class DistributedRPC {
return 0;
}
+ @org.apache.storm.thrift.annotation.Nullable
public _Fields fieldForId(int fieldId) {
return _Fields.findByThriftId(fieldId);
}
@@ -750,9 +756,9 @@ public class DistributedRPC {
private static final org.apache.storm.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new execute_resultStandardSchemeFactory();
private static final org.apache.storm.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new execute_resultTupleSchemeFactory();
- private java.lang.String success; // required
- private DRPCExecutionException e; // required
- private AuthorizationException aze; // required
+ private @org.apache.storm.thrift.annotation.Nullable java.lang.String success; // required
+ private @org.apache.storm.thrift.annotation.Nullable DRPCExecutionException e; // required
+ private @org.apache.storm.thrift.annotation.Nullable AuthorizationException aze; // required
/** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
public enum _Fields implements org.apache.storm.thrift.TFieldIdEnum {
@@ -771,6 +777,7 @@ public class DistributedRPC {
/**
* Find the _Fields constant that matches fieldId, or null if its not found.
*/
+ @org.apache.storm.thrift.annotation.Nullable
public static _Fields findByThriftId(int fieldId) {
switch(fieldId) {
case 0: // SUCCESS
@@ -797,6 +804,7 @@ public class DistributedRPC {
/**
* Find the _Fields constant that matches name, or null if its not found.
*/
+ @org.apache.storm.thrift.annotation.Nullable
public static _Fields findByName(java.lang.String name) {
return byName.get(name);
}
@@ -872,11 +880,12 @@ public class DistributedRPC {
this.aze = null;
}
+ @org.apache.storm.thrift.annotation.Nullable
public java.lang.String get_success() {
return this.success;
}
- public void set_success(java.lang.String success) {
+ public void set_success(@org.apache.storm.thrift.annotation.Nullable java.lang.String success) {
this.success = success;
}
@@ -895,11 +904,12 @@ public class DistributedRPC {
}
}
+ @org.apache.storm.thrift.annotation.Nullable
public DRPCExecutionException get_e() {
return this.e;
}
- public void set_e(DRPCExecutionException e) {
+ public void set_e(@org.apache.storm.thrift.annotation.Nullable DRPCExecutionException e) {
this.e = e;
}
@@ -918,11 +928,12 @@ public class DistributedRPC {
}
}
+ @org.apache.storm.thrift.annotation.Nullable
public AuthorizationException get_aze() {
return this.aze;
}
- public void set_aze(AuthorizationException aze) {
+ public void set_aze(@org.apache.storm.thrift.annotation.Nullable AuthorizationException aze) {
this.aze = aze;
}
@@ -941,7 +952,7 @@ public class DistributedRPC {
}
}
- public void setFieldValue(_Fields field, java.lang.Object value) {
+ public void setFieldValue(_Fields field, @org.apache.storm.thrift.annotation.Nullable java.lang.Object value) {
switch (field) {
case SUCCESS:
if (value == null) {
@@ -970,6 +981,7 @@ public class DistributedRPC {
}
}
+ @org.apache.storm.thrift.annotation.Nullable
public java.lang.Object getFieldValue(_Fields field) {
switch (field) {
case SUCCESS:
@@ -1107,6 +1119,7 @@ public class DistributedRPC {
return 0;
}
+ @org.apache.storm.thrift.annotation.Nullable
public _Fields fieldForId(int fieldId) {
return _Fields.findByThriftId(fieldId);
}
diff --git a/storm-client/src/jvm/org/apache/storm/generated/DistributedRPCInvocations.java b/storm-client/src/jvm/org/apache/storm/generated/DistributedRPCInvocations.java
index 79199c3..867d403 100644
--- a/storm-client/src/jvm/org/apache/storm/generated/DistributedRPCInvocations.java
+++ b/storm-client/src/jvm/org/apache/storm/generated/DistributedRPCInvocations.java
@@ -16,7 +16,7 @@
* limitations under the License.
*/
/**
- * Autogenerated by Thrift Compiler (0.11.0)
+ * Autogenerated by Thrift Compiler (0.12.0)
*
* DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
* @generated
@@ -24,7 +24,7 @@
package org.apache.storm.generated;
@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked", "unused"})
-@javax.annotation.Generated(value = "Autogenerated by Thrift Compiler (0.11.0)")
+@javax.annotation.Generated(value = "Autogenerated by Thrift Compiler (0.12.0)")
public class DistributedRPCInvocations {
public interface Iface {
@@ -354,7 +354,7 @@ public class DistributedRPCInvocations {
}
@Override
- protected boolean handleRuntimeExceptions() {
+ protected boolean rethrowUnhandledExceptions() {
return false;
}
@@ -383,7 +383,7 @@ public class DistributedRPCInvocations {
}
@Override
- protected boolean handleRuntimeExceptions() {
+ protected boolean rethrowUnhandledExceptions() {
return false;
}
@@ -412,7 +412,7 @@ public class DistributedRPCInvocations {
}
@Override
- protected boolean handleRuntimeExceptions() {
+ protected boolean rethrowUnhandledExceptions() {
return false;
}
@@ -441,7 +441,7 @@ public class DistributedRPCInvocations {
}
@Override
- protected boolean handleRuntimeExceptions() {
+ protected boolean rethrowUnhandledExceptions() {
return false;
}
@@ -744,8 +744,8 @@ public class DistributedRPCInvocations {
private static final org.apache.storm.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new result_argsStandardSchemeFactory();
private static final org.apache.storm.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new result_argsTupleSchemeFactory();
- private java.lang.String id; // required
- private java.lang.String result; // required
+ private @org.apache.storm.thrift.annotation.Nullable java.lang.String id; // required
+ private @org.apache.storm.thrift.annotation.Nullable java.lang.String result; // required
/** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
public enum _Fields implements org.apache.storm.thrift.TFieldIdEnum {
@@ -763,6 +763,7 @@ public class DistributedRPCInvocations {
/**
* Find the _Fields constant that matches fieldId, or null if its not found.
*/
+ @org.apache.storm.thrift.annotation.Nullable
public static _Fields findByThriftId(int fieldId) {
switch(fieldId) {
case 1: // ID
@@ -787,6 +788,7 @@ public class DistributedRPCInvocations {
/**
* Find the _Fields constant that matches name, or null if its not found.
*/
+ @org.apache.storm.thrift.annotation.Nullable
public static _Fields findByName(java.lang.String name) {
return byName.get(name);
}
@@ -854,11 +856,12 @@ public class DistributedRPCInvocations {
this.result = null;
}
+ @org.apache.storm.thrift.annotation.Nullable
public java.lang.String get_id() {
return this.id;
}
- public void set_id(java.lang.String id) {
+ public void set_id(@org.apache.storm.thrift.annotation.Nullable java.lang.String id) {
this.id = id;
}
@@ -877,11 +880,12 @@ public class DistributedRPCInvocations {
}
}
+ @org.apache.storm.thrift.annotation.Nullable
public java.lang.String get_result() {
return this.result;
}
- public void set_result(java.lang.String result) {
+ public void set_result(@org.apache.storm.thrift.annotation.Nullable java.lang.String result) {
this.result = result;
}
@@ -900,7 +904,7 @@ public class DistributedRPCInvocations {
}
}
- public void setFieldValue(_Fields field, java.lang.Object value) {
+ public void setFieldValue(_Fields field, @org.apache.storm.thrift.annotation.Nullable java.lang.Object value) {
switch (field) {
case ID:
if (value == null) {
@@ -921,6 +925,7 @@ public class DistributedRPCInvocations {
}
}
+ @org.apache.storm.thrift.annotation.Nullable
public java.lang.Object getFieldValue(_Fields field) {
switch (field) {
case ID:
@@ -1030,6 +1035,7 @@ public class DistributedRPCInvocations {
return 0;
}
+ @org.apache.storm.thrift.annotation.Nullable
public _Fields fieldForId(int fieldId) {
return _Fields.findByThriftId(fieldId);
}
@@ -1205,7 +1211,7 @@ public class DistributedRPCInvocations {
private static final org.apache.storm.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new result_resultStandardSchemeFactory();
private static final org.apache.storm.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new result_resultTupleSchemeFactory();
- private AuthorizationException aze; // required
+ private @org.apache.storm.thrift.annotation.Nullable AuthorizationException aze; // required
/** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
public enum _Fields implements org.apache.storm.thrift.TFieldIdEnum {
@@ -1222,6 +1228,7 @@ public class DistributedRPCInvocations {
/**
* Find the _Fields constant that matches fieldId, or null if its not found.
*/
+ @org.apache.storm.thrift.annotation.Nullable
public static _Fields findByThriftId(int fieldId) {
switch(fieldId) {
case 1: // AZE
@@ -1244,6 +1251,7 @@ public class DistributedRPCInvocations {
/**
* Find the _Fields constant that matches name, or null if its not found.
*/
+ @org.apache.storm.thrift.annotation.Nullable
public static _Fields findByName(java.lang.String name) {
return byName.get(name);
}
@@ -1303,11 +1311,12 @@ public class DistributedRPCInvocations {
this.aze = null;
}
+ @org.apache.storm.thrift.annotation.Nullable
public AuthorizationException get_aze() {
return this.aze;
}
- public void set_aze(AuthorizationException aze) {
+ public void set_aze(@org.apache.storm.thrift.annotation.Nullable AuthorizationException aze) {
this.aze = aze;
}
@@ -1326,7 +1335,7 @@ public class DistributedRPCInvocations {
}
}
- public void setFieldValue(_Fields field, java.lang.Object value) {
+ public void setFieldValue(_Fields field, @org.apache.storm.thrift.annotation.Nullable java.lang.Object value) {
switch (field) {
case AZE:
if (value == null) {
@@ -1339,6 +1348,7 @@ public class DistributedRPCInvocations {
}
}
+ @org.apache.storm.thrift.annotation.Nullable
public java.lang.Object getFieldValue(_Fields field) {
switch (field) {
case AZE:
@@ -1420,6 +1430,7 @@ public class DistributedRPCInvocations {
return 0;
}
+ @org.apache.storm.thrift.annotation.Nullable
public _Fields fieldForId(int fieldId) {
return _Fields.findByThriftId(fieldId);
}
@@ -1566,7 +1577,7 @@ public class DistributedRPCInvocations {
private static final org.apache.storm.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new fetchRequest_argsStandardSchemeFactory();
private static final org.apache.storm.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new fetchRequest_argsTupleSchemeFactory();
- private java.lang.String functionName; // required
+ private @org.apache.storm.thrift.annotation.Nullable java.lang.String functionName; // required
/** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
public enum _Fields implements org.apache.storm.thrift.TFieldIdEnum {
@@ -1583,6 +1594,7 @@ public class DistributedRPCInvocations {
/**
* Find the _Fields constant that matches fieldId, or null if its not found.
*/
+ @org.apache.storm.thrift.annotation.Nullable
public static _Fields findByThriftId(int fieldId) {
switch(fieldId) {
case 1: // FUNCTION_NAME
@@ -1605,6 +1617,7 @@ public class DistributedRPCInvocations {
/**
* Find the _Fields constant that matches name, or null if its not found.
*/
+ @org.apache.storm.thrift.annotation.Nullable
public static _Fields findByName(java.lang.String name) {
return byName.get(name);
}
@@ -1664,11 +1677,12 @@ public class DistributedRPCInvocations {
this.functionName = null;
}
+ @org.apache.storm.thrift.annotation.Nullable
public java.lang.String get_functionName() {
return this.functionName;
}
- public void set_functionName(java.lang.String functionName) {
+ public void set_functionName(@org.apache.storm.thrift.annotation.Nullable java.lang.String functionName) {
this.functionName = functionName;
}
@@ -1687,7 +1701,7 @@ public class DistributedRPCInvocations {
}
}
- public void setFieldValue(_Fields field, java.lang.Object value) {
+ public void setFieldValue(_Fields field, @org.apache.storm.thrift.annotation.Nullable java.lang.Object value) {
switch (field) {
case FUNCTION_NAME:
if (value == null) {
@@ -1700,6 +1714,7 @@ public class DistributedRPCInvocations {
}
}
+ @org.apache.storm.thrift.annotation.Nullable
public java.lang.Object getFieldValue(_Fields field) {
switch (field) {
case FUNCTION_NAME:
@@ -1781,6 +1796,7 @@ public class DistributedRPCInvocations {
return 0;
}
+ @org.apache.storm.thrift.annotation.Nullable
public _Fields fieldForId(int fieldId) {
return _Fields.findByThriftId(fieldId);
}
@@ -1926,8 +1942,8 @@ public class DistributedRPCInvocations {
private static final org.apache.storm.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new fetchRequest_resultStandardSchemeFactory();
private static final org.apache.storm.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new fetchRequest_resultTupleSchemeFactory();
- private DRPCRequest success; // required
- private AuthorizationException aze; // required
+ private @org.apache.storm.thrift.annotation.Nullable DRPCRequest success; // required
+ private @org.apache.storm.thrift.annotation.Nullable AuthorizationException aze; // required
/** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
public enum _Fields implements org.apache.storm.thrift.TFieldIdEnum {
@@ -1945,6 +1961,7 @@ public class DistributedRPCInvocations {
/**
* Find the _Fields constant that matches fieldId, or null if its not found.
*/
+ @org.apache.storm.thrift.annotation.Nullable
public static _Fields findByThriftId(int fieldId) {
switch(fieldId) {
case 0: // SUCCESS
@@ -1969,6 +1986,7 @@ public class DistributedRPCInvocations {
/**
* Find the _Fields constant that matches name, or null if its not found.
*/
+ @org.apache.storm.thrift.annotation.Nullable
public static _Fields findByName(java.lang.String name) {
return byName.get(name);
}
@@ -2036,11 +2054,12 @@ public class DistributedRPCInvocations {
this.aze = null;
}
+ @org.apache.storm.thrift.annotation.Nullable
public DRPCRequest get_success() {
return this.success;
}
- public void set_success(DRPCRequest success) {
+ public void set_success(@org.apache.storm.thrift.annotation.Nullable DRPCRequest success) {
this.success = success;
}
@@ -2059,11 +2078,12 @@ public class DistributedRPCInvocations {
}
}
+ @org.apache.storm.thrift.annotation.Nullable
public AuthorizationException get_aze() {
return this.aze;
}
- public void set_aze(AuthorizationException aze) {
+ public void set_aze(@org.apache.storm.thrift.annotation.Nullable AuthorizationException aze) {
this.aze = aze;
}
@@ -2082,7 +2102,7 @@ public class DistributedRPCInvocations {
}
}
- public void setFieldValue(_Fields field, java.lang.Object value) {
+ public void setFieldValue(_Fields field, @org.apache.storm.thrift.annotation.Nullable java.lang.Object value) {
switch (field) {
case SUCCESS:
if (value == null) {
@@ -2103,6 +2123,7 @@ public class DistributedRPCInvocations {
}
}
+ @org.apache.storm.thrift.annotation.Nullable
public java.lang.Object getFieldValue(_Fields field) {
switch (field) {
case SUCCESS:
@@ -2212,6 +2233,7 @@ public class DistributedRPCInvocations {
return 0;
}
+ @org.apache.storm.thrift.annotation.Nullable
public _Fields fieldForId(int fieldId) {
return _Fields.findByThriftId(fieldId);
}
@@ -2394,7 +2416,7 @@ public class DistributedRPCInvocations {
private static final org.apache.storm.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new failRequest_argsStandardSchemeFactory();
private static final org.apache.storm.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new failRequest_argsTupleSchemeFactory();
- private java.lang.String id; // required
+ private @org.apache.storm.thrift.annotation.Nullable java.lang.String id; // required
/** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
public enum _Fields implements org.apache.storm.thrift.TFieldIdEnum {
@@ -2411,6 +2433,7 @@ public class DistributedRPCInvocations {
/**
* Find the _Fields constant that matches fieldId, or null if its not found.
*/
+ @org.apache.storm.thrift.annotation.Nullable
public static _Fields findByThriftId(int fieldId) {
switch(fieldId) {
case 1: // ID
@@ -2433,6 +2456,7 @@ public class DistributedRPCInvocations {
/**
* Find the _Fields constant that matches name, or null if its not found.
*/
+ @org.apache.storm.thrift.annotation.Nullable
public static _Fields findByName(java.lang.String name) {
return byName.get(name);
}
@@ -2492,11 +2516,12 @@ public class DistributedRPCInvocations {
this.id = null;
}
+ @org.apache.storm.thrift.annotation.Nullable
public java.lang.String get_id() {
return this.id;
}
- public void set_id(java.lang.String id) {
+ public void set_id(@org.apache.storm.thrift.annotation.Nullable java.lang.String id) {
this.id = id;
}
@@ -2515,7 +2540,7 @@ public class DistributedRPCInvocations {
}
}
- public void setFieldValue(_Fields field, java.lang.Object value) {
+ public void setFieldValue(_Fields field, @org.apache.storm.thrift.annotation.Nullable java.lang.Object value) {
switch (field) {
case ID:
if (value == null) {
@@ -2528,6 +2553,7 @@ public class DistributedRPCInvocations {
}
}
+ @org.apache.storm.thrift.annotation.Nullable
public java.lang.Object getFieldValue(_Fields field) {
switch (field) {
case ID:
@@ -2609,6 +2635,7 @@ public class DistributedRPCInvocations {
return 0;
}
+ @org.apache.storm.thrift.annotation.Nullable
public _Fields fieldForId(int fieldId) {
return _Fields.findByThriftId(fieldId);
}
@@ -2753,7 +2780,7 @@ public class DistributedRPCInvocations {
private static final org.apache.storm.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new failRequest_resultStandardSchemeFactory();
private static final org.apache.storm.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new failRequest_resultTupleSchemeFactory();
- private AuthorizationException aze; // required
+ private @org.apache.storm.thrift.annotation.Nullable AuthorizationException aze; // required
/** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
public enum _Fields implements org.apache.storm.thrift.TFieldIdEnum {
@@ -2770,6 +2797,7 @@ public class DistributedRPCInvocations {
/**
* Find the _Fields constant that matches fieldId, or null if its not found.
*/
+ @org.apache.storm.thrift.annotation.Nullable
public static _Fields findByThriftId(int fieldId) {
switch(fieldId) {
case 1: // AZE
@@ -2792,6 +2820,7 @@ public class DistributedRPCInvocations {
/**
* Find the _Fields constant that matches name, or null if its not found.
*/
+ @org.apache.storm.thrift.annotation.Nullable
public static _Fields findByName(java.lang.String name) {
return byName.get(name);
}
@@ -2851,11 +2880,12 @@ public class DistributedRPCInvocations {
this.aze = null;
}
+ @org.apache.storm.thrift.annotation.Nullable
public AuthorizationException get_aze() {
return this.aze;
}
- public void set_aze(AuthorizationException aze) {
+ public void set_aze(@org.apache.storm.thrift.annotation.Nullable AuthorizationException aze) {
this.aze = aze;
}
@@ -2874,7 +2904,7 @@ public class DistributedRPCInvocations {
}
}
- public void setFieldValue(_Fields field, java.lang.Object value) {
+ public void setFieldValue(_Fields field, @org.apache.storm.thrift.annotation.Nullable java.lang.Object value) {
switch (field) {
case AZE:
if (value == null) {
@@ -2887,6 +2917,7 @@ public class DistributedRPCInvocations {
}
}
+ @org.apache.storm.thrift.annotation.Nullable
public java.lang.Object getFieldValue(_Fields field) {
switch (field) {
case AZE:
@@ -2968,6 +2999,7 @@ public class DistributedRPCInvocations {
return 0;
}
+ @org.apache.storm.thrift.annotation.Nullable
public _Fields fieldForId(int fieldId) {
return _Fields.findByThriftId(fieldId);
}
@@ -3115,8 +3147,8 @@ public class DistributedRPCInvocations {
private static final org.apache.storm.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new failRequestV2_argsStandardSchemeFactory();
private static final org.apache.storm.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new failRequestV2_argsTupleSchemeFactory();
- private java.lang.String id; // required
- private DRPCExecutionException e; // required
+ private @org.apache.storm.thrift.annotation.Nullable java.lang.String id; // required
+ private @org.apache.storm.thrift.annotation.Nullable DRPCExecutionException e; // required
/** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
public enum _Fields implements org.apache.storm.thrift.TFieldIdEnum {
@@ -3134,6 +3166,7 @@ public class DistributedRPCInvocations {
/**
* Find the _Fields constant that matches fieldId, or null if its not found.
*/
+ @org.apache.storm.thrift.annotation.Nullable
public static _Fields findByThriftId(int fieldId) {
switch(fieldId) {
case 1: // ID
@@ -3158,6 +3191,7 @@ public class DistributedRPCInvocations {
/**
* Find the _Fields constant that matches name, or null if its not found.
*/
+ @org.apache.storm.thrift.annotation.Nullable
public static _Fields findByName(java.lang.String name) {
return byName.get(name);
}
@@ -3225,11 +3259,12 @@ public class DistributedRPCInvocations {
this.e = null;
}
+ @org.apache.storm.thrift.annotation.Nullable
public java.lang.String get_id() {
return this.id;
}
- public void set_id(java.lang.String id) {
+ public void set_id(@org.apache.storm.thrift.annotation.Nullable java.lang.String id) {
this.id = id;
}
@@ -3248,11 +3283,12 @@ public class DistributedRPCInvocations {
}
}
+ @org.apache.storm.thrift.annotation.Nullable
public DRPCExecutionException get_e() {
return this.e;
}
- public void set_e(DRPCExecutionException e) {
+ public void set_e(@org.apache.storm.thrift.annotation.Nullable DRPCExecutionException e) {
this.e = e;
}
@@ -3271,7 +3307,7 @@ public class DistributedRPCInvocations {
}
}
- public void setFieldValue(_Fields field, java.lang.Object value) {
+ public void setFieldValue(_Fields field, @org.apache.storm.thrift.annotation.Nullable java.lang.Object value) {
switch (field) {
case ID:
if (value == null) {
@@ -3292,6 +3328,7 @@ public class DistributedRPCInvocations {
}
}
+ @org.apache.storm.thrift.annotation.Nullable
public java.lang.Object getFieldValue(_Fields field) {
switch (field) {
case ID:
@@ -3401,6 +3438,7 @@ public class DistributedRPCInvocations {
return 0;
}
+ @org.apache.storm.thrift.annotation.Nullable
public _Fields fieldForId(int fieldId) {
return _Fields.findByThriftId(fieldId);
}
@@ -3578,7 +3616,7 @@ public class DistributedRPCInvocations {
private static final org.apache.storm.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new failRequestV2_resultStandardSchemeFactory();
private static final org.apache.storm.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new failRequestV2_resultTupleSchemeFactory();
- private AuthorizationException aze; // required
+ private @org.apache.storm.thrift.annotation.Nullable AuthorizationException aze; // required
/** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
public enum _Fields implements org.apache.storm.thrift.TFieldIdEnum {
@@ -3595,6 +3633,7 @@ public class DistributedRPCInvocations {
/**
* Find the _Fields constant that matches fieldId, or null if its not found.
*/
+ @org.apache.storm.thrift.annotation.Nullable
public static _Fields findByThriftId(int fieldId) {
switch(fieldId) {
case 1: // AZE
@@ -3617,6 +3656,7 @@ public class DistributedRPCInvocations {
/**
* Find the _Fields constant that matches name, or null if its not found.
*/
+ @org.apache.storm.thrift.annotation.Nullable
public static _Fields findByName(java.lang.String name) {
return byName.get(name);
}
@@ -3676,11 +3716,12 @@ public class DistributedRPCInvocations {
this.aze = null;
}
+ @org.apache.storm.thrift.annotation.Nullable
public AuthorizationException get_aze() {
return this.aze;
}
- public void set_aze(AuthorizationException aze) {
+ public void set_aze(@org.apache.storm.thrift.annotation.Nullable AuthorizationException aze) {
this.aze = aze;
}
@@ -3699,7 +3740,7 @@ public class DistributedRPCInvocations {
}
}
- public void setFieldValue(_Fields field, java.lang.Object value) {
+ public void setFieldValue(_Fields field, @org.apache.storm.thrift.annotation.Nullable java.lang.Object value) {
switch (field) {
case AZE:
if (value == null) {
@@ -3712,6 +3753,7 @@ public class DistributedRPCInvocations {
}
}
+ @org.apache.storm.thrift.annotation.Nullable
public java.lang.Object getFieldValue(_Fields field) {
switch (field) {
case AZE:
@@ -3793,6 +3835,7 @@ public class DistributedRPCInvocations {
return 0;
}
+ @org.apache.storm.thrift.annotation.Nullable
public _Fields fieldForId(int fieldId) {
return _Fields.findByThriftId(fieldId);
}
diff --git a/storm-client/src/jvm/org/apache/storm/generated/ErrorInfo.java b/storm-client/src/jvm/org/apache/storm/generated/ErrorInfo.java
index 34cf5b4..a607082 100644
--- a/storm-client/src/jvm/org/apache/storm/generated/ErrorInfo.java
+++ b/storm-client/src/jvm/org/apache/storm/generated/ErrorInfo.java
@@ -16,7 +16,7 @@
* limitations under the License.
*/
/**
- * Autogenerated by Thrift Compiler (0.11.0)
+ * Autogenerated by Thrift Compiler (0.12.0)
*
* DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
* @generated
@@ -24,7 +24,7 @@
package org.apache.storm.generated;
@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked", "unused"})
-@javax.annotation.Generated(value = "Autogenerated by Thrift Compiler (0.11.0)")
+@javax.annotation.Generated(value = "Autogenerated by Thrift Compiler (0.12.0)")
public class ErrorInfo implements org.apache.storm.thrift.TBase<ErrorInfo, ErrorInfo._Fields>, java.io.Serializable, Cloneable, Comparable<ErrorInfo> {
private static final org.apache.storm.thrift.protocol.TStruct STRUCT_DESC = new org.apache.storm.thrift.protocol.TStruct("ErrorInfo");
@@ -36,9 +36,9 @@ public class ErrorInfo implements org.apache.storm.thrift.TBase<ErrorInfo, Error
private static final org.apache.storm.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new ErrorInfoStandardSchemeFactory();
private static final org.apache.storm.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new ErrorInfoTupleSchemeFactory();
- private java.lang.String error; // required
+ private @org.apache.storm.thrift.annotation.Nullable java.lang.String error; // required
private int error_time_secs; // required
- private java.lang.String host; // optional
+ private @org.apache.storm.thrift.annotation.Nullable java.lang.String host; // optional
private int port; // optional
/** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
@@ -59,6 +59,7 @@ public class ErrorInfo implements org.apache.storm.thrift.TBase<ErrorInfo, Error
/**
* Find the _Fields constant that matches fieldId, or null if its not found.
*/
+ @org.apache.storm.thrift.annotation.Nullable
public static _Fields findByThriftId(int fieldId) {
switch(fieldId) {
case 1: // ERROR
@@ -87,6 +88,7 @@ public class ErrorInfo implements org.apache.storm.thrift.TBase<ErrorInfo, Error
/**
* Find the _Fields constant that matches name, or null if its not found.
*/
+ @org.apache.storm.thrift.annotation.Nullable
public static _Fields findByName(java.lang.String name) {
return byName.get(name);
}
@@ -170,11 +172,12 @@ public class ErrorInfo implements org.apache.storm.thrift.TBase<ErrorInfo, Error
this.port = 0;
}
+ @org.apache.storm.thrift.annotation.Nullable
public java.lang.String get_error() {
return this.error;
}
- public void set_error(java.lang.String error) {
+ public void set_error(@org.apache.storm.thrift.annotation.Nullable java.lang.String error) {
this.error = error;
}
@@ -215,11 +218,12 @@ public class ErrorInfo implements org.apache.storm.thrift.TBase<ErrorInfo, Error
__isset_bitfield = org.apache.storm.thrift.EncodingUtils.setBit(__isset_bitfield, __ERROR_TIME_SECS_ISSET_ID, value);
}
+ @org.apache.storm.thrift.annotation.Nullable
public java.lang.String get_host() {
return this.host;
}
- public void set_host(java.lang.String host) {
+ public void set_host(@org.apache.storm.thrift.annotation.Nullable java.lang.String host) {
this.host = host;
}
@@ -260,7 +264,7 @@ public class ErrorInfo implements org.apache.storm.thrift.TBase<ErrorInfo, Error
__isset_bitfield = org.apache.storm.thrift.EncodingUtils.setBit(__isset_bitfield, __PORT_ISSET_ID, value);
}
- public void setFieldValue(_Fields field, java.lang.Object value) {
+ public void setFieldValue(_Fields field, @org.apache.storm.thrift.annotation.Nullable java.lang.Object value) {
switch (field) {
case ERROR:
if (value == null) {
@@ -297,6 +301,7 @@ public class ErrorInfo implements org.apache.storm.thrift.TBase<ErrorInfo, Error
}
}
+ @org.apache.storm.thrift.annotation.Nullable
public java.lang.Object getFieldValue(_Fields field) {
switch (field) {
case ERROR:
@@ -460,6 +465,7 @@ public class ErrorInfo implements org.apache.storm.thrift.TBase<ErrorInfo, Error
return 0;
}
+ @org.apache.storm.thrift.annotation.Nullable
public _Fields fieldForId(int fieldId) {
return _Fields.findByThriftId(fieldId);
}
diff --git a/storm-client/src/jvm/org/apache/storm/generated/ExecutorAggregateStats.java b/storm-client/src/jvm/org/apache/storm/generated/ExecutorAggregateStats.java
index 154495c..99c7e51 100644
--- a/storm-client/src/jvm/org/apache/storm/generated/ExecutorAggregateStats.java
+++ b/storm-client/src/jvm/org/apache/storm/generated/ExecutorAggregateStats.java
@@ -16,7 +16,7 @@
* limitations under the License.
*/
/**
- * Autogenerated by Thrift Compiler (0.11.0)
+ * Autogenerated by Thrift Compiler (0.12.0)
*
* DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
* @generated
@@ -24,7 +24,7 @@
package org.apache.storm.generated;
@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked", "unused"})
-@javax.annotation.Generated(value = "Autogenerated by Thrift Compiler (0.11.0)")
+@javax.annotation.Generated(value = "Autogenerated by Thrift Compiler (0.12.0)")
public class ExecutorAggregateStats implements org.apache.storm.thrift.TBase<ExecutorAggregateStats, ExecutorAggregateStats._Fields>, java.io.Serializable, Cloneable, Comparable<ExecutorAggregateStats> {
private static final org.apache.storm.thrift.protocol.TStruct STRUCT_DESC = new org.apache.storm.thrift.protocol.TStruct("ExecutorAggregateStats");
@@ -34,8 +34,8 @@ public class ExecutorAggregateStats implements org.apache.storm.thrift.TBase<Exe
private static final org.apache.storm.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new ExecutorAggregateStatsStandardSchemeFactory();
private static final org.apache.storm.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new ExecutorAggregateStatsTupleSchemeFactory();
- private ExecutorSummary exec_summary; // optional
- private ComponentAggregateStats stats; // optional
+ private @org.apache.storm.thrift.annotation.Nullable ExecutorSummary exec_summary; // optional
+ private @org.apache.storm.thrift.annotation.Nullable ComponentAggregateStats stats; // optional
/** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
public enum _Fields implements org.apache.storm.thrift.TFieldIdEnum {
@@ -53,6 +53,7 @@ public class ExecutorAggregateStats implements org.apache.storm.thrift.TBase<Exe
/**
* Find the _Fields constant that matches fieldId, or null if its not found.
*/
+ @org.apache.storm.thrift.annotation.Nullable
public static _Fields findByThriftId(int fieldId) {
switch(fieldId) {
case 1: // EXEC_SUMMARY
@@ -77,6 +78,7 @@ public class ExecutorAggregateStats implements org.apache.storm.thrift.TBase<Exe
/**
* Find the _Fields constant that matches name, or null if its not found.
*/
+ @org.apache.storm.thrift.annotation.Nullable
public static _Fields findByName(java.lang.String name) {
return byName.get(name);
}
@@ -136,11 +138,12 @@ public class ExecutorAggregateStats implements org.apache.storm.thrift.TBase<Exe
this.stats = null;
}
+ @org.apache.storm.thrift.annotation.Nullable
public ExecutorSummary get_exec_summary() {
return this.exec_summary;
}
- public void set_exec_summary(ExecutorSummary exec_summary) {
+ public void set_exec_summary(@org.apache.storm.thrift.annotation.Nullable ExecutorSummary exec_summary) {
this.exec_summary = exec_summary;
}
@@ -159,11 +162,12 @@ public class ExecutorAggregateStats implements org.apache.storm.thrift.TBase<Exe
}
}
+ @org.apache.storm.thrift.annotation.Nullable
public ComponentAggregateStats get_stats() {
return this.stats;
}
- public void set_stats(ComponentAggregateStats stats) {
+ public void set_stats(@org.apache.storm.thrift.annotation.Nullable ComponentAggregateStats stats) {
this.stats = stats;
}
@@ -182,7 +186,7 @@ public class ExecutorAggregateStats implements org.apache.storm.thrift.TBase<Exe
}
}
- public void setFieldValue(_Fields field, java.lang.Object value) {
+ public void setFieldValue(_Fields field, @org.apache.storm.thrift.annotation.Nullable java.lang.Object value) {
switch (field) {
case EXEC_SUMMARY:
if (value == null) {
@@ -203,6 +207,7 @@ public class ExecutorAggregateStats implements org.apache.storm.thrift.TBase<Exe
}
}
+ @org.apache.storm.thrift.annotation.Nullable
public java.lang.Object getFieldValue(_Fields field) {
switch (field) {
case EXEC_SUMMARY:
@@ -312,6 +317,7 @@ public class ExecutorAggregateStats implements org.apache.storm.thrift.TBase<Exe
return 0;
}
+ @org.apache.storm.thrift.annotation.Nullable
public _Fields fieldForId(int fieldId) {
return _Fields.findByThriftId(fieldId);
}
diff --git a/storm-client/src/jvm/org/apache/storm/generated/ExecutorInfo.java b/storm-client/src/jvm/org/apache/storm/generated/ExecutorInfo.java
index 805c9ce..de0f007 100644
--- a/storm-client/src/jvm/org/apache/storm/generated/ExecutorInfo.java
+++ b/storm-client/src/jvm/org/apache/storm/generated/ExecutorInfo.java
@@ -16,7 +16,7 @@
* limitations under the License.
*/
/**
- * Autogenerated by Thrift Compiler (0.11.0)
+ * Autogenerated by Thrift Compiler (0.12.0)
*
* DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
* @generated
@@ -24,7 +24,7 @@
package org.apache.storm.generated;
@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked", "unused"})
-@javax.annotation.Generated(value = "Autogenerated by Thrift Compiler (0.11.0)")
+@javax.annotation.Generated(value = "Autogenerated by Thrift Compiler (0.12.0)")
public class ExecutorInfo implements org.apache.storm.thrift.TBase<ExecutorInfo, ExecutorInfo._Fields>, java.io.Serializable, Cloneable, Comparable<ExecutorInfo> {
private static final org.apache.storm.thrift.protocol.TStruct STRUCT_DESC = new org.apache.storm.thrift.protocol.TStruct("ExecutorInfo");
@@ -53,6 +53,7 @@ public class ExecutorInfo implements org.apache.storm.thrift.TBase<ExecutorInfo,
/**
* Find the _Fields constant that matches fieldId, or null if its not found.
*/
+ @org.apache.storm.thrift.annotation.Nullable
public static _Fields findByThriftId(int fieldId) {
switch(fieldId) {
case 1: // TASK_START
@@ -77,6 +78,7 @@ public class ExecutorInfo implements org.apache.storm.thrift.TBase<ExecutorInfo,
/**
* Find the _Fields constant that matches name, or null if its not found.
*/
+ @org.apache.storm.thrift.annotation.Nullable
public static _Fields findByName(java.lang.String name) {
return byName.get(name);
}
@@ -192,7 +194,7 @@ public class ExecutorInfo implements org.apache.storm.thrift.TBase<ExecutorInfo,
__isset_bitfield = org.apache.storm.thrift.EncodingUtils.setBit(__isset_bitfield, __TASK_END_ISSET_ID, value);
}
- public void setFieldValue(_Fields field, java.lang.Object value) {
+ public void setFieldValue(_Fields field, @org.apache.storm.thrift.annotation.Nullable java.lang.Object value) {
switch (field) {
case TASK_START:
if (value == null) {
@@ -213,6 +215,7 @@ public class ExecutorInfo implements org.apache.storm.thrift.TBase<ExecutorInfo,
}
}
+ @org.apache.storm.thrift.annotation.Nullable
public java.lang.Object getFieldValue(_Fields field) {
switch (field) {
case TASK_START:
@@ -318,6 +321,7 @@ public class ExecutorInfo implements org.apache.storm.thrift.TBase<ExecutorInfo,
return 0;
}
+ @org.apache.storm.thrift.annotation.Nullable
public _Fields fieldForId(int fieldId) {
return _Fields.findByThriftId(fieldId);
}
diff --git a/storm-client/src/jvm/org/apache/storm/generated/ExecutorSpecificStats.java b/storm-client/src/jvm/org/apache/storm/generated/ExecutorSpecificStats.java
index 3d5a264..b6301d6 100644
--- a/storm-client/src/jvm/org/apache/storm/generated/ExecutorSpecificStats.java
+++ b/storm-client/src/jvm/org/apache/storm/generated/ExecutorSpecificStats.java
@@ -16,7 +16,7 @@
* limitations under the License.
*/
/**
- * Autogenerated by Thrift Compiler (0.11.0)
+ * Autogenerated by Thrift Compiler (0.12.0)
*
* DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
* @generated
@@ -24,6 +24,7 @@
package org.apache.storm.generated;
@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked", "unused"})
+@javax.annotation.Generated(value = "Autogenerated by Thrift Compiler (0.12.0)")
public class ExecutorSpecificStats extends org.apache.storm.thrift.TUnion<ExecutorSpecificStats, ExecutorSpecificStats._Fields> {
private static final org.apache.storm.thrift.protocol.TStruct STRUCT_DESC = new org.apache.storm.thrift.protocol.TStruct("ExecutorSpecificStats");
private static final org.apache.storm.thrift.protocol.TField BOLT_FIELD_DESC = new org.apache.storm.thrift.protocol.TField("bolt", org.apache.storm.thrift.protocol.TType.STRUCT, (short)1);
@@ -45,6 +46,7 @@ public class ExecutorSpecificStats extends org.apache.storm.thrift.TUnion<Execut
/**
* Find the _Fields constant that matches fieldId, or null if its not found.
*/
+ @org.apache.storm.thrift.annotation.Nullable
public static _Fields findByThriftId(int fieldId) {
switch(fieldId) {
case 1: // BOLT
@@ -69,6 +71,7 @@ public class ExecutorSpecificStats extends org.apache.storm.thrift.TUnion<Execut
/**
* Find the _Fields constant that matches name, or null if its not found.
*/
+ @org.apache.storm.thrift.annotation.Nullable
public static _Fields findByName(java.lang.String name) {
return byName.get(name);
}
@@ -258,6 +261,7 @@ public class ExecutorSpecificStats extends org.apache.storm.thrift.TUnion<Execut
return _Fields.findByThriftIdOrThrow(id);
}
+ @org.apache.storm.thrift.annotation.Nullable
public _Fields fieldForId(int fieldId) {
return _Fields.findByThriftId(fieldId);
}
diff --git a/storm-client/src/jvm/org/apache/storm/generated/ExecutorStats.java b/storm-client/src/jvm/org/apache/storm/generated/ExecutorStats.java
index 8b8bc2d..b66fd67 100644
--- a/storm-client/src/jvm/org/apache/storm/generated/ExecutorStats.java
+++ b/storm-client/src/jvm/org/apache/storm/generated/ExecutorStats.java
@@ -16,7 +16,7 @@
* limitations under the License.
*/
/**
- * Autogenerated by Thrift Compiler (0.11.0)
+ * Autogenerated by Thrift Compiler (0.12.0)
*
* DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
* @generated
@@ -24,7 +24,7 @@
package org.apache.storm.generated;
@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked", "unused"})
-@javax.annotation.Generated(value = "Autogenerated by Thrift Compiler (0.11.0)")
+@javax.annotation.Generated(value = "Autogenerated by Thrift Compiler (0.12.0)")
public class ExecutorStats implements org.apache.storm.thrift.TBase<ExecutorStats, ExecutorStats._Fields>, java.io.Serializable, Cloneable, Comparable<ExecutorStats> {
private static final org.apache.storm.thrift.protocol.TStruct STRUCT_DESC = new org.apache.storm.thrift.protocol.TStruct("ExecutorStats");
@@ -36,9 +36,9 @@ public class ExecutorStats implements org.apache.storm.thrift.TBase<ExecutorStat
private static final org.apache.storm.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new ExecutorStatsStandardSchemeFactory();
private static final org.apache.storm.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new ExecutorStatsTupleSchemeFactory();
- private java.util.Map<java.lang.String,java.util.Map<java.lang.String,java.lang.Long>> emitted; // required
- private java.util.Map<java.lang.String,java.util.Map<java.lang.String,java.lang.Long>> transferred; // required
- private ExecutorSpecificStats specific; // required
+ private @org.apache.storm.thrift.annotation.Nullable java.util.Map<java.lang.String,java.util.Map<java.lang.String,java.lang.Long>> emitted; // required
+ private @org.apache.storm.thrift.annotation.Nullable java.util.Map<java.lang.String,java.util.Map<java.lang.String,java.lang.Long>> transferred; // required
+ private @org.apache.storm.thrift.annotation.Nullable ExecutorSpecificStats specific; // required
private double rate; // required
/** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
@@ -59,6 +59,7 @@ public class ExecutorStats implements org.apache.storm.thrift.TBase<ExecutorStat
/**
* Find the _Fields constant that matches fieldId, or null if its not found.
*/
+ @org.apache.storm.thrift.annotation.Nullable
public static _Fields findByThriftId(int fieldId) {
switch(fieldId) {
case 1: // EMITTED
@@ -87,6 +88,7 @@ public class ExecutorStats implements org.apache.storm.thrift.TBase<ExecutorStat
/**
* Find the _Fields constant that matches name, or null if its not found.
*/
+ @org.apache.storm.thrift.annotation.Nullable
public static _Fields findByName(java.lang.String name) {
return byName.get(name);
}
@@ -216,11 +218,12 @@ public class ExecutorStats implements org.apache.storm.thrift.TBase<ExecutorStat
this.emitted.put(key, val);
}
+ @org.apache.storm.thrift.annotation.Nullable
public java.util.Map<java.lang.String,java.util.Map<java.lang.String,java.lang.Long>> get_emitted() {
return this.emitted;
}
- public void set_emitted(java.util.Map<java.lang.String,java.util.Map<java.lang.String,java.lang.Long>> emitted) {
+ public void set_emitted(@org.apache.storm.thrift.annotation.Nullable java.util.Map<java.lang.String,java.util.Map<java.lang.String,java.lang.Long>> emitted) {
this.emitted = emitted;
}
@@ -250,11 +253,12 @@ public class ExecutorStats implements org.apache.storm.thrift.TBase<ExecutorStat
this.transferred.put(key, val);
}
+ @org.apache.storm.thrift.annotation.Nullable
public java.util.Map<java.lang.String,java.util.Map<java.lang.String,java.lang.Long>> get_transferred() {
return this.transferred;
}
- public void set_transferred(java.util.Map<java.lang.String,java.util.Map<java.lang.String,java.lang.Long>> transferred) {
+ public void set_transferred(@org.apache.storm.thrift.annotation.Nullable java.util.Map<java.lang.String,java.util.Map<java.lang.String,java.lang.Long>> transferred) {
this.transferred = transferred;
}
@@ -273,11 +277,12 @@ public class ExecutorStats implements org.apache.storm.thrift.TBase<ExecutorStat
}
}
+ @org.apache.storm.thrift.annotation.Nullable
public ExecutorSpecificStats get_specific() {
return this.specific;
}
- public void set_specific(ExecutorSpecificStats specific) {
+ public void set_specific(@org.apache.storm.thrift.annotation.Nullable ExecutorSpecificStats specific) {
this.specific = specific;
}
@@ -318,7 +323,7 @@ public class ExecutorStats implements org.apache.storm.thrift.TBase<ExecutorStat
__isset_bitfield = org.apache.storm.thrift.EncodingUtils.setBit(__isset_bitfield, __RATE_ISSET_ID, value);
}
- public void setFieldValue(_Fields field, java.lang.Object value) {
+ public void setFieldValue(_Fields field, @org.apache.storm.thrift.annotation.Nullable java.lang.Object value) {
switch (field) {
case EMITTED:
if (value == null) {
@@ -355,6 +360,7 @@ public class ExecutorStats implements org.apache.storm.thrift.TBase<ExecutorStat
}
}
+ @org.apache.storm.thrift.annotation.Nullable
public java.lang.Object getFieldValue(_Fields field) {
switch (field) {
case EMITTED:
@@ -518,6 +524,7 @@ public class ExecutorStats implements org.apache.storm.thrift.TBase<ExecutorStat
return 0;
}
+ @org.apache.storm.thrift.annotation.Nullable
public _Fields fieldForId(int fieldId) {
return _Fields.findByThriftId(fieldId);
}
@@ -628,15 +635,15 @@ public class ExecutorStats implements org.apache.storm.thrift.TBase<ExecutorStat
{
org.apache.storm.thrift.protocol.TMap _map320 = iprot.readMapBegin();
struct.emitted = new java.util.HashMap<java.lang.String,java.util.Map<java.lang.String,java.lang.Long>>(2*_map320.size);
- java.lang.String _key321;
- java.util.Map<java.lang.String,java.lang.Long> _val322;
+ @org.apache.storm.thrift.annotation.Nullable java.lang.String _key321;
+ @org.apache.storm.thrift.annotation.Nullable java.util.Map<java.lang.String,java.lang.Long> _val322;
for (int _i323 = 0; _i323 < _map320.size; ++_i323)
{
_key321 = iprot.readString();
{
org.apache.storm.thrift.protocol.TMap _map324 = iprot.readMapBegin();
_val322 = new java.util.HashMap<java.lang.String,java.lang.Long>(2*_map324.size);
- java.lang.String _key325;
+ @org.apache.storm.thrift.annotation.Nullable java.lang.String _key325;
long _val326;
for (int _i327 = 0; _i327 < _map324.size; ++_i327)
{
@@ -660,15 +667,15 @@ public class ExecutorStats implements org.apache.storm.thrift.TBase<ExecutorStat
{
org.apache.storm.thrift.protocol.TMap _map328 = iprot.readMapBegin();
struct.transferred = new java.util.HashMap<java.lang.String,java.util.Map<java.lang.String,java.lang.Long>>(2*_map328.size);
- java.lang.String _key329;
- java.util.Map<java.lang.String,java.lang.Long> _val330;
+ @org.apache.storm.thrift.annotation.Nullable java.lang.String _key329;
+ @org.apache.storm.thrift.annotation.Nullable java.util.Map<java.lang.String,java.lang.Long> _val330;
for (int _i331 = 0; _i331 < _map328.size; ++_i331)
{
_key329 = iprot.readString();
{
org.apache.storm.thrift.protocol.TMap _map332 = iprot.readMapBegin();
_val330 = new java.util.HashMap<java.lang.String,java.lang.Long>(2*_map332.size);
- java.lang.String _key333;
+ @org.apache.storm.thrift.annotation.Nullable java.lang.String _key333;
long _val334;
for (int _i335 = 0; _i335 < _map332.size; ++_i335)
{
@@ -824,15 +831,15 @@ public class ExecutorStats implements org.apache.storm.thrift.TBase<ExecutorStat
{
org.apache.storm.thrift.protocol.TMap _map344 = new org.apache.storm.thrift.protocol.TMap(org.apache.storm.thrift.protocol.TType.STRING, org.apache.storm.thrift.protocol.TType.MAP, iprot.readI32());
struct.emitted = new java.util.HashMap<java.lang.String,java.util.Map<java.lang.String,java.lang.Long>>(2*_map344.size);
- java.lang.String _key345;
- java.util.Map<java.lang.String,java.lang.Long> _val346;
+ @org.apache.storm.thrift.annotation.Nullable java.lang.String _key345;
+ @org.apache.storm.thrift.annotation.Nullable java.util.Map<java.lang.String,java.lang.Long> _val346;
for (int _i347 = 0; _i347 < _map344.size; ++_i347)
{
_key345 = iprot.readString();
{
org.apache.storm.thrift.protocol.TMap _map348 = new org.apache.storm.thrift.protocol.TMap(org.apache.storm.thrift.protocol.TType.STRING, org.apache.storm.thrift.protocol.TType.I64, iprot.readI32());
_val346 = new java.util.HashMap<java.lang.String,java.lang.Long>(2*_map348.size);
- java.lang.String _key349;
+ @org.apache.storm.thrift.annotation.Nullable java.lang.String _key349;
long _val350;
for (int _i351 = 0; _i351 < _map348.size; ++_i351)
{
@@ -848,15 +855,15 @@ public class ExecutorStats implements org.apache.storm.thrift.TBase<ExecutorStat
{
org.apache.storm.thrift.protocol.TMap _map352 = new org.apache.storm.thrift.protocol.TMap(org.apache.storm.thrift.protocol.TType.STRING, org.apache.storm.thrift.protocol.TType.MAP, iprot.readI32());
struct.transferred = new java.util.HashMap<java.lang.String,java.util.Map<java.lang.String,java.lang.Long>>(2*_map352.size);
- java.lang.String _key353;
- java.util.Map<java.lang.String,java.lang.Long> _val354;
+ @org.apache.storm.thrift.annotation.Nullable java.lang.String _key353;
+ @org.apache.storm.thrift.annotation.Nullable java.util.Map<java.lang.String,java.lang.Long> _val354;
for (int _i355 = 0; _i355 < _map352.size; ++_i355)
{
_key353 = iprot.readString();
{
org.apache.storm.thrift.protocol.TMap _map356 = new org.apache.storm.thrift.protocol.TMap(org.apache.storm.thrift.protocol.TType.STRING, org.apache.storm.thrift.protocol.TType.I64, iprot.readI32());
_val354 = new java.util.HashMap<java.lang.String,java.lang.Long>(2*_map356.size);
- java.lang.String _key357;
+ @org.apache.storm.thrift.annotation.Nullable java.lang.String _key357;
long _val358;
for (int _i359 = 0; _i359 < _map356.size; ++_i359)
{
diff --git a/storm-client/src/jvm/org/apache/storm/generated/ExecutorSummary.java b/storm-client/src/jvm/org/apache/storm/generated/ExecutorSummary.java
index 79f09b1..1e59c59 100644
--- a/storm-client/src/jvm/org/apache/storm/generated/ExecutorSummary.java
+++ b/storm-client/src/jvm/org/apache/storm/generated/ExecutorSummary.java
@@ -16,7 +16,7 @@
* limitations under the License.
*/
/**
- * Autogenerated by Thrift Compiler (0.11.0)
+ * Autogenerated by Thrift Compiler (0.12.0)
*
* DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
* @generated
@@ -24,7 +24,7 @@
package org.apache.storm.generated;
@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked", "unused"})
-@javax.annotation.Generated(value = "Autogenerated by Thrift Compiler (0.11.0)")
+@javax.annotation.Generated(value = "Autogenerated by Thrift Compiler (0.12.0)")
public class ExecutorSummary implements org.apache.storm.thrift.TBase<ExecutorSummary, ExecutorSummary._Fields>, java.io.Serializable, Cloneable, Comparable<ExecutorSummary> {
private static final org.apache.storm.thrift.protocol.TStruct STRUCT_DESC = new org.apache.storm.thrift.protocol.TStruct("ExecutorSummary");
@@ -38,12 +38,12 @@ public class ExecutorSummary implements org.apache.storm.thrift.TBase<ExecutorSu
private static final org.apache.storm.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new ExecutorSummaryStandardSchemeFactory();
private static final org.apache.storm.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new ExecutorSummaryTupleSchemeFactory();
- private ExecutorInfo executor_info; // required
- private java.lang.String component_id; // required
- private java.lang.String host; // required
+ private @org.apache.storm.thrift.annotation.Nullable ExecutorInfo executor_info; // required
+ private @org.apache.storm.thrift.annotation.Nullable java.lang.String component_id; // required
+ private @org.apache.storm.thrift.annotation.Nullable java.lang.String host; // required
private int port; // required
private int uptime_secs; // required
- private ExecutorStats stats; // optional
+ private @org.apache.storm.thrift.annotation.Nullable ExecutorStats stats; // optional
/** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
public enum _Fields implements org.apache.storm.thrift.TFieldIdEnum {
@@ -65,6 +65,7 @@ public class ExecutorSummary implements org.apache.storm.thrift.TBase<ExecutorSu
/**
* Find the _Fields constant that matches fieldId, or null if its not found.
*/
+ @org.apache.storm.thrift.annotation.Nullable
public static _Fields findByThriftId(int fieldId) {
switch(fieldId) {
case 1: // EXECUTOR_INFO
@@ -97,6 +98,7 @@ public class ExecutorSummary implements org.apache.storm.thrift.TBase<ExecutorSu
/**
* Find the _Fields constant that matches name, or null if its not found.
*/
+ @org.apache.storm.thrift.annotation.Nullable
public static _Fields findByName(java.lang.String name) {
return byName.get(name);
}
@@ -199,11 +201,12 @@ public class ExecutorSummary implements org.apache.storm.thrift.TBase<ExecutorSu
this.stats = null;
}
+ @org.apache.storm.thrift.annotation.Nullable
public ExecutorInfo get_executor_info() {
return this.executor_info;
}
- public void set_executor_info(ExecutorInfo executor_info) {
+ public void set_executor_info(@org.apache.storm.thrift.annotation.Nullable ExecutorInfo executor_info) {
this.executor_info = executor_info;
}
@@ -222,11 +225,12 @@ public class ExecutorSummary implements org.apache.storm.thrift.TBase<ExecutorSu
}
}
+ @org.apache.storm.thrift.annotation.Nullable
public java.lang.String get_component_id() {
return this.component_id;
}
- public void set_component_id(java.lang.String component_id) {
+ public void set_component_id(@org.apache.storm.thrift.annotation.Nullable java.lang.String component_id) {
this.component_id = component_id;
}
@@ -245,11 +249,12 @@ public class ExecutorSummary implements org.apache.storm.thrift.TBase<ExecutorSu
}
}
+ @org.apache.storm.thrift.annotation.Nullable
public java.lang.String get_host() {
return this.host;
}
- public void set_host(java.lang.String host) {
+ public void set_host(@org.apache.storm.thrift.annotation.Nullable java.lang.String host) {
this.host = host;
}
@@ -312,11 +317,12 @@ public class ExecutorSummary implements org.apache.storm.thrift.TBase<ExecutorSu
__isset_bitfield = org.apache.storm.thrift.EncodingUtils.setBit(__isset_bitfield, __UPTIME_SECS_ISSET_ID, value);
}
+ @org.apache.storm.thrift.annotation.Nullable
public ExecutorStats get_stats() {
return this.stats;
}
- public void set_stats(ExecutorStats stats) {
+ public void set_stats(@org.apache.storm.thrift.annotation.Nullable ExecutorStats stats) {
this.stats = stats;
}
@@ -335,7 +341,7 @@ public class ExecutorSummary implements org.apache.storm.thrift.TBase<ExecutorSu
}
}
- public void setFieldValue(_Fields field, java.lang.Object value) {
+ public void setFieldValue(_Fields field, @org.apache.storm.thrift.annotation.Nullable java.lang.Object value) {
switch (field) {
case EXECUTOR_INFO:
if (value == null) {
@@ -388,6 +394,7 @@ public class ExecutorSummary implements org.apache.storm.thrift.TBase<ExecutorSu
}
}
+ @org.apache.storm.thrift.annotation.Nullable
public java.lang.Object getFieldValue(_Fields field) {
switch (field) {
case EXECUTOR_INFO:
@@ -605,6 +612,7 @@ public class ExecutorSummary implements org.apache.storm.thrift.TBase<ExecutorSu
return 0;
}
+ @org.apache.storm.thrift.annotation.Nullable
public _Fields fieldForId(int fieldId) {
return _Fields.findByThriftId(fieldId);
}
diff --git a/storm-client/src/jvm/org/apache/storm/generated/GetInfoOptions.java b/storm-client/src/jvm/org/apache/storm/generated/GetInfoOptions.java
index b6bd10e..1bffafb 100644
--- a/storm-client/src/jvm/org/apache/storm/generated/GetInfoOptions.java
+++ b/storm-client/src/jvm/org/apache/storm/generated/GetInfoOptions.java
@@ -16,7 +16,7 @@
* limitations under the License.
*/
/**
- * Autogenerated by Thrift Compiler (0.11.0)
+ * Autogenerated by Thrift Compiler (0.12.0)
*
* DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
* @generated
@@ -24,7 +24,7 @@
package org.apache.storm.generated;
@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked", "unused"})
-@javax.annotation.Generated(value = "Autogenerated by Thrift Compiler (0.11.0)")
+@javax.annotation.Generated(value = "Autogenerated by Thrift Compiler (0.12.0)")
public class GetInfoOptions implements org.apache.storm.thrift.TBase<GetInfoOptions, GetInfoOptions._Fields>, java.io.Serializable, Cloneable, Comparable<GetInfoOptions> {
private static final org.apache.storm.thrift.protocol.TStruct STRUCT_DESC = new org.apache.storm.thrift.protocol.TStruct("GetInfoOptions");
@@ -33,7 +33,7 @@ public class GetInfoOptions implements org.apache.storm.thrift.TBase<GetInfoOpti
private static final org.apache.storm.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new GetInfoOptionsStandardSchemeFactory();
private static final org.apache.storm.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new GetInfoOptionsTupleSchemeFactory();
- private NumErrorsChoice num_err_choice; // optional
+ private @org.apache.storm.thrift.annotation.Nullable NumErrorsChoice num_err_choice; // optional
/** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
public enum _Fields implements org.apache.storm.thrift.TFieldIdEnum {
@@ -54,6 +54,7 @@ public class GetInfoOptions implements org.apache.storm.thrift.TBase<GetInfoOpti
/**
* Find the _Fields constant that matches fieldId, or null if its not found.
*/
+ @org.apache.storm.thrift.annotation.Nullable
public static _Fields findByThriftId(int fieldId) {
switch(fieldId) {
case 1: // NUM_ERR_CHOICE
@@ -76,6 +77,7 @@ public class GetInfoOptions implements org.apache.storm.thrift.TBase<GetInfoOpti
/**
* Find the _Fields constant that matches name, or null if its not found.
*/
+ @org.apache.storm.thrift.annotation.Nullable
public static _Fields findByName(java.lang.String name) {
return byName.get(name);
}
@@ -133,6 +135,7 @@ public class GetInfoOptions implements org.apache.storm.thrift.TBase<GetInfoOpti
*
* @see NumErrorsChoice
*/
+ @org.apache.storm.thrift.annotation.Nullable
public NumErrorsChoice get_num_err_choice() {
return this.num_err_choice;
}
@@ -141,7 +144,7 @@ public class GetInfoOptions implements org.apache.storm.thrift.TBase<GetInfoOpti
*
* @see NumErrorsChoice
*/
- public void set_num_err_choice(NumErrorsChoice num_err_choice) {
+ public void set_num_err_choice(@org.apache.storm.thrift.annotation.Nullable NumErrorsChoice num_err_choice) {
this.num_err_choice = num_err_choice;
}
@@ -160,7 +163,7 @@ public class GetInfoOptions implements org.apache.storm.thrift.TBase<GetInfoOpti
}
}
- public void setFieldValue(_Fields field, java.lang.Object value) {
+ public void setFieldValue(_Fields field, @org.apache.storm.thrift.annotation.Nullable java.lang.Object value) {
switch (field) {
case NUM_ERR_CHOICE:
if (value == null) {
@@ -173,6 +176,7 @@ public class GetInfoOptions implements org.apache.storm.thrift.TBase<GetInfoOpti
}
}
+ @org.apache.storm.thrift.annotation.Nullable
public java.lang.Object getFieldValue(_Fields field) {
switch (field) {
case NUM_ERR_CHOICE:
@@ -254,6 +258,7 @@ public class GetInfoOptions implements org.apache.storm.thrift.TBase<GetInfoOpti
return 0;
}
+ @org.apache.storm.thrift.annotation.Nullable
public _Fields fieldForId(int fieldId) {
return _Fields.findByThriftId(fieldId);
}
diff --git a/storm-client/src/jvm/org/apache/storm/generated/GlobalStreamId.java b/storm-client/src/jvm/org/apache/storm/generated/GlobalStreamId.java
index 6b3cfd5..d442ee5 100644
--- a/storm-client/src/jvm/org/apache/storm/generated/GlobalStreamId.java
+++ b/storm-client/src/jvm/org/apache/storm/generated/GlobalStreamId.java
@@ -16,7 +16,7 @@
* limitations under the License.
*/
/**
- * Autogenerated by Thrift Compiler (0.11.0)
+ * Autogenerated by Thrift Compiler (0.12.0)
*
* DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
* @generated
@@ -24,7 +24,7 @@
package org.apache.storm.generated;
@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked", "unused"})
-@javax.annotation.Generated(value = "Autogenerated by Thrift Compiler (0.11.0)")
+@javax.annotation.Generated(value = "Autogenerated by Thrift Compiler (0.12.0)")
public class GlobalStreamId implements org.apache.storm.thrift.TBase<GlobalStreamId, GlobalStreamId._Fields>, java.io.Serializable, Cloneable, Comparable<GlobalStreamId> {
private static final org.apache.storm.thrift.protocol.TStruct STRUCT_DESC = new org.apache.storm.thrift.protocol.TStruct("GlobalStreamId");
@@ -34,8 +34,8 @@ public class GlobalStreamId implements org.apache.storm.thrift.TBase<GlobalStrea
private static final org.apache.storm.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new GlobalStreamIdStandardSchemeFactory();
private static final org.apache.storm.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new GlobalStreamIdTupleSchemeFactory();
- private java.lang.String componentId; // required
- private java.lang.String streamId; // required
+ private @org.apache.storm.thrift.annotation.Nullable java.lang.String componentId; // required
+ private @org.apache.storm.thrift.annotation.Nullable java.lang.String streamId; // required
/** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
public enum _Fields implements org.apache.storm.thrift.TFieldIdEnum {
@@ -53,6 +53,7 @@ public class GlobalStreamId implements org.apache.storm.thrift.TBase<GlobalStrea
/**
* Find the _Fields constant that matches fieldId, or null if its not found.
*/
+ @org.apache.storm.thrift.annotation.Nullable
public static _Fields findByThriftId(int fieldId) {
switch(fieldId) {
case 1: // COMPONENT_ID
@@ -77,6 +78,7 @@ public class GlobalStreamId implements org.apache.storm.thrift.TBase<GlobalStrea
/**
* Find the _Fields constant that matches name, or null if its not found.
*/
+ @org.apache.storm.thrift.annotation.Nullable
public static _Fields findByName(java.lang.String name) {
return byName.get(name);
}
@@ -144,11 +146,12 @@ public class GlobalStreamId implements org.apache.storm.thrift.TBase<GlobalStrea
this.streamId = null;
}
+ @org.apache.storm.thrift.annotation.Nullable
public java.lang.String get_componentId() {
return this.componentId;
}
- public void set_componentId(java.lang.String componentId) {
+ public void set_componentId(@org.apache.storm.thrift.annotation.Nullable java.lang.String componentId) {
this.componentId = componentId;
}
@@ -167,11 +170,12 @@ public class GlobalStreamId implements org.apache.storm.thrift.TBase<GlobalStrea
}
}
+ @org.apache.storm.thrift.annotation.Nullable
public java.lang.String get_streamId() {
return this.streamId;
}
- public void set_streamId(java.lang.String streamId) {
+ public void set_streamId(@org.apache.storm.thrift.annotation.Nullable java.lang.String streamId) {
this.streamId = streamId;
}
@@ -190,7 +194,7 @@ public class GlobalStreamId implements org.apache.storm.thrift.TBase<GlobalStrea
}
}
- public void setFieldValue(_Fields field, java.lang.Object value) {
+ public void setFieldValue(_Fields field, @org.apache.storm.thrift.annotation.Nullable java.lang.Object value) {
switch (field) {
case COMPONENT_ID:
if (value == null) {
@@ -211,6 +215,7 @@ public class GlobalStreamId implements org.apache.storm.thrift.TBase<GlobalStrea
}
}
+ @org.apache.storm.thrift.annotation.Nullable
public java.lang.Object getFieldValue(_Fields field) {
switch (field) {
case COMPONENT_ID:
@@ -320,6 +325,7 @@ public class GlobalStreamId implements org.apache.storm.thrift.TBase<GlobalStrea
return 0;
}
+ @org.apache.storm.thrift.annotation.Nullable
public _Fields fieldForId(int fieldId) {
return _Fields.findByThriftId(fieldId);
}
diff --git a/storm-client/src/jvm/org/apache/storm/generated/Grouping.java b/storm-client/src/jvm/org/apache/storm/generated/Grouping.java
index 3bf9eaf..dae7db2 100644
--- a/storm-client/src/jvm/org/apache/storm/generated/Grouping.java
+++ b/storm-client/src/jvm/org/apache/storm/generated/Grouping.java
@@ -16,7 +16,7 @@
* limitations under the License.
*/
/**
- * Autogenerated by Thrift Compiler (0.11.0)
+ * Autogenerated by Thrift Compiler (0.12.0)
*
* DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
* @generated
@@ -24,6 +24,7 @@
package org.apache.storm.generated;
@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked", "unused"})
+@javax.annotation.Generated(value = "Autogenerated by Thrift Compiler (0.12.0)")
public class Grouping extends org.apache.storm.thrift.TUnion<Grouping, Grouping._Fields> {
private static final org.apache.storm.thrift.protocol.TStruct STRUCT_DESC = new org.apache.storm.thrift.protocol.TStruct("Grouping");
private static final org.apache.storm.thrift.protocol.TField FIELDS_FIELD_DESC = new org.apache.storm.thrift.protocol.TField("fields", org.apache.storm.thrift.protocol.TType.LIST, (short)1);
@@ -57,6 +58,7 @@ public class Grouping extends org.apache.storm.thrift.TUnion<Grouping, Grouping.
/**
* Find the _Fields constant that matches fieldId, or null if its not found.
*/
+ @org.apache.storm.thrift.annotation.Nullable
public static _Fields findByThriftId(int fieldId) {
switch(fieldId) {
case 1: // FIELDS
@@ -93,6 +95,7 @@ public class Grouping extends org.apache.storm.thrift.TUnion<Grouping, Grouping.
/**
* Find the _Fields constant that matches name, or null if its not found.
*/
+ @org.apache.storm.thrift.annotation.Nullable
public static _Fields findByName(java.lang.String name) {
return byName.get(name);
}
@@ -197,7 +200,7 @@ public class Grouping extends org.apache.storm.thrift.TUnion<Grouping, Grouping.
public static Grouping custom_serialized(byte[] value) {
Grouping x = new Grouping();
- x.set_custom_serialized(java.nio.ByteBuffer.wrap(value.clone()));
+ x.set_custom_serialized (java.nio.ByteBuffer.wrap(value.clone()));
return x;
}
@@ -267,7 +270,7 @@ public class Grouping extends org.apache.storm.thrift.TUnion<Grouping, Grouping.
{
org.apache.storm.thrift.protocol.TList _list8 = iprot.readListBegin();
fields = new java.util.ArrayList<java.lang.String>(_list8.size);
- java.lang.String _elem9;
+ @org.apache.storm.thrift.annotation.Nullable java.lang.String _elem9;
for (int _i10 = 0; _i10 < _list8.size; ++_i10)
{
_elem9 = iprot.readString();
@@ -415,7 +418,7 @@ public class Grouping extends org.apache.storm.thrift.TUnion<Grouping, Grouping.
{
org.apache.storm.thrift.protocol.TList _list12 = iprot.readListBegin();
fields = new java.util.ArrayList<java.lang.String>(_list12.size);
- java.lang.String _elem13;
+ @org.apache.storm.thrift.annotation.Nullable java.lang.String _elem13;
for (int _i14 = 0; _i14 < _list12.size; ++_i14)
{
_elem13 = iprot.readString();
@@ -547,6 +550,7 @@ public class Grouping extends org.apache.storm.thrift.TUnion<Grouping, Grouping.
return _Fields.findByThriftIdOrThrow(id);
}
+ @org.apache.storm.thrift.annotation.Nullable
public _Fields fieldForId(int fieldId) {
return _Fields.findByThriftId(fieldId);
}
@@ -651,7 +655,7 @@ public class Grouping extends org.apache.storm.thrift.TUnion<Grouping, Grouping.
}
public void set_custom_serialized(byte[] value) {
- set_custom_serialized(java.nio.ByteBuffer.wrap(value.clone()));
+ set_custom_serialized (java.nio.ByteBuffer.wrap(value.clone()));
}
public void set_custom_serialized(java.nio.ByteBuffer value) {
diff --git a/storm-client/src/jvm/org/apache/storm/generated/HBAuthorizationException.java b/storm-client/src/jvm/org/apache/storm/generated/HBAuthorizationException.java
index d864fc1..4cc0482 100644
--- a/storm-client/src/jvm/org/apache/storm/generated/HBAuthorizationException.java
+++ b/storm-client/src/jvm/org/apache/storm/generated/HBAuthorizationException.java
@@ -16,7 +16,7 @@
* limitations under the License.
*/
/**
- * Autogenerated by Thrift Compiler (0.11.0)
+ * Autogenerated by Thrift Compiler (0.12.0)
*
* DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
* @generated
@@ -24,7 +24,7 @@
package org.apache.storm.generated;
@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked", "unused"})
-@javax.annotation.Generated(value = "Autogenerated by Thrift Compiler (0.11.0)")
+@javax.annotation.Generated(value = "Autogenerated by Thrift Compiler (0.12.0)")
public class HBAuthorizationException extends org.apache.storm.thrift.TException implements org.apache.storm.thrift.TBase<HBAuthorizationException, HBAuthorizationException._Fields>, java.io.Serializable, Cloneable, Comparable<HBAuthorizationException> {
private static final org.apache.storm.thrift.protocol.TStruct STRUCT_DESC = new org.apache.storm.thrift.protocol.TStruct("HBAuthorizationException");
@@ -33,7 +33,7 @@ public class HBAuthorizationException extends org.apache.storm.thrift.TException
private static final org.apache.storm.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new HBAuthorizationExceptionStandardSchemeFactory();
private static final org.apache.storm.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new HBAuthorizationExceptionTupleSchemeFactory();
- private java.lang.String msg; // required
+ private @org.apache.storm.thrift.annotation.Nullable java.lang.String msg; // required
/** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
public enum _Fields implements org.apache.storm.thrift.TFieldIdEnum {
@@ -50,6 +50,7 @@ public class HBAuthorizationException extends org.apache.storm.thrift.TException
/**
* Find the _Fields constant that matches fieldId, or null if its not found.
*/
+ @org.apache.storm.thrift.annotation.Nullable
public static _Fields findByThriftId(int fieldId) {
switch(fieldId) {
case 1: // MSG
@@ -72,6 +73,7 @@ public class HBAuthorizationException extends org.apache.storm.thrift.TException
/**
* Find the _Fields constant that matches name, or null if its not found.
*/
+ @org.apache.storm.thrift.annotation.Nullable
public static _Fields findByName(java.lang.String name) {
return byName.get(name);
}
@@ -131,11 +133,12 @@ public class HBAuthorizationException extends org.apache.storm.thrift.TException
this.msg = null;
}
+ @org.apache.storm.thrift.annotation.Nullable
public java.lang.String get_msg() {
return this.msg;
}
- public void set_msg(java.lang.String msg) {
+ public void set_msg(@org.apache.storm.thrift.annotation.Nullable java.lang.String msg) {
this.msg = msg;
}
@@ -154,7 +157,7 @@ public class HBAuthorizationException extends org.apache.storm.thrift.TException
}
}
- public void setFieldValue(_Fields field, java.lang.Object value) {
+ public void setFieldValue(_Fields field, @org.apache.storm.thrift.annotation.Nullable java.lang.Object value) {
switch (field) {
case MSG:
if (value == null) {
@@ -167,6 +170,7 @@ public class HBAuthorizationException extends org.apache.storm.thrift.TException
}
}
+ @org.apache.storm.thrift.annotation.Nullable
public java.lang.Object getFieldValue(_Fields field) {
switch (field) {
case MSG:
@@ -248,6 +252,7 @@ public class HBAuthorizationException extends org.apache.storm.thrift.TException
return 0;
}
+ @org.apache.storm.thrift.annotation.Nullable
public _Fields fieldForId(int fieldId) {
return _Fields.findByThriftId(fieldId);
}
diff --git a/storm-client/src/jvm/org/apache/storm/generated/HBExecutionException.java b/storm-client/src/jvm/org/apache/storm/generated/HBExecutionException.java
index 903af28..0cebbaa 100644
--- a/storm-client/src/jvm/org/apache/storm/generated/HBExecutionException.java
+++ b/storm-client/src/jvm/org/apache/storm/generated/HBExecutionException.java
@@ -16,7 +16,7 @@
* limitations under the License.
*/
/**
- * Autogenerated by Thrift Compiler (0.11.0)
+ * Autogenerated by Thrift Compiler (0.12.0)
*
* DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
* @generated
@@ -24,7 +24,7 @@
package org.apache.storm.generated;
@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked", "unused"})
-@javax.annotation.Generated(value = "Autogenerated by Thrift Compiler (0.11.0)")
+@javax.annotation.Generated(value = "Autogenerated by Thrift Compiler (0.12.0)")
public class HBExecutionException extends org.apache.storm.thrift.TException implements org.apache.storm.thrift.TBase<HBExecutionException, HBExecutionException._Fields>, java.io.Serializable, Cloneable, Comparable<HBExecutionException> {
private static final org.apache.storm.thrift.protocol.TStruct STRUCT_DESC = new org.apache.storm.thrift.protocol.TStruct("HBExecutionException");
@@ -33,7 +33,7 @@ public class HBExecutionException extends org.apache.storm.thrift.TException imp
private static final org.apache.storm.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new HBExecutionExceptionStandardSchemeFactory();
private static final org.apache.storm.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new HBExecutionExceptionTupleSchemeFactory();
- private java.lang.String msg; // required
+ private @org.apache.storm.thrift.annotation.Nullable java.lang.String msg; // required
/** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
public enum _Fields implements org.apache.storm.thrift.TFieldIdEnum {
@@ -50,6 +50,7 @@ public class HBExecutionException extends org.apache.storm.thrift.TException imp
/**
* Find the _Fields constant that matches fieldId, or null if its not found.
*/
+ @org.apache.storm.thrift.annotation.Nullable
public static _Fields findByThriftId(int fieldId) {
switch(fieldId) {
case 1: // MSG
@@ -72,6 +73,7 @@ public class HBExecutionException extends org.apache.storm.thrift.TException imp
/**
* Find the _Fields constant that matches name, or null if its not found.
*/
+ @org.apache.storm.thrift.annotation.Nullable
public static _Fields findByName(java.lang.String name) {
return byName.get(name);
}
@@ -131,11 +133,12 @@ public class HBExecutionException extends org.apache.storm.thrift.TException imp
this.msg = null;
}
+ @org.apache.storm.thrift.annotation.Nullable
public java.lang.String get_msg() {
return this.msg;
}
- public void set_msg(java.lang.String msg) {
+ public void set_msg(@org.apache.storm.thrift.annotation.Nullable java.lang.String msg) {
this.msg = msg;
}
@@ -154,7 +157,7 @@ public class HBExecutionException extends org.apache.storm.thrift.TException imp
}
}
- public void setFieldValue(_Fields field, java.lang.Object value) {
+ public void setFieldValue(_Fields field, @org.apache.storm.thrift.annotation.Nullable java.lang.Object value) {
switch (field) {
case MSG:
if (value == null) {
@@ -167,6 +170,7 @@ public class HBExecutionException extends org.apache.storm.thrift.TException imp
}
}
+ @org.apache.storm.thrift.annotation.Nullable
public java.lang.Object getFieldValue(_Fields field) {
switch (field) {
case MSG:
@@ -248,6 +252,7 @@ public class HBExecutionException extends org.apache.storm.thrift.TException imp
return 0;
}
+ @org.apache.storm.thrift.annotation.Nullable
public _Fields fieldForId(int fieldId) {
return _Fields.findByThriftId(fieldId);
}
diff --git a/storm-client/src/jvm/org/apache/storm/generated/HBMessage.java b/storm-client/src/jvm/org/apache/storm/generated/HBMessage.java
index f47f902..2766ee0 100644
--- a/storm-client/src/jvm/org/apache/storm/generated/HBMessage.java
+++ b/storm-client/src/jvm/org/apache/storm/generated/HBMessage.java
@@ -16,7 +16,7 @@
* limitations under the License.
*/
/**
- * Autogenerated by Thrift Compiler (0.11.0)
+ * Autogenerated by Thrift Compiler (0.12.0)
*
* DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
* @generated
@@ -24,7 +24,7 @@
package org.apache.storm.generated;
@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked", "unused"})
-@javax.annotation.Generated(value = "Autogenerated by Thrift Compiler (0.11.0)")
+@javax.annotation.Generated(value = "Autogenerated by Thrift Compiler (0.12.0)")
public class HBMessage implements org.apache.storm.thrift.TBase<HBMessage, HBMessage._Fields>, java.io.Serializable, Cloneable, Comparable<HBMessage> {
private static final org.apache.storm.thrift.protocol.TStruct STRUCT_DESC = new org.apache.storm.thrift.protocol.TStruct("HBMessage");
@@ -35,8 +35,8 @@ public class HBMessage implements org.apache.storm.thrift.TBase<HBMessage, HBMes
private static final org.apache.storm.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new HBMessageStandardSchemeFactory();
private static final org.apache.storm.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new HBMessageTupleSchemeFactory();
- private HBServerMessageType type; // required
- private HBMessageData data; // required
+ private @org.apache.storm.thrift.annotation.Nullable HBServerMessageType type; // required
+ private @org.apache.storm.thrift.annotation.Nullable HBMessageData data; // required
private int message_id; // optional
/** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
@@ -60,6 +60,7 @@ public class HBMessage implements org.apache.storm.thrift.TBase<HBMessage, HBMes
/**
* Find the _Fields constant that matches fieldId, or null if its not found.
*/
+ @org.apache.storm.thrift.annotation.Nullable
public static _Fields findByThriftId(int fieldId) {
switch(fieldId) {
case 1: // TYPE
@@ -86,6 +87,7 @@ public class HBMessage implements org.apache.storm.thrift.TBase<HBMessage, HBMes
/**
* Find the _Fields constant that matches name, or null if its not found.
*/
+ @org.apache.storm.thrift.annotation.Nullable
public static _Fields findByName(java.lang.String name) {
return byName.get(name);
}
@@ -168,6 +170,7 @@ public class HBMessage implements org.apache.storm.thrift.TBase<HBMessage, HBMes
*
* @see HBServerMessageType
*/
+ @org.apache.storm.thrift.annotation.Nullable
public HBServerMessageType get_type() {
return this.type;
}
@@ -176,7 +179,7 @@ public class HBMessage implements org.apache.storm.thrift.TBase<HBMessage, HBMes
*
* @see HBServerMessageType
*/
- public void set_type(HBServerMessageType type) {
+ public void set_type(@org.apache.storm.thrift.annotation.Nullable HBServerMessageType type) {
this.type = type;
}
@@ -195,11 +198,12 @@ public class HBMessage implements org.apache.storm.thrift.TBase<HBMessage, HBMes
}
}
+ @org.apache.storm.thrift.annotation.Nullable
public HBMessageData get_data() {
return this.data;
}
- public void set_data(HBMessageData data) {
+ public void set_data(@org.apache.storm.thrift.annotation.Nullable HBMessageData data) {
this.data = data;
}
@@ -240,7 +244,7 @@ public class HBMessage implements org.apache.storm.thrift.TBase<HBMessage, HBMes
__isset_bitfield = org.apache.storm.thrift.EncodingUtils.setBit(__isset_bitfield, __MESSAGE_ID_ISSET_ID, value);
}
- public void setFieldValue(_Fields field, java.lang.Object value) {
+ public void setFieldValue(_Fields field, @org.apache.storm.thrift.annotation.Nullable java.lang.Object value) {
switch (field) {
case TYPE:
if (value == null) {
@@ -269,6 +273,7 @@ public class HBMessage implements org.apache.storm.thrift.TBase<HBMessage, HBMes
}
}
+ @org.apache.storm.thrift.annotation.Nullable
public java.lang.Object getFieldValue(_Fields field) {
switch (field) {
case TYPE:
@@ -406,6 +411,7 @@ public class HBMessage implements org.apache.storm.thrift.TBase<HBMessage, HBMes
return 0;
}
+ @org.apache.storm.thrift.annotation.Nullable
public _Fields fieldForId(int fieldId) {
return _Fields.findByThriftId(fieldId);
}
diff --git a/storm-client/src/jvm/org/apache/storm/generated/HBMessageData.java b/storm-client/src/jvm/org/apache/storm/generated/HBMessageData.java
index fc5f58d..7415754 100644
--- a/storm-client/src/jvm/org/apache/storm/generated/HBMessageData.java
+++ b/storm-client/src/jvm/org/apache/storm/generated/HBMessageData.java
@@ -16,7 +16,7 @@
* limitations under the License.
*/
/**
- * Autogenerated by Thrift Compiler (0.11.0)
+ * Autogenerated by Thrift Compiler (0.12.0)
*
* DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
* @generated
@@ -24,6 +24,7 @@
package org.apache.storm.generated;
@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked", "unused"})
+@javax.annotation.Generated(value = "Autogenerated by Thrift Compiler (0.12.0)")
public class HBMessageData extends org.apache.storm.thrift.TUnion<HBMessageData, HBMessageData._Fields> {
private static final org.apache.storm.thrift.protocol.TStruct STRUCT_DESC = new org.apache.storm.thrift.protocol.TStruct("HBMessageData");
private static final org.apache.storm.thrift.protocol.TField PATH_FIELD_DESC = new org.apache.storm.thrift.protocol.TField("path", org.apache.storm.thrift.protocol.TType.STRING, (short)1);
@@ -53,6 +54,7 @@ public class HBMessageData extends org.apache.storm.thrift.TUnion<HBMessageData,
/**
* Find the _Fields constant that matches fieldId, or null if its not found.
*/
+ @org.apache.storm.thrift.annotation.Nullable
public static _Fields findByThriftId(int fieldId) {
switch(fieldId) {
case 1: // PATH
@@ -85,6 +87,7 @@ public class HBMessageData extends org.apache.storm.thrift.TUnion<HBMessageData,
/**
* Find the _Fields constant that matches name, or null if its not found.
*/
+ @org.apache.storm.thrift.annotation.Nullable
public static _Fields findByName(java.lang.String name) {
return byName.get(name);
}
@@ -178,7 +181,7 @@ public class HBMessageData extends org.apache.storm.thrift.TUnion<HBMessageData,
public static HBMessageData message_blob(byte[] value) {
HBMessageData x = new HBMessageData();
- x.set_message_blob(java.nio.ByteBuffer.wrap(value.clone()));
+ x.set_message_blob (java.nio.ByteBuffer.wrap(value.clone()));
return x;
}
@@ -426,6 +429,7 @@ public class HBMessageData extends org.apache.storm.thrift.TUnion<HBMessageData,
return _Fields.findByThriftIdOrThrow(id);
}
+ @org.apache.storm.thrift.annotation.Nullable
public _Fields fieldForId(int fieldId) {
return _Fields.findByThriftId(fieldId);
}
@@ -515,7 +519,7 @@ public class HBMessageData extends org.apache.storm.thrift.TUnion<HBMessageData,
}
public void set_message_blob(byte[] value) {
- set_message_blob(java.nio.ByteBuffer.wrap(value.clone()));
+ set_message_blob (java.nio.ByteBuffer.wrap(value.clone()));
}
public void set_message_blob(java.nio.ByteBuffer value) {
diff --git a/storm-client/src/jvm/org/apache/storm/generated/HBNodes.java b/storm-client/src/jvm/org/apache/storm/generated/HBNodes.java
index 7323c16..174dc26 100644
--- a/storm-client/src/jvm/org/apache/storm/generated/HBNodes.java
+++ b/storm-client/src/jvm/org/apache/storm/generated/HBNodes.java
@@ -16,7 +16,7 @@
* limitations under the License.
*/
/**
- * Autogenerated by Thrift Compiler (0.11.0)
+ * Autogenerated by Thrift Compiler (0.12.0)
*
* DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
* @generated
@@ -24,7 +24,7 @@
package org.apache.storm.generated;
@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked", "unused"})
-@javax.annotation.Generated(value = "Autogenerated by Thrift Compiler (0.11.0)")
+@javax.annotation.Generated(value = "Autogenerated by Thrift Compiler (0.12.0)")
public class HBNodes implements org.apache.storm.thrift.TBase<HBNodes, HBNodes._Fields>, java.io.Serializable, Cloneable, Comparable<HBNodes> {
private static final org.apache.storm.thrift.protocol.TStruct STRUCT_DESC = new org.apache.storm.thrift.protocol.TStruct("HBNodes");
@@ -33,7 +33,7 @@ public class HBNodes implements org.apache.storm.thrift.TBase<HBNodes, HBNodes._
private static final org.apache.storm.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new HBNodesStandardSchemeFactory();
private static final org.apache.storm.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new HBNodesTupleSchemeFactory();
- private java.util.List<java.lang.String> pulseIds; // required
+ private @org.apache.storm.thrift.annotation.Nullable java.util.List<java.lang.String> pulseIds; // required
/** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
public enum _Fields implements org.apache.storm.thrift.TFieldIdEnum {
@@ -50,6 +50,7 @@ public class HBNodes implements org.apache.storm.thrift.TBase<HBNodes, HBNodes._
/**
* Find the _Fields constant that matches fieldId, or null if its not found.
*/
+ @org.apache.storm.thrift.annotation.Nullable
public static _Fields findByThriftId(int fieldId) {
switch(fieldId) {
case 1: // PULSE_IDS
@@ -72,6 +73,7 @@ public class HBNodes implements org.apache.storm.thrift.TBase<HBNodes, HBNodes._
/**
* Find the _Fields constant that matches name, or null if its not found.
*/
+ @org.apache.storm.thrift.annotation.Nullable
public static _Fields findByName(java.lang.String name) {
return byName.get(name);
}
@@ -137,6 +139,7 @@ public class HBNodes implements org.apache.storm.thrift.TBase<HBNodes, HBNodes._
return (this.pulseIds == null) ? 0 : this.pulseIds.size();
}
+ @org.apache.storm.thrift.annotation.Nullable
public java.util.Iterator<java.lang.String> get_pulseIds_iterator() {
return (this.pulseIds == null) ? null : this.pulseIds.iterator();
}
@@ -148,11 +151,12 @@ public class HBNodes implements org.apache.storm.thrift.TBase<HBNodes, HBNodes._
this.pulseIds.add(elem);
}
+ @org.apache.storm.thrift.annotation.Nullable
public java.util.List<java.lang.String> get_pulseIds() {
return this.pulseIds;
}
- public void set_pulseIds(java.util.List<java.lang.String> pulseIds) {
+ public void set_pulseIds(@org.apache.storm.thrift.annotation.Nullable java.util.List<java.lang.String> pulseIds) {
this.pulseIds = pulseIds;
}
@@ -171,7 +175,7 @@ public class HBNodes implements org.apache.storm.thrift.TBase<HBNodes, HBNodes._
}
}
- public void setFieldValue(_Fields field, java.lang.Object value) {
+ public void setFieldValue(_Fields field, @org.apache.storm.thrift.annotation.Nullable java.lang.Object value) {
switch (field) {
case PULSE_IDS:
if (value == null) {
@@ -184,6 +188,7 @@ public class HBNodes implements org.apache.storm.thrift.TBase<HBNodes, HBNodes._
}
}
+ @org.apache.storm.thrift.annotation.Nullable
public java.lang.Object getFieldValue(_Fields field) {
switch (field) {
case PULSE_IDS:
@@ -265,6 +270,7 @@ public class HBNodes implements org.apache.storm.thrift.TBase<HBNodes, HBNodes._
return 0;
}
+ @org.apache.storm.thrift.annotation.Nullable
public _Fields fieldForId(int fieldId) {
return _Fields.findByThriftId(fieldId);
}
@@ -337,7 +343,7 @@ public class HBNodes implements org.apache.storm.thrift.TBase<HBNodes, HBNodes._
{
org.apache.storm.thrift.protocol.TList _list912 = iprot.readListBegin();
struct.pulseIds = new java.util.ArrayList<java.lang.String>(_list912.size);
- java.lang.String _elem913;
+ @org.apache.storm.thrift.annotation.Nullable java.lang.String _elem913;
for (int _i914 = 0; _i914 < _list912.size; ++_i914)
{
_elem913 = iprot.readString();
@@ -416,7 +422,7 @@ public class HBNodes implements org.apache.storm.thrift.TBase<HBNodes, HBNodes._
{
org.apache.storm.thrift.protocol.TList _list917 = new org.apache.storm.thrift.protocol.TList(org.apache.storm.thrift.protocol.TType.STRING, iprot.readI32());
struct.pulseIds = new java.util.ArrayList<java.lang.String>(_list917.size);
- java.lang.String _elem918;
+ @org.apache.storm.thrift.annotation.Nullable java.lang.String _elem918;
for (int _i919 = 0; _i919 < _list917.size; ++_i919)
{
_elem918 = iprot.readString();
diff --git a/storm-client/src/jvm/org/apache/storm/generated/HBPulse.java b/storm-client/src/jvm/org/apache/storm/generated/HBPulse.java
index 0ed4789..84458bf 100644
--- a/storm-client/src/jvm/org/apache/storm/generated/HBPulse.java
+++ b/storm-client/src/jvm/org/apache/storm/generated/HBPulse.java
@@ -16,7 +16,7 @@
* limitations under the License.
*/
/**
- * Autogenerated by Thrift Compiler (0.11.0)
+ * Autogenerated by Thrift Compiler (0.12.0)
*
* DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
* @generated
@@ -24,7 +24,7 @@
package org.apache.storm.generated;
@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked", "unused"})
-@javax.annotation.Generated(value = "Autogenerated by Thrift Compiler (0.11.0)")
+@javax.annotation.Generated(value = "Autogenerated by Thrift Compiler (0.12.0)")
public class HBPulse implements org.apache.storm.thrift.TBase<HBPulse, HBPulse._Fields>, java.io.Serializable, Cloneable, Comparable<HBPulse> {
private static final org.apache.storm.thrift.protocol.TStruct STRUCT_DESC = new org.apache.storm.thrift.protocol.TStruct("HBPulse");
@@ -34,8 +34,8 @@ public class HBPulse implements org.apache.storm.thrift.TBase<HBPulse, HBPulse._
private static final org.apache.storm.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new HBPulseStandardSchemeFactory();
private static final org.apache.storm.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new HBPulseTupleSchemeFactory();
- private java.lang.String id; // required
- private java.nio.ByteBuffer details; // required
+ private @org.apache.storm.thrift.annotation.Nullable java.lang.String id; // required
+ private @org.apache.storm.thrift.annotation.Nullable java.nio.ByteBuffer details; // required
/** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
public enum _Fields implements org.apache.storm.thrift.TFieldIdEnum {
@@ -53,6 +53,7 @@ public class HBPulse implements org.apache.storm.thrift.TBase<HBPulse, HBPulse._
/**
* Find the _Fields constant that matches fieldId, or null if its not found.
*/
+ @org.apache.storm.thrift.annotation.Nullable
public static _Fields findByThriftId(int fieldId) {
switch(fieldId) {
case 1: // ID
@@ -77,6 +78,7 @@ public class HBPulse implements org.apache.storm.thrift.TBase<HBPulse, HBPulse._
/**
* Find the _Fields constant that matches name, or null if its not found.
*/
+ @org.apache.storm.thrift.annotation.Nullable
public static _Fields findByName(java.lang.String name) {
return byName.get(name);
}
@@ -144,11 +146,12 @@ public class HBPulse implements org.apache.storm.thrift.TBase<HBPulse, HBPulse._
this.details = null;
}
+ @org.apache.storm.thrift.annotation.Nullable
public java.lang.String get_id() {
return this.id;
}
- public void set_id(java.lang.String id) {
+ public void set_id(@org.apache.storm.thrift.annotation.Nullable java.lang.String id) {
this.id = id;
}
@@ -177,10 +180,10 @@ public class HBPulse implements org.apache.storm.thrift.TBase<HBPulse, HBPulse._
}
public void set_details(byte[] details) {
- this.details = details == null ? (java.nio.ByteBuffer)null : java.nio.ByteBuffer.wrap(details.clone());
+ this.details = details == null ? (java.nio.ByteBuffer)null : java.nio.ByteBuffer.wrap(details.clone());
}
- public void set_details(java.nio.ByteBuffer details) {
+ public void set_details(@org.apache.storm.thrift.annotation.Nullable java.nio.ByteBuffer details) {
this.details = org.apache.storm.thrift.TBaseHelper.copyBinary(details);
}
@@ -199,7 +202,7 @@ public class HBPulse implements org.apache.storm.thrift.TBase<HBPulse, HBPulse._
}
}
- public void setFieldValue(_Fields field, java.lang.Object value) {
+ public void setFieldValue(_Fields field, @org.apache.storm.thrift.annotation.Nullable java.lang.Object value) {
switch (field) {
case ID:
if (value == null) {
@@ -224,6 +227,7 @@ public class HBPulse implements org.apache.storm.thrift.TBase<HBPulse, HBPulse._
}
}
+ @org.apache.storm.thrift.annotation.Nullable
public java.lang.Object getFieldValue(_Fields field) {
switch (field) {
case ID:
@@ -333,6 +337,7 @@ public class HBPulse implements org.apache.storm.thrift.TBase<HBPulse, HBPulse._
return 0;
}
+ @org.apache.storm.thrift.annotation.Nullable
public _Fields fieldForId(int fieldId) {
return _Fields.findByThriftId(fieldId);
}
diff --git a/storm-client/src/jvm/org/apache/storm/generated/HBRecords.java b/storm-client/src/jvm/org/apache/storm/generated/HBRecords.java
index 940fd86..26e2648 100644
--- a/storm-client/src/jvm/org/apache/storm/generated/HBRecords.java
+++ b/storm-client/src/jvm/org/apache/storm/generated/HBRecords.java
@@ -16,7 +16,7 @@
* limitations under the License.
*/
/**
- * Autogenerated by Thrift Compiler (0.11.0)
+ * Autogenerated by Thrift Compiler (0.12.0)
*
* DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
* @generated
@@ -24,7 +24,7 @@
package org.apache.storm.generated;
@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked", "unused"})
-@javax.annotation.Generated(value = "Autogenerated by Thrift Compiler (0.11.0)")
+@javax.annotation.Generated(value = "Autogenerated by Thrift Compiler (0.12.0)")
public class HBRecords implements org.apache.storm.thrift.TBase<HBRecords, HBRecords._Fields>, java.io.Serializable, Cloneable, Comparable<HBRecords> {
private static final org.apache.storm.thrift.protocol.TStruct STRUCT_DESC = new org.apache.storm.thrift.protocol.TStruct("HBRecords");
@@ -33,7 +33,7 @@ public class HBRecords implements org.apache.storm.thrift.TBase<HBRecords, HBRec
private static final org.apache.storm.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new HBRecordsStandardSchemeFactory();
private static final org.apache.storm.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new HBRecordsTupleSchemeFactory();
- private java.util.List<HBPulse> pulses; // required
+ private @org.apache.storm.thrift.annotation.Nullable java.util.List<HBPulse> pulses; // required
/** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
public enum _Fields implements org.apache.storm.thrift.TFieldIdEnum {
@@ -50,6 +50,7 @@ public class HBRecords implements org.apache.storm.thrift.TBase<HBRecords, HBRec
/**
* Find the _Fields constant that matches fieldId, or null if its not found.
*/
+ @org.apache.storm.thrift.annotation.Nullable
public static _Fields findByThriftId(int fieldId) {
switch(fieldId) {
case 1: // PULSES
@@ -72,6 +73,7 @@ public class HBRecords implements org.apache.storm.thrift.TBase<HBRecords, HBRec
/**
* Find the _Fields constant that matches name, or null if its not found.
*/
+ @org.apache.storm.thrift.annotation.Nullable
public static _Fields findByName(java.lang.String name) {
return byName.get(name);
}
@@ -140,6 +142,7 @@ public class HBRecords implements org.apache.storm.thrift.TBase<HBRecords, HBRec
return (this.pulses == null) ? 0 : this.pulses.size();
}
+ @org.apache.storm.thrift.annotation.Nullable
public java.util.Iterator<HBPulse> get_pulses_iterator() {
return (this.pulses == null) ? null : this.pulses.iterator();
}
@@ -151,11 +154,12 @@ public class HBRecords implements org.apache.storm.thrift.TBase<HBRecords, HBRec
this.pulses.add(elem);
}
+ @org.apache.storm.thrift.annotation.Nullable
public java.util.List<HBPulse> get_pulses() {
return this.pulses;
}
- public void set_pulses(java.util.List<HBPulse> pulses) {
+ public void set_pulses(@org.apache.storm.thrift.annotation.Nullable java.util.List<HBPulse> pulses) {
this.pulses = pulses;
}
@@ -174,7 +178,7 @@ public class HBRecords implements org.apache.storm.thrift.TBase<HBRecords, HBRec
}
}
- public void setFieldValue(_Fields field, java.lang.Object value) {
+ public void setFieldValue(_Fields field, @org.apache.storm.thrift.annotation.Nullable java.lang.Object value) {
switch (field) {
case PULSES:
if (value == null) {
@@ -187,6 +191,7 @@ public class HBRecords implements org.apache.storm.thrift.TBase<HBRecords, HBRec
}
}
+ @org.apache.storm.thrift.annotation.Nullable
public java.lang.Object getFieldValue(_Fields field) {
switch (field) {
case PULSES:
@@ -268,6 +273,7 @@ public class HBRecords implements org.apache.storm.thrift.TBase<HBRecords, HBRec
return 0;
}
+ @org.apache.storm.thrift.annotation.Nullable
public _Fields fieldForId(int fieldId) {
return _Fields.findByThriftId(fieldId);
}
@@ -340,7 +346,7 @@ public class HBRecords implements org.apache.storm.thrift.TBase<HBRecords, HBRec
{
org.apache.storm.thrift.protocol.TList _list904 = iprot.readListBegin();
struct.pulses = new java.util.ArrayList<HBPulse>(_list904.size);
- HBPulse _elem905;
+ @org.apache.storm.thrift.annotation.Nullable HBPulse _elem905;
for (int _i906 = 0; _i906 < _list904.size; ++_i906)
{
_elem905 = new HBPulse();
@@ -420,7 +426,7 @@ public class HBRecords implements org.apache.storm.thrift.TBase<HBRecords, HBRec
{
org.apache.storm.thrift.protocol.TList _list909 = new org.apache.storm.thrift.protocol.TList(org.apache.storm.thrift.protocol.TType.STRUCT, iprot.readI32());
struct.pulses = new java.util.ArrayList<HBPulse>(_list909.size);
- HBPulse _elem910;
+ @org.apache.storm.thrift.annotation.Nullable HBPulse _elem910;
for (int _i911 = 0; _i911 < _list909.size; ++_i911)
{
_elem910 = new HBPulse();
diff --git a/storm-client/src/jvm/org/apache/storm/generated/HBServerMessageType.java b/storm-client/src/jvm/org/apache/storm/generated/HBServerMessageType.java
index 930609a..7973290 100644
--- a/storm-client/src/jvm/org/apache/storm/generated/HBServerMessageType.java
+++ b/storm-client/src/jvm/org/apache/storm/generated/HBServerMessageType.java
@@ -16,7 +16,7 @@
* limitations under the License.
*/
/**
- * Autogenerated by Thrift Compiler (0.11.0)
+ * Autogenerated by Thrift Compiler (0.12.0)
*
* DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
* @generated
@@ -24,6 +24,7 @@
package org.apache.storm.generated;
+@javax.annotation.Generated(value = "Autogenerated by Thrift Compiler (0.12.0)")
public enum HBServerMessageType implements org.apache.storm.thrift.TEnum {
CREATE_PATH(0),
CREATE_PATH_RESPONSE(1),
@@ -62,6 +63,7 @@ public enum HBServerMessageType implements org.apache.storm.thrift.TEnum {
* Find a the enum type by its integer value, as defined in the Thrift IDL.
* @return null if the value is not found.
*/
+ @org.apache.storm.thrift.annotation.Nullable
public static HBServerMessageType findByValue(int value) {
switch (value) {
case 0:
diff --git a/storm-client/src/jvm/org/apache/storm/generated/IllegalStateException.java b/storm-client/src/jvm/org/apache/storm/generated/IllegalStateException.java
index 4b16837..c3f05e1 100644
--- a/storm-client/src/jvm/org/apache/storm/generated/IllegalStateException.java
+++ b/storm-client/src/jvm/org/apache/storm/generated/IllegalStateException.java
@@ -16,7 +16,7 @@
* limitations under the License.
*/
/**
- * Autogenerated by Thrift Compiler (0.11.0)
+ * Autogenerated by Thrift Compiler (0.12.0)
*
* DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
* @generated
@@ -24,7 +24,7 @@
package org.apache.storm.generated;
@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked", "unused"})
-@javax.annotation.Generated(value = "Autogenerated by Thrift Compiler (0.11.0)")
+@javax.annotation.Generated(value = "Autogenerated by Thrift Compiler (0.12.0)")
public class IllegalStateException extends org.apache.storm.thrift.TException implements org.apache.storm.thrift.TBase<IllegalStateException, IllegalStateException._Fields>, java.io.Serializable, Cloneable, Comparable<IllegalStateException> {
private static final org.apache.storm.thrift.protocol.TStruct STRUCT_DESC = new org.apache.storm.thrift.protocol.TStruct("IllegalStateException");
@@ -33,7 +33,7 @@ public class IllegalStateException extends org.apache.storm.thrift.TException im
private static final org.apache.storm.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new IllegalStateExceptionStandardSchemeFactory();
private static final org.apache.storm.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new IllegalStateExceptionTupleSchemeFactory();
- private java.lang.String msg; // required
+ private @org.apache.storm.thrift.annotation.Nullable java.lang.String msg; // required
/** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
public enum _Fields implements org.apache.storm.thrift.TFieldIdEnum {
@@ -50,6 +50,7 @@ public class IllegalStateException extends org.apache.storm.thrift.TException im
/**
* Find the _Fields constant that matches fieldId, or null if its not found.
*/
+ @org.apache.storm.thrift.annotation.Nullable
public static _Fields findByThriftId(int fieldId) {
switch(fieldId) {
case 1: // MSG
@@ -72,6 +73,7 @@ public class IllegalStateException extends org.apache.storm.thrift.TException im
/**
* Find the _Fields constant that matches name, or null if its not found.
*/
+ @org.apache.storm.thrift.annotation.Nullable
public static _Fields findByName(java.lang.String name) {
return byName.get(name);
}
@@ -131,11 +133,12 @@ public class IllegalStateException extends org.apache.storm.thrift.TException im
this.msg = null;
}
+ @org.apache.storm.thrift.annotation.Nullable
public java.lang.String get_msg() {
return this.msg;
}
- public void set_msg(java.lang.String msg) {
+ public void set_msg(@org.apache.storm.thrift.annotation.Nullable java.lang.String msg) {
this.msg = msg;
}
@@ -154,7 +157,7 @@ public class IllegalStateException extends org.apache.storm.thrift.TException im
}
}
- public void setFieldValue(_Fields field, java.lang.Object value) {
+ public void setFieldValue(_Fields field, @org.apache.storm.thrift.annotation.Nullable java.lang.Object value) {
switch (field) {
case MSG:
if (value == null) {
@@ -167,6 +170,7 @@ public class IllegalStateException extends org.apache.storm.thrift.TException im
}
}
+ @org.apache.storm.thrift.annotation.Nullable
public java.lang.Object getFieldValue(_Fields field) {
switch (field) {
case MSG:
@@ -248,6 +252,7 @@ public class IllegalStateException extends org.apache.storm.thrift.TException im
return 0;
}
+ @org.apache.storm.thrift.annotation.Nullable
public _Fields fieldForId(int fieldId) {
return _Fields.findByThriftId(fieldId);
}
diff --git a/storm-client/src/jvm/org/apache/storm/generated/InvalidTopologyException.java b/storm-client/src/jvm/org/apache/storm/generated/InvalidTopologyException.java
index 04c86ed..d15cbd5 100644
--- a/storm-client/src/jvm/org/apache/storm/generated/InvalidTopologyException.java
+++ b/storm-client/src/jvm/org/apache/storm/generated/InvalidTopologyException.java
@@ -16,7 +16,7 @@
* limitations under the License.
*/
/**
- * Autogenerated by Thrift Compiler (0.11.0)
+ * Autogenerated by Thrift Compiler (0.12.0)
*
* DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
* @generated
@@ -24,7 +24,7 @@
package org.apache.storm.generated;
@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked", "unused"})
-@javax.annotation.Generated(value = "Autogenerated by Thrift Compiler (0.11.0)")
+@javax.annotation.Generated(value = "Autogenerated by Thrift Compiler (0.12.0)")
public class InvalidTopologyException extends org.apache.storm.thrift.TException implements org.apache.storm.thrift.TBase<InvalidTopologyException, InvalidTopologyException._Fields>, java.io.Serializable, Cloneable, Comparable<InvalidTopologyException> {
private static final org.apache.storm.thrift.protocol.TStruct STRUCT_DESC = new org.apache.storm.thrift.protocol.TStruct("InvalidTopologyException");
@@ -33,7 +33,7 @@ public class InvalidTopologyException extends org.apache.storm.thrift.TException
private static final org.apache.storm.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new InvalidTopologyExceptionStandardSchemeFactory();
private static final org.apache.storm.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new InvalidTopologyExceptionTupleSchemeFactory();
- private java.lang.String msg; // required
+ private @org.apache.storm.thrift.annotation.Nullable java.lang.String msg; // required
/** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
public enum _Fields implements org.apache.storm.thrift.TFieldIdEnum {
@@ -50,6 +50,7 @@ public class InvalidTopologyException extends org.apache.storm.thrift.TException
/**
* Find the _Fields constant that matches fieldId, or null if its not found.
*/
+ @org.apache.storm.thrift.annotation.Nullable
public static _Fields findByThriftId(int fieldId) {
switch(fieldId) {
case 1: // MSG
@@ -72,6 +73,7 @@ public class InvalidTopologyException extends org.apache.storm.thrift.TException
/**
* Find the _Fields constant that matches name, or null if its not found.
*/
+ @org.apache.storm.thrift.annotation.Nullable
public static _Fields findByName(java.lang.String name) {
return byName.get(name);
}
@@ -131,11 +133,12 @@ public class InvalidTopologyException extends org.apache.storm.thrift.TException
this.msg = null;
}
+ @org.apache.storm.thrift.annotation.Nullable
public java.lang.String get_msg() {
return this.msg;
}
- public void set_msg(java.lang.String msg) {
+ public void set_msg(@org.apache.storm.thrift.annotation.Nullable java.lang.String msg) {
this.msg = msg;
}
@@ -154,7 +157,7 @@ public class InvalidTopologyException extends org.apache.storm.thrift.TException
}
}
- public void setFieldValue(_Fields field, java.lang.Object value) {
+ public void setFieldValue(_Fields field, @org.apache.storm.thrift.annotation.Nullable java.lang.Object value) {
switch (field) {
case MSG:
if (value == null) {
@@ -167,6 +170,7 @@ public class InvalidTopologyException extends org.apache.storm.thrift.TException
}
}
+ @org.apache.storm.thrift.annotation.Nullable
public java.lang.Object getFieldValue(_Fields field) {
switch (field) {
case MSG:
@@ -248,6 +252,7 @@ public class InvalidTopologyException extends org.apache.storm.thrift.TException
return 0;
}
+ @org.apache.storm.thrift.annotation.Nullable
public _Fields fieldForId(int fieldId) {
return _Fields.findByThriftId(fieldId);
}
diff --git a/storm-client/src/jvm/org/apache/storm/generated/JavaObject.java b/storm-client/src/jvm/org/apache/storm/generated/JavaObject.java
index b671a47..ff84aa3 100644
--- a/storm-client/src/jvm/org/apache/storm/generated/JavaObject.java
+++ b/storm-client/src/jvm/org/apache/storm/generated/JavaObject.java
@@ -16,7 +16,7 @@
* limitations under the License.
*/
/**
- * Autogenerated by Thrift Compiler (0.11.0)
+ * Autogenerated by Thrift Compiler (0.12.0)
*
* DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
* @generated
@@ -24,7 +24,7 @@
package org.apache.storm.generated;
@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked", "unused"})
-@javax.annotation.Generated(value = "Autogenerated by Thrift Compiler (0.11.0)")
+@javax.annotation.Generated(value = "Autogenerated by Thrift Compiler (0.12.0)")
public class JavaObject implements org.apache.storm.thrift.TBase<JavaObject, JavaObject._Fields>, java.io.Serializable, Cloneable, Comparable<JavaObject> {
private static final org.apache.storm.thrift.protocol.TStruct STRUCT_DESC = new org.apache.storm.thrift.protocol.TStruct("JavaObject");
@@ -34,8 +34,8 @@ public class JavaObject implements org.apache.storm.thrift.TBase<JavaObject, Jav
private static final org.apache.storm.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new JavaObjectStandardSchemeFactory();
private static final org.apache.storm.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new JavaObjectTupleSchemeFactory();
- private java.lang.String full_class_name; // required
- private java.util.List<JavaObjectArg> args_list; // required
+ private @org.apache.storm.thrift.annotation.Nullable java.lang.String full_class_name; // required
+ private @org.apache.storm.thrift.annotation.Nullable java.util.List<JavaObjectArg> args_list; // required
/** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
public enum _Fields implements org.apache.storm.thrift.TFieldIdEnum {
@@ -53,6 +53,7 @@ public class JavaObject implements org.apache.storm.thrift.TBase<JavaObject, Jav
/**
* Find the _Fields constant that matches fieldId, or null if its not found.
*/
+ @org.apache.storm.thrift.annotation.Nullable
public static _Fields findByThriftId(int fieldId) {
switch(fieldId) {
case 1: // FULL_CLASS_NAME
@@ -77,6 +78,7 @@ public class JavaObject implements org.apache.storm.thrift.TBase<JavaObject, Jav
/**
* Find the _Fields constant that matches name, or null if its not found.
*/
+ @org.apache.storm.thrift.annotation.Nullable
public static _Fields findByName(java.lang.String name) {
return byName.get(name);
}
@@ -149,11 +151,12 @@ public class JavaObject implements org.apache.storm.thrift.TBase<JavaObject, Jav
this.args_list = null;
}
+ @org.apache.storm.thrift.annotation.Nullable
public java.lang.String get_full_class_name() {
return this.full_class_name;
}
- public void set_full_class_name(java.lang.String full_class_name) {
+ public void set_full_class_name(@org.apache.storm.thrift.annotation.Nullable java.lang.String full_class_name) {
this.full_class_name = full_class_name;
}
@@ -176,6 +179,7 @@ public class JavaObject implements org.apache.storm.thrift.TBase<JavaObject, Jav
return (this.args_list == null) ? 0 : this.args_list.size();
}
+ @org.apache.storm.thrift.annotation.Nullable
public java.util.Iterator<JavaObjectArg> get_args_list_iterator() {
return (this.args_list == null) ? null : this.args_list.iterator();
}
@@ -187,11 +191,12 @@ public class JavaObject implements org.apache.storm.thrift.TBase<JavaObject, Jav
this.args_list.add(elem);
}
+ @org.apache.storm.thrift.annotation.Nullable
public java.util.List<JavaObjectArg> get_args_list() {
return this.args_list;
}
- public void set_args_list(java.util.List<JavaObjectArg> args_list) {
+ public void set_args_list(@org.apache.storm.thrift.annotation.Nullable java.util.List<JavaObjectArg> args_list) {
this.args_list = args_list;
}
@@ -210,7 +215,7 @@ public class JavaObject implements org.apache.storm.thrift.TBase<JavaObject, Jav
}
}
- public void setFieldValue(_Fields field, java.lang.Object value) {
+ public void setFieldValue(_Fields field, @org.apache.storm.thrift.annotation.Nullable java.lang.Object value) {
switch (field) {
case FULL_CLASS_NAME:
if (value == null) {
@@ -231,6 +236,7 @@ public class JavaObject implements org.apache.storm.thrift.TBase<JavaObject, Jav
}
}
+ @org.apache.storm.thrift.annotation.Nullable
public java.lang.Object getFieldValue(_Fields field) {
switch (field) {
case FULL_CLASS_NAME:
@@ -340,6 +346,7 @@ public class JavaObject implements org.apache.storm.thrift.TBase<JavaObject, Jav
return 0;
}
+ @org.apache.storm.thrift.annotation.Nullable
public _Fields fieldForId(int fieldId) {
return _Fields.findByThriftId(fieldId);
}
@@ -436,7 +443,7 @@ public class JavaObject implements org.apache.storm.thrift.TBase<JavaObject, Jav
{
org.apache.storm.thrift.protocol.TList _list0 = iprot.readListBegin();
struct.args_list = new java.util.ArrayList<JavaObjectArg>(_list0.size);
- JavaObjectArg _elem1;
+ @org.apache.storm.thrift.annotation.Nullable JavaObjectArg _elem1;
for (int _i2 = 0; _i2 < _list0.size; ++_i2)
{
_elem1 = new JavaObjectArg();
@@ -515,7 +522,7 @@ public class JavaObject implements org.apache.storm.thrift.TBase<JavaObject, Jav
{
org.apache.storm.thrift.protocol.TList _list5 = new org.apache.storm.thrift.protocol.TList(org.apache.storm.thrift.protocol.TType.STRUCT, iprot.readI32());
struct.args_list = new java.util.ArrayList<JavaObjectArg>(_list5.size);
- JavaObjectArg _elem6;
+ @org.apache.storm.thrift.annotation.Nullable JavaObjectArg _elem6;
for (int _i7 = 0; _i7 < _list5.size; ++_i7)
{
_elem6 = new JavaObjectArg();
diff --git a/storm-client/src/jvm/org/apache/storm/generated/JavaObjectArg.java b/storm-client/src/jvm/org/apache/storm/generated/JavaObjectArg.java
index 177e11d..89ad6c6 100644
--- a/storm-client/src/jvm/org/apache/storm/generated/JavaObjectArg.java
+++ b/storm-client/src/jvm/org/apache/storm/generated/JavaObjectArg.java
@@ -16,7 +16,7 @@
* limitations under the License.
*/
/**
- * Autogenerated by Thrift Compiler (0.11.0)
+ * Autogenerated by Thrift Compiler (0.12.0)
*
* DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
* @generated
@@ -24,6 +24,7 @@
package org.apache.storm.generated;
@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked", "unused"})
+@javax.annotation.Generated(value = "Autogenerated by Thrift Compiler (0.12.0)")
public class JavaObjectArg extends org.apache.storm.thrift.TUnion<JavaObjectArg, JavaObjectArg._Fields> {
private static final org.apache.storm.thrift.protocol.TStruct STRUCT_DESC = new org.apache.storm.thrift.protocol.TStruct("JavaObjectArg");
private static final org.apache.storm.thrift.protocol.TField INT_ARG_FIELD_DESC = new org.apache.storm.thrift.protocol.TField("int_arg", org.apache.storm.thrift.protocol.TType.I32, (short)1);
@@ -53,6 +54,7 @@ public class JavaObjectArg extends org.apache.storm.thrift.TUnion<JavaObjectArg,
/**
* Find the _Fields constant that matches fieldId, or null if its not found.
*/
+ @org.apache.storm.thrift.annotation.Nullable
public static _Fields findByThriftId(int fieldId) {
switch(fieldId) {
case 1: // INT_ARG
@@ -85,6 +87,7 @@ public class JavaObjectArg extends org.apache.storm.thrift.TUnion<JavaObjectArg,
/**
* Find the _Fields constant that matches name, or null if its not found.
*/
+ @org.apache.storm.thrift.annotation.Nullable
public static _Fields findByName(java.lang.String name) {
return byName.get(name);
}
@@ -172,7 +175,7 @@ public class JavaObjectArg extends org.apache.storm.thrift.TUnion<JavaObjectArg,
public static JavaObjectArg binary_arg(byte[] value) {
JavaObjectArg x = new JavaObjectArg();
- x.set_binary_arg(java.nio.ByteBuffer.wrap(value.clone()));
+ x.set_binary_arg (java.nio.ByteBuffer.wrap(value.clone()));
return x;
}
@@ -420,6 +423,7 @@ public class JavaObjectArg extends org.apache.storm.thrift.TUnion<JavaObjectArg,
return _Fields.findByThriftIdOrThrow(id);
}
+ @org.apache.storm.thrift.annotation.Nullable
public _Fields fieldForId(int fieldId) {
return _Fields.findByThriftId(fieldId);
}
@@ -493,7 +497,7 @@ public class JavaObjectArg extends org.apache.storm.thrift.TUnion<JavaObjectArg,
}
public void set_binary_arg(byte[] value) {
- set_binary_arg(java.nio.ByteBuffer.wrap(value.clone()));
+ set_binary_arg (java.nio.ByteBuffer.wrap(value.clone()));
}
public void set_binary_arg(java.nio.ByteBuffer value) {
diff --git a/storm-client/src/jvm/org/apache/storm/generated/KeyAlreadyExistsException.java b/storm-client/src/jvm/org/apache/storm/generated/KeyAlreadyExistsException.java
index 0bf9545..79bc94a 100644
--- a/storm-client/src/jvm/org/apache/storm/generated/KeyAlreadyExistsException.java
+++ b/storm-client/src/jvm/org/apache/storm/generated/KeyAlreadyExistsException.java
@@ -16,7 +16,7 @@
* limitations under the License.
*/
/**
- * Autogenerated by Thrift Compiler (0.11.0)
+ * Autogenerated by Thrift Compiler (0.12.0)
*
* DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
* @generated
@@ -24,7 +24,7 @@
package org.apache.storm.generated;
@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked", "unused"})
-@javax.annotation.Generated(value = "Autogenerated by Thrift Compiler (0.11.0)")
+@javax.annotation.Generated(value = "Autogenerated by Thrift Compiler (0.12.0)")
public class KeyAlreadyExistsException extends org.apache.storm.thrift.TException implements org.apache.storm.thrift.TBase<KeyAlreadyExistsException, KeyAlreadyExistsException._Fields>, java.io.Serializable, Cloneable, Comparable<KeyAlreadyExistsException> {
private static final org.apache.storm.thrift.protocol.TStruct STRUCT_DESC = new org.apache.storm.thrift.protocol.TStruct("KeyAlreadyExistsException");
@@ -33,7 +33,7 @@ public class KeyAlreadyExistsException extends org.apache.storm.thrift.TExceptio
private static final org.apache.storm.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new KeyAlreadyExistsExceptionStandardSchemeFactory();
private static final org.apache.storm.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new KeyAlreadyExistsExceptionTupleSchemeFactory();
- private java.lang.String msg; // required
+ private @org.apache.storm.thrift.annotation.Nullable java.lang.String msg; // required
/** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
public enum _Fields implements org.apache.storm.thrift.TFieldIdEnum {
@@ -50,6 +50,7 @@ public class KeyAlreadyExistsException extends org.apache.storm.thrift.TExceptio
/**
* Find the _Fields constant that matches fieldId, or null if its not found.
*/
+ @org.apache.storm.thrift.annotation.Nullable
public static _Fields findByThriftId(int fieldId) {
switch(fieldId) {
case 1: // MSG
@@ -72,6 +73,7 @@ public class KeyAlreadyExistsException extends org.apache.storm.thrift.TExceptio
/**
* Find the _Fields constant that matches name, or null if its not found.
*/
+ @org.apache.storm.thrift.annotation.Nullable
public static _Fields findByName(java.lang.String name) {
return byName.get(name);
}
@@ -131,11 +133,12 @@ public class KeyAlreadyExistsException extends org.apache.storm.thrift.TExceptio
this.msg = null;
}
+ @org.apache.storm.thrift.annotation.Nullable
public java.lang.String get_msg() {
return this.msg;
}
- public void set_msg(java.lang.String msg) {
+ public void set_msg(@org.apache.storm.thrift.annotation.Nullable java.lang.String msg) {
this.msg = msg;
}
@@ -154,7 +157,7 @@ public class KeyAlreadyExistsException extends org.apache.storm.thrift.TExceptio
}
}
- public void setFieldValue(_Fields field, java.lang.Object value) {
+ public void setFieldValue(_Fields field, @org.apache.storm.thrift.annotation.Nullable java.lang.Object value) {
switch (field) {
case MSG:
if (value == null) {
@@ -167,6 +170,7 @@ public class KeyAlreadyExistsException extends org.apache.storm.thrift.TExceptio
}
}
+ @org.apache.storm.thrift.annotation.Nullable
public java.lang.Object getFieldValue(_Fields field) {
switch (field) {
case MSG:
@@ -248,6 +252,7 @@ public class KeyAlreadyExistsException extends org.apache.storm.thrift.TExceptio
return 0;
}
+ @org.apache.storm.thrift.annotation.Nullable
public _Fields fieldForId(int fieldId) {
return _Fields.findByThriftId(fieldId);
}
diff --git a/storm-client/src/jvm/org/apache/storm/generated/KeyNotFoundException.java b/storm-client/src/jvm/org/apache/storm/generated/KeyNotFoundException.java
index e8fafd7..55039ee 100644
--- a/storm-client/src/jvm/org/apache/storm/generated/KeyNotFoundException.java
+++ b/storm-client/src/jvm/org/apache/storm/generated/KeyNotFoundException.java
@@ -16,7 +16,7 @@
* limitations under the License.
*/
/**
- * Autogenerated by Thrift Compiler (0.11.0)
+ * Autogenerated by Thrift Compiler (0.12.0)
*
* DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
* @generated
@@ -24,7 +24,7 @@
package org.apache.storm.generated;
@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked", "unused"})
-@javax.annotation.Generated(value = "Autogenerated by Thrift Compiler (0.11.0)")
+@javax.annotation.Generated(value = "Autogenerated by Thrift Compiler (0.12.0)")
public class KeyNotFoundException extends org.apache.storm.thrift.TException implements org.apache.storm.thrift.TBase<KeyNotFoundException, KeyNotFoundException._Fields>, java.io.Serializable, Cloneable, Comparable<KeyNotFoundException> {
private static final org.apache.storm.thrift.protocol.TStruct STRUCT_DESC = new org.apache.storm.thrift.protocol.TStruct("KeyNotFoundException");
@@ -33,7 +33,7 @@ public class KeyNotFoundException extends org.apache.storm.thrift.TException imp
private static final org.apache.storm.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new KeyNotFoundExceptionStandardSchemeFactory();
private static final org.apache.storm.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new KeyNotFoundExceptionTupleSchemeFactory();
- private java.lang.String msg; // required
+ private @org.apache.storm.thrift.annotation.Nullable java.lang.String msg; // required
/** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
public enum _Fields implements org.apache.storm.thrift.TFieldIdEnum {
@@ -50,6 +50,7 @@ public class KeyNotFoundException extends org.apache.storm.thrift.TException imp
/**
* Find the _Fields constant that matches fieldId, or null if its not found.
*/
+ @org.apache.storm.thrift.annotation.Nullable
public static _Fields findByThriftId(int fieldId) {
switch(fieldId) {
case 1: // MSG
@@ -72,6 +73,7 @@ public class KeyNotFoundException extends org.apache.storm.thrift.TException imp
/**
* Find the _Fields constant that matches name, or null if its not found.
*/
+ @org.apache.storm.thrift.annotation.Nullable
public static _Fields findByName(java.lang.String name) {
return byName.get(name);
}
@@ -131,11 +133,12 @@ public class KeyNotFoundException extends org.apache.storm.thrift.TException imp
this.msg = null;
}
+ @org.apache.storm.thrift.annotation.Nullable
public java.lang.String get_msg() {
return this.msg;
}
- public void set_msg(java.lang.String msg) {
+ public void set_msg(@org.apache.storm.thrift.annotation.Nullable java.lang.String msg) {
this.msg = msg;
}
@@ -154,7 +157,7 @@ public class KeyNotFoundException extends org.apache.storm.thrift.TException imp
}
}
- public void setFieldValue(_Fields field, java.lang.Object value) {
+ public void setFieldValue(_Fields field, @org.apache.storm.thrift.annotation.Nullable java.lang.Object value) {
switch (field) {
case MSG:
if (value == null) {
@@ -167,6 +170,7 @@ public class KeyNotFoundException extends org.apache.storm.thrift.TException imp
}
}
+ @org.apache.storm.thrift.annotation.Nullable
public java.lang.Object getFieldValue(_Fields field) {
switch (field) {
case MSG:
@@ -248,6 +252,7 @@ public class KeyNotFoundException extends org.apache.storm.thrift.TException imp
return 0;
}
+ @org.apache.storm.thrift.annotation.Nullable
public _Fields fieldForId(int fieldId) {
return _Fields.findByThriftId(fieldId);
}
diff --git a/storm-client/src/jvm/org/apache/storm/generated/KillOptions.java b/storm-client/src/jvm/org/apache/storm/generated/KillOptions.java
index 3b8a3d1..1ab7693 100644
--- a/storm-client/src/jvm/org/apache/storm/generated/KillOptions.java
+++ b/storm-client/src/jvm/org/apache/storm/generated/KillOptions.java
@@ -16,7 +16,7 @@
* limitations under the License.
*/
/**
- * Autogenerated by Thrift Compiler (0.11.0)
+ * Autogenerated by Thrift Compiler (0.12.0)
*
* DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
* @generated
@@ -24,7 +24,7 @@
package org.apache.storm.generated;
@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked", "unused"})
-@javax.annotation.Generated(value = "Autogenerated by Thrift Compiler (0.11.0)")
+@javax.annotation.Generated(value = "Autogenerated by Thrift Compiler (0.12.0)")
public class KillOptions implements org.apache.storm.thrift.TBase<KillOptions, KillOptions._Fields>, java.io.Serializable, Cloneable, Comparable<KillOptions> {
private static final org.apache.storm.thrift.protocol.TStruct STRUCT_DESC = new org.apache.storm.thrift.protocol.TStruct("KillOptions");
@@ -50,6 +50,7 @@ public class KillOptions implements org.apache.storm.thrift.TBase<KillOptions, K
/**
* Find the _Fields constant that matches fieldId, or null if its not found.
*/
+ @org.apache.storm.thrift.annotation.Nullable
public static _Fields findByThriftId(int fieldId) {
switch(fieldId) {
case 1: // WAIT_SECS
@@ -72,6 +73,7 @@ public class KillOptions implements org.apache.storm.thrift.TBase<KillOptions, K
/**
* Find the _Fields constant that matches name, or null if its not found.
*/
+ @org.apache.storm.thrift.annotation.Nullable
public static _Fields findByName(java.lang.String name) {
return byName.get(name);
}
@@ -149,7 +151,7 @@ public class KillOptions implements org.apache.storm.thrift.TBase<KillOptions, K
__isset_bitfield = org.apache.storm.thrift.EncodingUtils.setBit(__isset_bitfield, __WAIT_SECS_ISSET_ID, value);
}
- public void setFieldValue(_Fields field, java.lang.Object value) {
+ public void setFieldValue(_Fields field, @org.apache.storm.thrift.annotation.Nullable java.lang.Object value) {
switch (field) {
case WAIT_SECS:
if (value == null) {
@@ -162,6 +164,7 @@ public class KillOptions implements org.apache.storm.thrift.TBase<KillOptions, K
}
}
+ @org.apache.storm.thrift.annotation.Nullable
public java.lang.Object getFieldValue(_Fields field) {
switch (field) {
case WAIT_SECS:
@@ -243,6 +246,7 @@ public class KillOptions implements org.apache.storm.thrift.TBase<KillOptions, K
return 0;
}
+ @org.apache.storm.thrift.annotation.Nullable
public _Fields fieldForId(int fieldId) {
return _Fields.findByThriftId(fieldId);
}
diff --git a/storm-client/src/jvm/org/apache/storm/generated/LSApprovedWorkers.java b/storm-client/src/jvm/org/apache/storm/generated/LSApprovedWorkers.java
index 8e4cb0e..4370d1a 100644
--- a/storm-client/src/jvm/org/apache/storm/generated/LSApprovedWorkers.java
+++ b/storm-client/src/jvm/org/apache/storm/generated/LSApprovedWorkers.java
@@ -16,7 +16,7 @@
* limitations under the License.
*/
/**
- * Autogenerated by Thrift Compiler (0.11.0)
+ * Autogenerated by Thrift Compiler (0.12.0)
*
* DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
* @generated
@@ -24,7 +24,7 @@
package org.apache.storm.generated;
@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked", "unused"})
-@javax.annotation.Generated(value = "Autogenerated by Thrift Compiler (0.11.0)")
+@javax.annotation.Generated(value = "Autogenerated by Thrift Compiler (0.12.0)")
public class LSApprovedWorkers implements org.apache.storm.thrift.TBase<LSApprovedWorkers, LSApprovedWorkers._Fields>, java.io.Serializable, Cloneable, Comparable<LSApprovedWorkers> {
private static final org.apache.storm.thrift.protocol.TStruct STRUCT_DESC = new org.apache.storm.thrift.protocol.TStruct("LSApprovedWorkers");
@@ -33,7 +33,7 @@ public class LSApprovedWorkers implements org.apache.storm.thrift.TBase<LSApprov
private static final org.apache.storm.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new LSApprovedWorkersStandardSchemeFactory();
private static final org.apache.storm.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new LSApprovedWorkersTupleSchemeFactory();
- private java.util.Map<java.lang.String,java.lang.Integer> approved_workers; // required
+ private @org.apache.storm.thrift.annotation.Nullable java.util.Map<java.lang.String,java.lang.Integer> approved_workers; // required
/** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
public enum _Fields implements org.apache.storm.thrift.TFieldIdEnum {
@@ -50,6 +50,7 @@ public class LSApprovedWorkers implements org.apache.storm.thrift.TBase<LSApprov
/**
* Find the _Fields constant that matches fieldId, or null if its not found.
*/
+ @org.apache.storm.thrift.annotation.Nullable
public static _Fields findByThriftId(int fieldId) {
switch(fieldId) {
case 1: // APPROVED_WORKERS
@@ -72,6 +73,7 @@ public class LSApprovedWorkers implements org.apache.storm.thrift.TBase<LSApprov
/**
* Find the _Fields constant that matches name, or null if its not found.
*/
+ @org.apache.storm.thrift.annotation.Nullable
public static _Fields findByName(java.lang.String name) {
return byName.get(name);
}
@@ -145,11 +147,12 @@ public class LSApprovedWorkers implements org.apache.storm.thrift.TBase<LSApprov
this.approved_workers.put(key, val);
}
+ @org.apache.storm.thrift.annotation.Nullable
public java.util.Map<java.lang.String,java.lang.Integer> get_approved_workers() {
return this.approved_workers;
}
- public void set_approved_workers(java.util.Map<java.lang.String,java.lang.Integer> approved_workers) {
+ public void set_approved_workers(@org.apache.storm.thrift.annotation.Nullable java.util.Map<java.lang.String,java.lang.Integer> approved_workers) {
this.approved_workers = approved_workers;
}
@@ -168,7 +171,7 @@ public class LSApprovedWorkers implements org.apache.storm.thrift.TBase<LSApprov
}
}
- public void setFieldValue(_Fields field, java.lang.Object value) {
+ public void setFieldValue(_Fields field, @org.apache.storm.thrift.annotation.Nullable java.lang.Object value) {
switch (field) {
case APPROVED_WORKERS:
if (value == null) {
@@ -181,6 +184,7 @@ public class LSApprovedWorkers implements org.apache.storm.thrift.TBase<LSApprov
}
}
+ @org.apache.storm.thrift.annotation.Nullable
public java.lang.Object getFieldValue(_Fields field) {
switch (field) {
case APPROVED_WORKERS:
@@ -262,6 +266,7 @@ public class LSApprovedWorkers implements org.apache.storm.thrift.TBase<LSApprov
return 0;
}
+ @org.apache.storm.thrift.annotation.Nullable
public _Fields fieldForId(int fieldId) {
return _Fields.findByThriftId(fieldId);
}
@@ -338,7 +343,7 @@ public class LSApprovedWorkers implements org.apache.storm.thrift.TBase<LSApprov
{
org.apache.storm.thrift.protocol.TMap _map800 = iprot.readMapBegin();
struct.approved_workers = new java.util.HashMap<java.lang.String,java.lang.Integer>(2*_map800.size);
- java.lang.String _key801;
+ @org.apache.storm.thrift.annotation.Nullable java.lang.String _key801;
int _val802;
for (int _i803 = 0; _i803 < _map800.size; ++_i803)
{
@@ -412,7 +417,7 @@ public class LSApprovedWorkers implements org.apache.storm.thrift.TBase<LSApprov
{
org.apache.storm.thrift.protocol.TMap _map806 = new org.apache.storm.thrift.protocol.TMap(org.apache.storm.thrift.protocol.TType.STRING, org.apache.storm.thrift.protocol.TType.I32, iprot.readI32());
struct.approved_workers = new java.util.HashMap<java.lang.String,java.lang.Integer>(2*_map806.size);
- java.lang.String _key807;
+ @org.apache.storm.thrift.annotation.Nullable java.lang.String _key807;
int _val808;
for (int _i809 = 0; _i809 < _map806.size; ++_i809)
{
diff --git a/storm-client/src/jvm/org/apache/storm/generated/LSSupervisorAssignments.java b/storm-client/src/jvm/org/apache/storm/generated/LSSupervisorAssignments.java
index b6909e7..129259a 100644
--- a/storm-client/src/jvm/org/apache/storm/generated/LSSupervisorAssignments.java
+++ b/storm-client/src/jvm/org/apache/storm/generated/LSSupervisorAssignments.java
@@ -16,7 +16,7 @@
* limitations under the License.
*/
/**
- * Autogenerated by Thrift Compiler (0.11.0)
+ * Autogenerated by Thrift Compiler (0.12.0)
*
* DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
* @generated
@@ -24,7 +24,7 @@
package org.apache.storm.generated;
@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked", "unused"})
-@javax.annotation.Generated(value = "Autogenerated by Thrift Compiler (0.11.0)")
+@javax.annotation.Generated(value = "Autogenerated by Thrift Compiler (0.12.0)")
public class LSSupervisorAssignments implements org.apache.storm.thrift.TBase<LSSupervisorAssignments, LSSupervisorAssignments._Fields>, java.io.Serializable, Cloneable, Comparable<LSSupervisorAssignments> {
private static final org.apache.storm.thrift.protocol.TStruct STRUCT_DESC = new org.apache.storm.thrift.protocol.TStruct("LSSupervisorAssignments");
@@ -33,7 +33,7 @@ public class LSSupervisorAssignments implements org.apache.storm.thrift.TBase<LS
private static final org.apache.storm.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new LSSupervisorAssignmentsStandardSchemeFactory();
private static final org.apache.storm.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new LSSupervisorAssignmentsTupleSchemeFactory();
- private java.util.Map<java.lang.Integer,LocalAssignment> assignments; // required
+ private @org.apache.storm.thrift.annotation.Nullable java.util.Map<java.lang.Integer,LocalAssignment> assignments; // required
/** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
public enum _Fields implements org.apache.storm.thrift.TFieldIdEnum {
@@ -50,6 +50,7 @@ public class LSSupervisorAssignments implements org.apache.storm.thrift.TBase<LS
/**
* Find the _Fields constant that matches fieldId, or null if its not found.
*/
+ @org.apache.storm.thrift.annotation.Nullable
public static _Fields findByThriftId(int fieldId) {
switch(fieldId) {
case 1: // ASSIGNMENTS
@@ -72,6 +73,7 @@ public class LSSupervisorAssignments implements org.apache.storm.thrift.TBase<LS
/**
* Find the _Fields constant that matches name, or null if its not found.
*/
+ @org.apache.storm.thrift.annotation.Nullable
public static _Fields findByName(java.lang.String name) {
return byName.get(name);
}
@@ -156,11 +158,12 @@ public class LSSupervisorAssignments implements org.apache.storm.thrift.TBase<LS
this.assignments.put(key, val);
}
+ @org.apache.storm.thrift.annotation.Nullable
public java.util.Map<java.lang.Integer,LocalAssignment> get_assignments() {
return this.assignments;
}
- public void set_assignments(java.util.Map<java.lang.Integer,LocalAssignment> assignments) {
+ public void set_assignments(@org.apache.storm.thrift.annotation.Nullable java.util.Map<java.lang.Integer,LocalAssignment> assignments) {
this.assignments = assignments;
}
@@ -179,7 +182,7 @@ public class LSSupervisorAssignments implements org.apache.storm.thrift.TBase<LS
}
}
- public void setFieldValue(_Fields field, java.lang.Object value) {
+ public void setFieldValue(_Fields field, @org.apache.storm.thrift.annotation.Nullable java.lang.Object value) {
switch (field) {
case ASSIGNMENTS:
if (value == null) {
@@ -192,6 +195,7 @@ public class LSSupervisorAssignments implements org.apache.storm.thrift.TBase<LS
}
}
+ @org.apache.storm.thrift.annotation.Nullable
public java.lang.Object getFieldValue(_Fields field) {
switch (field) {
case ASSIGNMENTS:
@@ -273,6 +277,7 @@ public class LSSupervisorAssignments implements org.apache.storm.thrift.TBase<LS
return 0;
}
+ @org.apache.storm.thrift.annotation.Nullable
public _Fields fieldForId(int fieldId) {
return _Fields.findByThriftId(fieldId);
}
@@ -350,7 +355,7 @@ public class LSSupervisorAssignments implements org.apache.storm.thrift.TBase<LS
org.apache.storm.thrift.protocol.TMap _map810 = iprot.readMapBegin();
struct.assignments = new java.util.HashMap<java.lang.Integer,LocalAssignment>(2*_map810.size);
int _key811;
- LocalAssignment _val812;
+ @org.apache.storm.thrift.annotation.Nullable LocalAssignment _val812;
for (int _i813 = 0; _i813 < _map810.size; ++_i813)
{
_key811 = iprot.readI32();
@@ -425,7 +430,7 @@ public class LSSupervisorAssignments implements org.apache.storm.thrift.TBase<LS
org.apache.storm.thrift.protocol.TMap _map816 = new org.apache.storm.thrift.protocol.TMap(org.apache.storm.thrift.protocol.TType.I32, org.apache.storm.thrift.protocol.TType.STRUCT, iprot.readI32());
struct.assignments = new java.util.HashMap<java.lang.Integer,LocalAssignment>(2*_map816.size);
int _key817;
- LocalAssignment _val818;
+ @org.apache.storm.thrift.annotation.Nullable LocalAssignment _val818;
for (int _i819 = 0; _i819 < _map816.size; ++_i819)
{
_key817 = iprot.readI32();
diff --git a/storm-client/src/jvm/org/apache/storm/generated/LSSupervisorId.java b/storm-client/src/jvm/org/apache/storm/generated/LSSupervisorId.java
index 96d5820..416dcb6 100644
--- a/storm-client/src/jvm/org/apache/storm/generated/LSSupervisorId.java
+++ b/storm-client/src/jvm/org/apache/storm/generated/LSSupervisorId.java
@@ -16,7 +16,7 @@
* limitations under the License.
*/
/**
- * Autogenerated by Thrift Compiler (0.11.0)
+ * Autogenerated by Thrift Compiler (0.12.0)
*
* DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
* @generated
@@ -24,7 +24,7 @@
package org.apache.storm.generated;
@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked", "unused"})
-@javax.annotation.Generated(value = "Autogenerated by Thrift Compiler (0.11.0)")
+@javax.annotation.Generated(value = "Autogenerated by Thrift Compiler (0.12.0)")
public class LSSupervisorId implements org.apache.storm.thrift.TBase<LSSupervisorId, LSSupervisorId._Fields>, java.io.Serializable, Cloneable, Comparable<LSSupervisorId> {
private static final org.apache.storm.thrift.protocol.TStruct STRUCT_DESC = new org.apache.storm.thrift.protocol.TStruct("LSSupervisorId");
@@ -33,7 +33,7 @@ public class LSSupervisorId implements org.apache.storm.thrift.TBase<LSSuperviso
private static final org.apache.storm.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new LSSupervisorIdStandardSchemeFactory();
private static final org.apache.storm.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new LSSupervisorIdTupleSchemeFactory();
- private java.lang.String supervisor_id; // required
+ private @org.apache.storm.thrift.annotation.Nullable java.lang.String supervisor_id; // required
/** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
public enum _Fields implements org.apache.storm.thrift.TFieldIdEnum {
@@ -50,6 +50,7 @@ public class LSSupervisorId implements org.apache.storm.thrift.TBase<LSSuperviso
/**
* Find the _Fields constant that matches fieldId, or null if its not found.
*/
+ @org.apache.storm.thrift.annotation.Nullable
public static _Fields findByThriftId(int fieldId) {
switch(fieldId) {
case 1: // SUPERVISOR_ID
@@ -72,6 +73,7 @@ public class LSSupervisorId implements org.apache.storm.thrift.TBase<LSSuperviso
/**
* Find the _Fields constant that matches name, or null if its not found.
*/
+ @org.apache.storm.thrift.annotation.Nullable
public static _Fields findByName(java.lang.String name) {
return byName.get(name);
}
@@ -131,11 +133,12 @@ public class LSSupervisorId implements org.apache.storm.thrift.TBase<LSSuperviso
this.supervisor_id = null;
}
+ @org.apache.storm.thrift.annotation.Nullable
public java.lang.String get_supervisor_id() {
return this.supervisor_id;
}
- public void set_supervisor_id(java.lang.String supervisor_id) {
+ public void set_supervisor_id(@org.apache.storm.thrift.annotation.Nullable java.lang.String supervisor_id) {
this.supervisor_id = supervisor_id;
}
@@ -154,7 +157,7 @@ public class LSSupervisorId implements org.apache.storm.thrift.TBase<LSSuperviso
}
}
- public void setFieldValue(_Fields field, java.lang.Object value) {
+ public void setFieldValue(_Fields field, @org.apache.storm.thrift.annotation.Nullable java.lang.Object value) {
switch (field) {
case SUPERVISOR_ID:
if (value == null) {
@@ -167,6 +170,7 @@ public class LSSupervisorId implements org.apache.storm.thrift.TBase<LSSuperviso
}
}
+ @org.apache.storm.thrift.annotation.Nullable
public java.lang.Object getFieldValue(_Fields field) {
switch (field) {
case SUPERVISOR_ID:
@@ -248,6 +252,7 @@ public class LSSupervisorId implements org.apache.storm.thrift.TBase<LSSuperviso
return 0;
}
+ @org.apache.storm.thrift.annotation.Nullable
public _Fields fieldForId(int fieldId) {
return _Fields.findByThriftId(fieldId);
}
diff --git a/storm-client/src/jvm/org/apache/storm/generated/LSTopoHistory.java b/storm-client/src/jvm/org/apache/storm/generated/LSTopoHistory.java
index 6bff674..ef7e0ab 100644
--- a/storm-client/src/jvm/org/apache/storm/generated/LSTopoHistory.java
+++ b/storm-client/src/jvm/org/apache/storm/generated/LSTopoHistory.java
@@ -16,7 +16,7 @@
* limitations under the License.
*/
/**
- * Autogenerated by Thrift Compiler (0.11.0)
+ * Autogenerated by Thrift Compiler (0.12.0)
*
* DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
* @generated
@@ -24,7 +24,7 @@
package org.apache.storm.generated;
@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked", "unused"})
-@javax.annotation.Generated(value = "Autogenerated by Thrift Compiler (0.11.0)")
+@javax.annotation.Generated(value = "Autogenerated by Thrift Compiler (0.12.0)")
public class LSTopoHistory implements org.apache.storm.thrift.TBase<LSTopoHistory, LSTopoHistory._Fields>, java.io.Serializable, Cloneable, Comparable<LSTopoHistory> {
private static final org.apache.storm.thrift.protocol.TStruct STRUCT_DESC = new org.apache.storm.thrift.protocol.TStruct("LSTopoHistory");
@@ -36,10 +36,10 @@ public class LSTopoHistory implements org.apache.storm.thrift.TBase<LSTopoHistor
private static final org.apache.storm.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new LSTopoHistoryStandardSchemeFactory();
private static final org.apache.storm.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new LSTopoHistoryTupleSchemeFactory();
- private java.lang.String topology_id; // required
+ private @org.apache.storm.thrift.annotation.Nullable java.lang.String topology_id; // required
private long time_stamp; // required
- private java.util.List<java.lang.String> users; // required
- private java.util.List<java.lang.String> groups; // required
+ private @org.apache.storm.thrift.annotation.Nullable java.util.List<java.lang.String> users; // required
+ private @org.apache.storm.thrift.annotation.Nullable java.util.List<java.lang.String> groups; // required
/** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
public enum _Fields implements org.apache.storm.thrift.TFieldIdEnum {
@@ -59,6 +59,7 @@ public class LSTopoHistory implements org.apache.storm.thrift.TBase<LSTopoHistor
/**
* Find the _Fields constant that matches fieldId, or null if its not found.
*/
+ @org.apache.storm.thrift.annotation.Nullable
public static _Fields findByThriftId(int fieldId) {
switch(fieldId) {
case 1: // TOPOLOGY_ID
@@ -87,6 +88,7 @@ public class LSTopoHistory implements org.apache.storm.thrift.TBase<LSTopoHistor
/**
* Find the _Fields constant that matches name, or null if its not found.
*/
+ @org.apache.storm.thrift.annotation.Nullable
public static _Fields findByName(java.lang.String name) {
return byName.get(name);
}
@@ -177,11 +179,12 @@ public class LSTopoHistory implements org.apache.storm.thrift.TBase<LSTopoHistor
this.groups = null;
}
+ @org.apache.storm.thrift.annotation.Nullable
public java.lang.String get_topology_id() {
return this.topology_id;
}
- public void set_topology_id(java.lang.String topology_id) {
+ public void set_topology_id(@org.apache.storm.thrift.annotation.Nullable java.lang.String topology_id) {
this.topology_id = topology_id;
}
@@ -226,6 +229,7 @@ public class LSTopoHistory implements org.apache.storm.thrift.TBase<LSTopoHistor
return (this.users == null) ? 0 : this.users.size();
}
+ @org.apache.storm.thrift.annotation.Nullable
public java.util.Iterator<java.lang.String> get_users_iterator() {
return (this.users == null) ? null : this.users.iterator();
}
@@ -237,11 +241,12 @@ public class LSTopoHistory implements org.apache.storm.thrift.TBase<LSTopoHistor
this.users.add(elem);
}
+ @org.apache.storm.thrift.annotation.Nullable
public java.util.List<java.lang.String> get_users() {
return this.users;
}
- public void set_users(java.util.List<java.lang.String> users) {
+ public void set_users(@org.apache.storm.thrift.annotation.Nullable java.util.List<java.lang.String> users) {
this.users = users;
}
@@ -264,6 +269,7 @@ public class LSTopoHistory implements org.apache.storm.thrift.TBase<LSTopoHistor
return (this.groups == null) ? 0 : this.groups.size();
}
+ @org.apache.storm.thrift.annotation.Nullable
public java.util.Iterator<java.lang.String> get_groups_iterator() {
return (this.groups == null) ? null : this.groups.iterator();
}
@@ -275,11 +281,12 @@ public class LSTopoHistory implements org.apache.storm.thrift.TBase<LSTopoHistor
this.groups.add(elem);
}
+ @org.apache.storm.thrift.annotation.Nullable
public java.util.List<java.lang.String> get_groups() {
return this.groups;
}
- public void set_groups(java.util.List<java.lang.String> groups) {
+ public void set_groups(@org.apache.storm.thrift.annotation.Nullable java.util.List<java.lang.String> groups) {
this.groups = groups;
}
@@ -298,7 +305,7 @@ public class LSTopoHistory implements org.apache.storm.thrift.TBase<LSTopoHistor
}
}
- public void setFieldValue(_Fields field, java.lang.Object value) {
+ public void setFieldValue(_Fields field, @org.apache.storm.thrift.annotation.Nullable java.lang.Object value) {
switch (field) {
case TOPOLOGY_ID:
if (value == null) {
@@ -335,6 +342,7 @@ public class LSTopoHistory implements org.apache.storm.thrift.TBase<LSTopoHistor
}
}
+ @org.apache.storm.thrift.annotation.Nullable
public java.lang.Object getFieldValue(_Fields field) {
switch (field) {
case TOPOLOGY_ID:
@@ -498,6 +506,7 @@ public class LSTopoHistory implements org.apache.storm.thrift.TBase<LSTopoHistor
return 0;
}
+ @org.apache.storm.thrift.annotation.Nullable
public _Fields fieldForId(int fieldId) {
return _Fields.findByThriftId(fieldId);
}
@@ -624,7 +633,7 @@ public class LSTopoHistory implements org.apache.storm.thrift.TBase<LSTopoHistor
{
org.apache.storm.thrift.protocol.TList _list828 = iprot.readListBegin();
struct.users = new java.util.ArrayList<java.lang.String>(_list828.size);
- java.lang.String _elem829;
+ @org.apache.storm.thrift.annotation.Nullable java.lang.String _elem829;
for (int _i830 = 0; _i830 < _list828.size; ++_i830)
{
_elem829 = iprot.readString();
@@ -642,7 +651,7 @@ public class LSTopoHistory implements org.apache.storm.thrift.TBase<LSTopoHistor
{
org.apache.storm.thrift.protocol.TList _list831 = iprot.readListBegin();
struct.groups = new java.util.ArrayList<java.lang.String>(_list831.size);
- java.lang.String _elem832;
+ @org.apache.storm.thrift.annotation.Nullable java.lang.String _elem832;
for (int _i833 = 0; _i833 < _list831.size; ++_i833)
{
_elem832 = iprot.readString();
@@ -745,7 +754,7 @@ public class LSTopoHistory implements org.apache.storm.thrift.TBase<LSTopoHistor
{
org.apache.storm.thrift.protocol.TList _list838 = new org.apache.storm.thrift.protocol.TList(org.apache.storm.thrift.protocol.TType.STRING, iprot.readI32());
struct.users = new java.util.ArrayList<java.lang.String>(_list838.size);
- java.lang.String _elem839;
+ @org.apache.storm.thrift.annotation.Nullable java.lang.String _elem839;
for (int _i840 = 0; _i840 < _list838.size; ++_i840)
{
_elem839 = iprot.readString();
@@ -756,7 +765,7 @@ public class LSTopoHistory implements org.apache.storm.thrift.TBase<LSTopoHistor
{
org.apache.storm.thrift.protocol.TList _list841 = new org.apache.storm.thrift.protocol.TList(org.apache.storm.thrift.protocol.TType.STRING, iprot.readI32());
struct.groups = new java.util.ArrayList<java.lang.String>(_list841.size);
- java.lang.String _elem842;
+ @org.apache.storm.thrift.annotation.Nullable java.lang.String _elem842;
for (int _i843 = 0; _i843 < _list841.size; ++_i843)
{
_elem842 = iprot.readString();
diff --git a/storm-client/src/jvm/org/apache/storm/generated/LSTopoHistoryList.java b/storm-client/src/jvm/org/apache/storm/generated/LSTopoHistoryList.java
index 74d62a8..17afd66 100644
--- a/storm-client/src/jvm/org/apache/storm/generated/LSTopoHistoryList.java
+++ b/storm-client/src/jvm/org/apache/storm/generated/LSTopoHistoryList.java
@@ -16,7 +16,7 @@
* limitations under the License.
*/
/**
- * Autogenerated by Thrift Compiler (0.11.0)
+ * Autogenerated by Thrift Compiler (0.12.0)
*
* DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
* @generated
@@ -24,7 +24,7 @@
package org.apache.storm.generated;
@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked", "unused"})
-@javax.annotation.Generated(value = "Autogenerated by Thrift Compiler (0.11.0)")
+@javax.annotation.Generated(value = "Autogenerated by Thrift Compiler (0.12.0)")
public class LSTopoHistoryList implements org.apache.storm.thrift.TBase<LSTopoHistoryList, LSTopoHistoryList._Fields>, java.io.Serializable, Cloneable, Comparable<LSTopoHistoryList> {
private static final org.apache.storm.thrift.protocol.TStruct STRUCT_DESC = new org.apache.storm.thrift.protocol.TStruct("LSTopoHistoryList");
@@ -33,7 +33,7 @@ public class LSTopoHistoryList implements org.apache.storm.thrift.TBase<LSTopoHi
private static final org.apache.storm.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new LSTopoHistoryListStandardSchemeFactory();
private static final org.apache.storm.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new LSTopoHistoryListTupleSchemeFactory();
- private java.util.List<LSTopoHistory> topo_history; // required
+ private @org.apache.storm.thrift.annotation.Nullable java.util.List<LSTopoHistory> topo_history; // required
/** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
public enum _Fields implements org.apache.storm.thrift.TFieldIdEnum {
@@ -50,6 +50,7 @@ public class LSTopoHistoryList implements org.apache.storm.thrift.TBase<LSTopoHi
/**
* Find the _Fields constant that matches fieldId, or null if its not found.
*/
+ @org.apache.storm.thrift.annotation.Nullable
public static _Fields findByThriftId(int fieldId) {
switch(fieldId) {
case 1: // TOPO_HISTORY
@@ -72,6 +73,7 @@ public class LSTopoHistoryList implements org.apache.storm.thrift.TBase<LSTopoHi
/**
* Find the _Fields constant that matches name, or null if its not found.
*/
+ @org.apache.storm.thrift.annotation.Nullable
public static _Fields findByName(java.lang.String name) {
return byName.get(name);
}
@@ -140,6 +142,7 @@ public class LSTopoHistoryList implements org.apache.storm.thrift.TBase<LSTopoHi
return (this.topo_history == null) ? 0 : this.topo_history.size();
}
+ @org.apache.storm.thrift.annotation.Nullable
public java.util.Iterator<LSTopoHistory> get_topo_history_iterator() {
return (this.topo_history == null) ? null : this.topo_history.iterator();
}
@@ -151,11 +154,12 @@ public class LSTopoHistoryList implements org.apache.storm.thrift.TBase<LSTopoHi
this.topo_history.add(elem);
}
+ @org.apache.storm.thrift.annotation.Nullable
public java.util.List<LSTopoHistory> get_topo_history() {
return this.topo_history;
}
- public void set_topo_history(java.util.List<LSTopoHistory> topo_history) {
+ public void set_topo_history(@org.apache.storm.thrift.annotation.Nullable java.util.List<LSTopoHistory> topo_history) {
this.topo_history = topo_history;
}
@@ -174,7 +178,7 @@ public class LSTopoHistoryList implements org.apache.storm.thrift.TBase<LSTopoHi
}
}
- public void setFieldValue(_Fields field, java.lang.Object value) {
+ public void setFieldValue(_Fields field, @org.apache.storm.thrift.annotation.Nullable java.lang.Object value) {
switch (field) {
case TOPO_HISTORY:
if (value == null) {
@@ -187,6 +191,7 @@ public class LSTopoHistoryList implements org.apache.storm.thrift.TBase<LSTopoHi
}
}
+ @org.apache.storm.thrift.annotation.Nullable
public java.lang.Object getFieldValue(_Fields field) {
switch (field) {
case TOPO_HISTORY:
@@ -268,6 +273,7 @@ public class LSTopoHistoryList implements org.apache.storm.thrift.TBase<LSTopoHi
return 0;
}
+ @org.apache.storm.thrift.annotation.Nullable
public _Fields fieldForId(int fieldId) {
return _Fields.findByThriftId(fieldId);
}
@@ -344,7 +350,7 @@ public class LSTopoHistoryList implements org.apache.storm.thrift.TBase<LSTopoHi
{
org.apache.storm.thrift.protocol.TList _list844 = iprot.readListBegin();
struct.topo_history = new java.util.ArrayList<LSTopoHistory>(_list844.size);
- LSTopoHistory _elem845;
+ @org.apache.storm.thrift.annotation.Nullable LSTopoHistory _elem845;
for (int _i846 = 0; _i846 < _list844.size; ++_i846)
{
_elem845 = new LSTopoHistory();
@@ -415,7 +421,7 @@ public class LSTopoHistoryList implements org.apache.storm.thrift.TBase<LSTopoHi
{
org.apache.storm.thrift.protocol.TList _list849 = new org.apache.storm.thrift.protocol.TList(org.apache.storm.thrift.protocol.TType.STRUCT, iprot.readI32());
struct.topo_history = new java.util.ArrayList<LSTopoHistory>(_list849.size);
- LSTopoHistory _elem850;
+ @org.apache.storm.thrift.annotation.Nullable LSTopoHistory _elem850;
for (int _i851 = 0; _i851 < _list849.size; ++_i851)
{
_elem850 = new LSTopoHistory();
diff --git a/storm-client/src/jvm/org/apache/storm/generated/LSWorkerHeartbeat.java b/storm-client/src/jvm/org/apache/storm/generated/LSWorkerHeartbeat.java
index 836c222..4a01e3e 100644
--- a/storm-client/src/jvm/org/apache/storm/generated/LSWorkerHeartbeat.java
+++ b/storm-client/src/jvm/org/apache/storm/generated/LSWorkerHeartbeat.java
@@ -16,7 +16,7 @@
* limitations under the License.
*/
/**
- * Autogenerated by Thrift Compiler (0.11.0)
+ * Autogenerated by Thrift Compiler (0.12.0)
*
* DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
* @generated
@@ -24,7 +24,7 @@
package org.apache.storm.generated;
@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked", "unused"})
-@javax.annotation.Generated(value = "Autogenerated by Thrift Compiler (0.11.0)")
+@javax.annotation.Generated(value = "Autogenerated by Thrift Compiler (0.12.0)")
public class LSWorkerHeartbeat implements org.apache.storm.thrift.TBase<LSWorkerHeartbeat, LSWorkerHeartbeat._Fields>, java.io.Serializable, Cloneable, Comparable<LSWorkerHeartbeat> {
private static final org.apache.storm.thrift.protocol.TStruct STRUCT_DESC = new org.apache.storm.thrift.protocol.TStruct("LSWorkerHeartbeat");
@@ -37,8 +37,8 @@ public class LSWorkerHeartbeat implements org.apache.storm.thrift.TBase<LSWorker
private static final org.apache.storm.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new LSWorkerHeartbeatTupleSchemeFactory();
private int time_secs; // required
- private java.lang.String topology_id; // required
- private java.util.List<ExecutorInfo> executors; // required
+ private @org.apache.storm.thrift.annotation.Nullable java.lang.String topology_id; // required
+ private @org.apache.storm.thrift.annotation.Nullable java.util.List<ExecutorInfo> executors; // required
private int port; // required
/** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
@@ -59,6 +59,7 @@ public class LSWorkerHeartbeat implements org.apache.storm.thrift.TBase<LSWorker
/**
* Find the _Fields constant that matches fieldId, or null if its not found.
*/
+ @org.apache.storm.thrift.annotation.Nullable
public static _Fields findByThriftId(int fieldId) {
switch(fieldId) {
case 1: // TIME_SECS
@@ -87,6 +88,7 @@ public class LSWorkerHeartbeat implements org.apache.storm.thrift.TBase<LSWorker
/**
* Find the _Fields constant that matches name, or null if its not found.
*/
+ @org.apache.storm.thrift.annotation.Nullable
public static _Fields findByName(java.lang.String name) {
return byName.get(name);
}
@@ -201,11 +203,12 @@ public class LSWorkerHeartbeat implements org.apache.storm.thrift.TBase<LSWorker
__isset_bitfield = org.apache.storm.thrift.EncodingUtils.setBit(__isset_bitfield, __TIME_SECS_ISSET_ID, value);
}
+ @org.apache.storm.thrift.annotation.Nullable
public java.lang.String get_topology_id() {
return this.topology_id;
}
- public void set_topology_id(java.lang.String topology_id) {
+ public void set_topology_id(@org.apache.storm.thrift.annotation.Nullable java.lang.String topology_id) {
this.topology_id = topology_id;
}
@@ -228,6 +231,7 @@ public class LSWorkerHeartbeat implements org.apache.storm.thrift.TBase<LSWorker
return (this.executors == null) ? 0 : this.executors.size();
}
+ @org.apache.storm.thrift.annotation.Nullable
public java.util.Iterator<ExecutorInfo> get_executors_iterator() {
return (this.executors == null) ? null : this.executors.iterator();
}
@@ -239,11 +243,12 @@ public class LSWorkerHeartbeat implements org.apache.storm.thrift.TBase<LSWorker
this.executors.add(elem);
}
+ @org.apache.storm.thrift.annotation.Nullable
public java.util.List<ExecutorInfo> get_executors() {
return this.executors;
}
- public void set_executors(java.util.List<ExecutorInfo> executors) {
+ public void set_executors(@org.apache.storm.thrift.annotation.Nullable java.util.List<ExecutorInfo> executors) {
this.executors = executors;
}
@@ -284,7 +289,7 @@ public class LSWorkerHeartbeat implements org.apache.storm.thrift.TBase<LSWorker
__isset_bitfield = org.apache.storm.thrift.EncodingUtils.setBit(__isset_bitfield, __PORT_ISSET_ID, value);
}
- public void setFieldValue(_Fields field, java.lang.Object value) {
+ public void setFieldValue(_Fields field, @org.apache.storm.thrift.annotation.Nullable java.lang.Object value) {
switch (field) {
case TIME_SECS:
if (value == null) {
@@ -321,6 +326,7 @@ public class LSWorkerHeartbeat implements org.apache.storm.thrift.TBase<LSWorker
}
}
+ @org.apache.storm.thrift.annotation.Nullable
public java.lang.Object getFieldValue(_Fields field) {
switch (field) {
case TIME_SECS:
@@ -482,6 +488,7 @@ public class LSWorkerHeartbeat implements org.apache.storm.thrift.TBase<LSWorker
return 0;
}
+ @org.apache.storm.thrift.annotation.Nullable
public _Fields fieldForId(int fieldId) {
return _Fields.findByThriftId(fieldId);
}
@@ -604,7 +611,7 @@ public class LSWorkerHeartbeat implements org.apache.storm.thrift.TBase<LSWorker
{
org.apache.storm.thrift.protocol.TList _list820 = iprot.readListBegin();
struct.executors = new java.util.ArrayList<ExecutorInfo>(_list820.size);
- ExecutorInfo _elem821;
+ @org.apache.storm.thrift.annotation.Nullable ExecutorInfo _elem821;
for (int _i822 = 0; _i822 < _list820.size; ++_i822)
{
_elem821 = new ExecutorInfo();
@@ -701,7 +708,7 @@ public class LSWorkerHeartbeat implements org.apache.storm.thrift.TBase<LSWorker
{
org.apache.storm.thrift.protocol.TList _list825 = new org.apache.storm.thrift.protocol.TList(org.apache.storm.thrift.protocol.TType.STRUCT, iprot.readI32());
struct.executors = new java.util.ArrayList<ExecutorInfo>(_list825.size);
- ExecutorInfo _elem826;
+ @org.apache.storm.thrift.annotation.Nullable ExecutorInfo _elem826;
for (int _i827 = 0; _i827 < _list825.size; ++_i827)
{
_elem826 = new ExecutorInfo();
diff --git a/storm-client/src/jvm/org/apache/storm/generated/ListBlobsResult.java b/storm-client/src/jvm/org/apache/storm/generated/ListBlobsResult.java
index 130b31b..86b93e5 100644
--- a/storm-client/src/jvm/org/apache/storm/generated/ListBlobsResult.java
+++ b/storm-client/src/jvm/org/apache/storm/generated/ListBlobsResult.java
@@ -16,7 +16,7 @@
* limitations under the License.
*/
/**
- * Autogenerated by Thrift Compiler (0.11.0)
+ * Autogenerated by Thrift Compiler (0.12.0)
*
* DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
* @generated
@@ -24,7 +24,7 @@
package org.apache.storm.generated;
@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked", "unused"})
-@javax.annotation.Generated(value = "Autogenerated by Thrift Compiler (0.11.0)")
+@javax.annotation.Generated(value = "Autogenerated by Thrift Compiler (0.12.0)")
public class ListBlobsResult implements org.apache.storm.thrift.TBase<ListBlobsResult, ListBlobsResult._Fields>, java.io.Serializable, Cloneable, Comparable<ListBlobsResult> {
private static final org.apache.storm.thrift.protocol.TStruct STRUCT_DESC = new org.apache.storm.thrift.protocol.TStruct("ListBlobsResult");
@@ -34,8 +34,8 @@ public class ListBlobsResult implements org.apache.storm.thrift.TBase<ListBlobsR
private static final org.apache.storm.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new ListBlobsResultStandardSchemeFactory();
private static final org.apache.storm.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new ListBlobsResultTupleSchemeFactory();
- private java.util.List<java.lang.String> keys; // required
- private java.lang.String session; // required
+ private @org.apache.storm.thrift.annotation.Nullable java.util.List<java.lang.String> keys; // required
+ private @org.apache.storm.thrift.annotation.Nullable java.lang.String session; // required
/** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
public enum _Fields implements org.apache.storm.thrift.TFieldIdEnum {
@@ -53,6 +53,7 @@ public class ListBlobsResult implements org.apache.storm.thrift.TBase<ListBlobsR
/**
* Find the _Fields constant that matches fieldId, or null if its not found.
*/
+ @org.apache.storm.thrift.annotation.Nullable
public static _Fields findByThriftId(int fieldId) {
switch(fieldId) {
case 1: // KEYS
@@ -77,6 +78,7 @@ public class ListBlobsResult implements org.apache.storm.thrift.TBase<ListBlobsR
/**
* Find the _Fields constant that matches name, or null if its not found.
*/
+ @org.apache.storm.thrift.annotation.Nullable
public static _Fields findByName(java.lang.String name) {
return byName.get(name);
}
@@ -150,6 +152,7 @@ public class ListBlobsResult implements org.apache.storm.thrift.TBase<ListBlobsR
return (this.keys == null) ? 0 : this.keys.size();
}
+ @org.apache.storm.thrift.annotation.Nullable
public java.util.Iterator<java.lang.String> get_keys_iterator() {
return (this.keys == null) ? null : this.keys.iterator();
}
@@ -161,11 +164,12 @@ public class ListBlobsResult implements org.apache.storm.thrift.TBase<ListBlobsR
this.keys.add(elem);
}
+ @org.apache.storm.thrift.annotation.Nullable
public java.util.List<java.lang.String> get_keys() {
return this.keys;
}
- public void set_keys(java.util.List<java.lang.String> keys) {
+ public void set_keys(@org.apache.storm.thrift.annotation.Nullable java.util.List<java.lang.String> keys) {
this.keys = keys;
}
@@ -184,11 +188,12 @@ public class ListBlobsResult implements org.apache.storm.thrift.TBase<ListBlobsR
}
}
+ @org.apache.storm.thrift.annotation.Nullable
public java.lang.String get_session() {
return this.session;
}
- public void set_session(java.lang.String session) {
+ public void set_session(@org.apache.storm.thrift.annotation.Nullable java.lang.String session) {
this.session = session;
}
@@ -207,7 +212,7 @@ public class ListBlobsResult implements org.apache.storm.thrift.TBase<ListBlobsR
}
}
- public void setFieldValue(_Fields field, java.lang.Object value) {
+ public void setFieldValue(_Fields field, @org.apache.storm.thrift.annotation.Nullable java.lang.Object value) {
switch (field) {
case KEYS:
if (value == null) {
@@ -228,6 +233,7 @@ public class ListBlobsResult implements org.apache.storm.thrift.TBase<ListBlobsR
}
}
+ @org.apache.storm.thrift.annotation.Nullable
public java.lang.Object getFieldValue(_Fields field) {
switch (field) {
case KEYS:
@@ -337,6 +343,7 @@ public class ListBlobsResult implements org.apache.storm.thrift.TBase<ListBlobsR
return 0;
}
+ @org.apache.storm.thrift.annotation.Nullable
public _Fields fieldForId(int fieldId) {
return _Fields.findByThriftId(fieldId);
}
@@ -425,7 +432,7 @@ public class ListBlobsResult implements org.apache.storm.thrift.TBase<ListBlobsR
{
org.apache.storm.thrift.protocol.TList _list614 = iprot.readListBegin();
struct.keys = new java.util.ArrayList<java.lang.String>(_list614.size);
- java.lang.String _elem615;
+ @org.apache.storm.thrift.annotation.Nullable java.lang.String _elem615;
for (int _i616 = 0; _i616 < _list614.size; ++_i616)
{
_elem615 = iprot.readString();
@@ -509,7 +516,7 @@ public class ListBlobsResult implements org.apache.storm.thrift.TBase<ListBlobsR
{
org.apache.storm.thrift.protocol.TList _list619 = new org.apache.storm.thrift.protocol.TList(org.apache.storm.thrift.protocol.TType.STRING, iprot.readI32());
struct.keys = new java.util.ArrayList<java.lang.String>(_list619.size);
- java.lang.String _elem620;
+ @org.apache.storm.thrift.annotation.Nullable java.lang.String _elem620;
for (int _i621 = 0; _i621 < _list619.size; ++_i621)
{
_elem620 = iprot.readString();
diff --git a/storm-client/src/jvm/org/apache/storm/generated/LocalAssignment.java b/storm-client/src/jvm/org/apache/storm/generated/LocalAssignment.java
index 062b3c7..22095f9 100644
--- a/storm-client/src/jvm/org/apache/storm/generated/LocalAssignment.java
+++ b/storm-client/src/jvm/org/apache/storm/generated/LocalAssignment.java
@@ -16,7 +16,7 @@
* limitations under the License.
*/
/**
- * Autogenerated by Thrift Compiler (0.11.0)
+ * Autogenerated by Thrift Compiler (0.12.0)
*
* DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
* @generated
@@ -24,7 +24,7 @@
package org.apache.storm.generated;
@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked", "unused"})
-@javax.annotation.Generated(value = "Autogenerated by Thrift Compiler (0.11.0)")
+@javax.annotation.Generated(value = "Autogenerated by Thrift Compiler (0.12.0)")
public class LocalAssignment implements org.apache.storm.thrift.TBase<LocalAssignment, LocalAssignment._Fields>, java.io.Serializable, Cloneable, Comparable<LocalAssignment> {
private static final org.apache.storm.thrift.protocol.TStruct STRUCT_DESC = new org.apache.storm.thrift.protocol.TStruct("LocalAssignment");
@@ -37,11 +37,11 @@ public class LocalAssignment implements org.apache.storm.thrift.TBase<LocalAssig
private static final org.apache.storm.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new LocalAssignmentStandardSchemeFactory();
private static final org.apache.storm.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new LocalAssignmentTupleSchemeFactory();
- private java.lang.String topology_id; // required
- private java.util.List<ExecutorInfo> executors; // required
- private WorkerResources resources; // optional
+ private @org.apache.storm.thrift.annotation.Nullable java.lang.String topology_id; // required
+ private @org.apache.storm.thrift.annotation.Nullable java.util.List<ExecutorInfo> executors; // required
+ private @org.apache.storm.thrift.annotation.Nullable WorkerResources resources; // optional
private double total_node_shared; // optional
- private java.lang.String owner; // optional
+ private @org.apache.storm.thrift.annotation.Nullable java.lang.String owner; // optional
/** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
public enum _Fields implements org.apache.storm.thrift.TFieldIdEnum {
@@ -62,6 +62,7 @@ public class LocalAssignment implements org.apache.storm.thrift.TBase<LocalAssig
/**
* Find the _Fields constant that matches fieldId, or null if its not found.
*/
+ @org.apache.storm.thrift.annotation.Nullable
public static _Fields findByThriftId(int fieldId) {
switch(fieldId) {
case 1: // TOPOLOGY_ID
@@ -92,6 +93,7 @@ public class LocalAssignment implements org.apache.storm.thrift.TBase<LocalAssig
/**
* Find the _Fields constant that matches name, or null if its not found.
*/
+ @org.apache.storm.thrift.annotation.Nullable
public static _Fields findByName(java.lang.String name) {
return byName.get(name);
}
@@ -185,11 +187,12 @@ public class LocalAssignment implements org.apache.storm.thrift.TBase<LocalAssig
this.owner = null;
}
+ @org.apache.storm.thrift.annotation.Nullable
public java.lang.String get_topology_id() {
return this.topology_id;
}
- public void set_topology_id(java.lang.String topology_id) {
+ public void set_topology_id(@org.apache.storm.thrift.annotation.Nullable java.lang.String topology_id) {
this.topology_id = topology_id;
}
@@ -212,6 +215,7 @@ public class LocalAssignment implements org.apache.storm.thrift.TBase<LocalAssig
return (this.executors == null) ? 0 : this.executors.size();
}
+ @org.apache.storm.thrift.annotation.Nullable
public java.util.Iterator<ExecutorInfo> get_executors_iterator() {
return (this.executors == null) ? null : this.executors.iterator();
}
@@ -223,11 +227,12 @@ public class LocalAssignment implements org.apache.storm.thrift.TBase<LocalAssig
this.executors.add(elem);
}
+ @org.apache.storm.thrift.annotation.Nullable
public java.util.List<ExecutorInfo> get_executors() {
return this.executors;
}
- public void set_executors(java.util.List<ExecutorInfo> executors) {
+ public void set_executors(@org.apache.storm.thrift.annotation.Nullable java.util.List<ExecutorInfo> executors) {
this.executors = executors;
}
@@ -246,11 +251,12 @@ public class LocalAssignment implements org.apache.storm.thrift.TBase<LocalAssig
}
}
+ @org.apache.storm.thrift.annotation.Nullable
public WorkerResources get_resources() {
return this.resources;
}
- public void set_resources(WorkerResources resources) {
+ public void set_resources(@org.apache.storm.thrift.annotation.Nullable WorkerResources resources) {
this.resources = resources;
}
@@ -291,11 +297,12 @@ public class LocalAssignment implements org.apache.storm.thrift.TBase<LocalAssig
__isset_bitfield = org.apache.storm.thrift.EncodingUtils.setBit(__isset_bitfield, __TOTAL_NODE_SHARED_ISSET_ID, value);
}
+ @org.apache.storm.thrift.annotation.Nullable
public java.lang.String get_owner() {
return this.owner;
}
- public void set_owner(java.lang.String owner) {
+ public void set_owner(@org.apache.storm.thrift.annotation.Nullable java.lang.String owner) {
this.owner = owner;
}
@@ -314,7 +321,7 @@ public class LocalAssignment implements org.apache.storm.thrift.TBase<LocalAssig
}
}
- public void setFieldValue(_Fields field, java.lang.Object value) {
+ public void setFieldValue(_Fields field, @org.apache.storm.thrift.annotation.Nullable java.lang.Object value) {
switch (field) {
case TOPOLOGY_ID:
if (value == null) {
@@ -359,6 +366,7 @@ public class LocalAssignment implements org.apache.storm.thrift.TBase<LocalAssig
}
}
+ @org.apache.storm.thrift.annotation.Nullable
public java.lang.Object getFieldValue(_Fields field) {
switch (field) {
case TOPOLOGY_ID:
@@ -552,6 +560,7 @@ public class LocalAssignment implements org.apache.storm.thrift.TBase<LocalAssig
return 0;
}
+ @org.apache.storm.thrift.annotation.Nullable
public _Fields fieldForId(int fieldId) {
return _Fields.findByThriftId(fieldId);
}
@@ -679,7 +688,7 @@ public class LocalAssignment implements org.apache.storm.thrift.TBase<LocalAssig
{
org.apache.storm.thrift.protocol.TList _list792 = iprot.readListBegin();
struct.executors = new java.util.ArrayList<ExecutorInfo>(_list792.size);
- ExecutorInfo _elem793;
+ @org.apache.storm.thrift.annotation.Nullable ExecutorInfo _elem793;
for (int _i794 = 0; _i794 < _list792.size; ++_i794)
{
_elem793 = new ExecutorInfo();
@@ -822,7 +831,7 @@ public class LocalAssignment implements org.apache.storm.thrift.TBase<LocalAssig
{
org.apache.storm.thrift.protocol.TList _list797 = new org.apache.storm.thrift.protocol.TList(org.apache.storm.thrift.protocol.TType.STRUCT, iprot.readI32());
struct.executors = new java.util.ArrayList<ExecutorInfo>(_list797.size);
- ExecutorInfo _elem798;
+ @org.apache.storm.thrift.annotation.Nullable ExecutorInfo _elem798;
for (int _i799 = 0; _i799 < _list797.size; ++_i799)
{
_elem798 = new ExecutorInfo();
diff --git a/storm-client/src/jvm/org/apache/storm/generated/LocalStateData.java b/storm-client/src/jvm/org/apache/storm/generated/LocalStateData.java
index 6bd67aa..23b532a 100644
--- a/storm-client/src/jvm/org/apache/storm/generated/LocalStateData.java
+++ b/storm-client/src/jvm/org/apache/storm/generated/LocalStateData.java
@@ -16,7 +16,7 @@
* limitations under the License.
*/
/**
- * Autogenerated by Thrift Compiler (0.11.0)
+ * Autogenerated by Thrift Compiler (0.12.0)
*
* DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
* @generated
@@ -24,7 +24,7 @@
package org.apache.storm.generated;
@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked", "unused"})
-@javax.annotation.Generated(value = "Autogenerated by Thrift Compiler (0.11.0)")
+@javax.annotation.Generated(value = "Autogenerated by Thrift Compiler (0.12.0)")
public class LocalStateData implements org.apache.storm.thrift.TBase<LocalStateData, LocalStateData._Fields>, java.io.Serializable, Cloneable, Comparable<LocalStateData> {
private static final org.apache.storm.thrift.protocol.TStruct STRUCT_DESC = new org.apache.storm.thrift.protocol.TStruct("LocalStateData");
@@ -33,7 +33,7 @@ public class LocalStateData implements org.apache.storm.thrift.TBase<LocalStateD
private static final org.apache.storm.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new LocalStateDataStandardSchemeFactory();
private static final org.apache.storm.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new LocalStateDataTupleSchemeFactory();
- private java.util.Map<java.lang.String,ThriftSerializedObject> serialized_parts; // required
+ private @org.apache.storm.thrift.annotation.Nullable java.util.Map<java.lang.String,ThriftSerializedObject> serialized_parts; // required
/** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
public enum _Fields implements org.apache.storm.thrift.TFieldIdEnum {
@@ -50,6 +50,7 @@ public class LocalStateData implements org.apache.storm.thrift.TBase<LocalStateD
/**
* Find the _Fields constant that matches fieldId, or null if its not found.
*/
+ @org.apache.storm.thrift.annotation.Nullable
public static _Fields findByThriftId(int fieldId) {
switch(fieldId) {
case 1: // SERIALIZED_PARTS
@@ -72,6 +73,7 @@ public class LocalStateData implements org.apache.storm.thrift.TBase<LocalStateD
/**
* Find the _Fields constant that matches name, or null if its not found.
*/
+ @org.apache.storm.thrift.annotation.Nullable
public static _Fields findByName(java.lang.String name) {
return byName.get(name);
}
@@ -156,11 +158,12 @@ public class LocalStateData implements org.apache.storm.thrift.TBase<LocalStateD
this.serialized_parts.put(key, val);
}
+ @org.apache.storm.thrift.annotation.Nullable
public java.util.Map<java.lang.String,ThriftSerializedObject> get_serialized_parts() {
return this.serialized_parts;
}
- public void set_serialized_parts(java.util.Map<java.lang.String,ThriftSerializedObject> serialized_parts) {
+ public void set_serialized_parts(@org.apache.storm.thrift.annotation.Nullable java.util.Map<java.lang.String,ThriftSerializedObject> serialized_parts) {
this.serialized_parts = serialized_parts;
}
@@ -179,7 +182,7 @@ public class LocalStateData implements org.apache.storm.thrift.TBase<LocalStateD
}
}
- public void setFieldValue(_Fields field, java.lang.Object value) {
+ public void setFieldValue(_Fields field, @org.apache.storm.thrift.annotation.Nullable java.lang.Object value) {
switch (field) {
case SERIALIZED_PARTS:
if (value == null) {
@@ -192,6 +195,7 @@ public class LocalStateData implements org.apache.storm.thrift.TBase<LocalStateD
}
}
+ @org.apache.storm.thrift.annotation.Nullable
public java.lang.Object getFieldValue(_Fields field) {
switch (field) {
case SERIALIZED_PARTS:
@@ -273,6 +277,7 @@ public class LocalStateData implements org.apache.storm.thrift.TBase<LocalStateD
return 0;
}
+ @org.apache.storm.thrift.annotation.Nullable
public _Fields fieldForId(int fieldId) {
return _Fields.findByThriftId(fieldId);
}
@@ -349,8 +354,8 @@ public class LocalStateData implements org.apache.storm.thrift.TBase<LocalStateD
{
org.apache.storm.thrift.protocol.TMap _map782 = iprot.readMapBegin();
struct.serialized_parts = new java.util.HashMap<java.lang.String,ThriftSerializedObject>(2*_map782.size);
- java.lang.String _key783;
- ThriftSerializedObject _val784;
+ @org.apache.storm.thrift.annotation.Nullable java.lang.String _key783;
+ @org.apache.storm.thrift.annotation.Nullable ThriftSerializedObject _val784;
for (int _i785 = 0; _i785 < _map782.size; ++_i785)
{
_key783 = iprot.readString();
@@ -424,8 +429,8 @@ public class LocalStateData implements org.apache.storm.thrift.TBase<LocalStateD
{
org.apache.storm.thrift.protocol.TMap _map788 = new org.apache.storm.thrift.protocol.TMap(org.apache.storm.thrift.protocol.TType.STRING, org.apache.storm.thrift.protocol.TType.STRUCT, iprot.readI32());
struct.serialized_parts = new java.util.HashMap<java.lang.String,ThriftSerializedObject>(2*_map788.size);
- java.lang.String _key789;
- ThriftSerializedObject _val790;
+ @org.apache.storm.thrift.annotation.Nullable java.lang.String _key789;
+ @org.apache.storm.thrift.annotation.Nullable ThriftSerializedObject _val790;
for (int _i791 = 0; _i791 < _map788.size; ++_i791)
{
_key789 = iprot.readString();
diff --git a/storm-client/src/jvm/org/apache/storm/generated/LogConfig.java b/storm-client/src/jvm/org/apache/storm/generated/LogConfig.java
index 3b7555a..1b6e3b2 100644
--- a/storm-client/src/jvm/org/apache/storm/generated/LogConfig.java
+++ b/storm-client/src/jvm/org/apache/storm/generated/LogConfig.java
@@ -16,7 +16,7 @@
* limitations under the License.
*/
/**
- * Autogenerated by Thrift Compiler (0.11.0)
+ * Autogenerated by Thrift Compiler (0.12.0)
*
* DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
* @generated
@@ -24,7 +24,7 @@
package org.apache.storm.generated;
@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked", "unused"})
-@javax.annotation.Generated(value = "Autogenerated by Thrift Compiler (0.11.0)")
+@javax.annotation.Generated(value = "Autogenerated by Thrift Compiler (0.12.0)")
public class LogConfig implements org.apache.storm.thrift.TBase<LogConfig, LogConfig._Fields>, java.io.Serializable, Cloneable, Comparable<LogConfig> {
private static final org.apache.storm.thrift.protocol.TStruct STRUCT_DESC = new org.apache.storm.thrift.protocol.TStruct("LogConfig");
@@ -33,7 +33,7 @@ public class LogConfig implements org.apache.storm.thrift.TBase<LogConfig, LogCo
private static final org.apache.storm.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new LogConfigStandardSchemeFactory();
private static final org.apache.storm.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new LogConfigTupleSchemeFactory();
- private java.util.Map<java.lang.String,LogLevel> named_logger_level; // optional
+ private @org.apache.storm.thrift.annotation.Nullable java.util.Map<java.lang.String,LogLevel> named_logger_level; // optional
/** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
public enum _Fields implements org.apache.storm.thrift.TFieldIdEnum {
@@ -50,6 +50,7 @@ public class LogConfig implements org.apache.storm.thrift.TBase<LogConfig, LogCo
/**
* Find the _Fields constant that matches fieldId, or null if its not found.
*/
+ @org.apache.storm.thrift.annotation.Nullable
public static _Fields findByThriftId(int fieldId) {
switch(fieldId) {
case 2: // NAMED_LOGGER_LEVEL
@@ -72,6 +73,7 @@ public class LogConfig implements org.apache.storm.thrift.TBase<LogConfig, LogCo
/**
* Find the _Fields constant that matches name, or null if its not found.
*/
+ @org.apache.storm.thrift.annotation.Nullable
public static _Fields findByName(java.lang.String name) {
return byName.get(name);
}
@@ -150,11 +152,12 @@ public class LogConfig implements org.apache.storm.thrift.TBase<LogConfig, LogCo
this.named_logger_level.put(key, val);
}
+ @org.apache.storm.thrift.annotation.Nullable
public java.util.Map<java.lang.String,LogLevel> get_named_logger_level() {
return this.named_logger_level;
}
- public void set_named_logger_level(java.util.Map<java.lang.String,LogLevel> named_logger_level) {
+ public void set_named_logger_level(@org.apache.storm.thrift.annotation.Nullable java.util.Map<java.lang.String,LogLevel> named_logger_level) {
this.named_logger_level = named_logger_level;
}
@@ -173,7 +176,7 @@ public class LogConfig implements org.apache.storm.thrift.TBase<LogConfig, LogCo
}
}
- public void setFieldValue(_Fields field, java.lang.Object value) {
+ public void setFieldValue(_Fields field, @org.apache.storm.thrift.annotation.Nullable java.lang.Object value) {
switch (field) {
case NAMED_LOGGER_LEVEL:
if (value == null) {
@@ -186,6 +189,7 @@ public class LogConfig implements org.apache.storm.thrift.TBase<LogConfig, LogCo
}
}
+ @org.apache.storm.thrift.annotation.Nullable
public java.lang.Object getFieldValue(_Fields field) {
switch (field) {
case NAMED_LOGGER_LEVEL:
@@ -267,6 +271,7 @@ public class LogConfig implements org.apache.storm.thrift.TBase<LogConfig, LogCo
return 0;
}
+ @org.apache.storm.thrift.annotation.Nullable
public _Fields fieldForId(int fieldId) {
return _Fields.findByThriftId(fieldId);
}
@@ -341,8 +346,8 @@ public class LogConfig implements org.apache.storm.thrift.TBase<LogConfig, LogCo
{
org.apache.storm.thrift.protocol.TMap _map852 = iprot.readMapBegin();
struct.named_logger_level = new java.util.HashMap<java.lang.String,LogLevel>(2*_map852.size);
- java.lang.String _key853;
- LogLevel _val854;
+ @org.apache.storm.thrift.annotation.Nullable java.lang.String _key853;
+ @org.apache.storm.thrift.annotation.Nullable LogLevel _val854;
for (int _i855 = 0; _i855 < _map852.size; ++_i855)
{
_key853 = iprot.readString();
@@ -427,8 +432,8 @@ public class LogConfig implements org.apache.storm.thrift.TBase<LogConfig, LogCo
{
org.apache.storm.thrift.protocol.TMap _map858 = new org.apache.storm.thrift.protocol.TMap(org.apache.storm.thrift.protocol.TType.STRING, org.apache.storm.thrift.protocol.TType.STRUCT, iprot.readI32());
struct.named_logger_level = new java.util.HashMap<java.lang.String,LogLevel>(2*_map858.size);
- java.lang.String _key859;
- LogLevel _val860;
+ @org.apache.storm.thrift.annotation.Nullable java.lang.String _key859;
+ @org.apache.storm.thrift.annotation.Nullable LogLevel _val860;
for (int _i861 = 0; _i861 < _map858.size; ++_i861)
{
_key859 = iprot.readString();
diff --git a/storm-client/src/jvm/org/apache/storm/generated/LogLevel.java b/storm-client/src/jvm/org/apache/storm/generated/LogLevel.java
index a8fe7d1..7879c73 100644
--- a/storm-client/src/jvm/org/apache/storm/generated/LogLevel.java
+++ b/storm-client/src/jvm/org/apache/storm/generated/LogLevel.java
@@ -16,7 +16,7 @@
* limitations under the License.
*/
/**
- * Autogenerated by Thrift Compiler (0.11.0)
+ * Autogenerated by Thrift Compiler (0.12.0)
*
* DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
* @generated
@@ -24,7 +24,7 @@
package org.apache.storm.generated;
@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked", "unused"})
-@javax.annotation.Generated(value = "Autogenerated by Thrift Compiler (0.11.0)")
+@javax.annotation.Generated(value = "Autogenerated by Thrift Compiler (0.12.0)")
public class LogLevel implements org.apache.storm.thrift.TBase<LogLevel, LogLevel._Fields>, java.io.Serializable, Cloneable, Comparable<LogLevel> {
private static final org.apache.storm.thrift.protocol.TStruct STRUCT_DESC = new org.apache.storm.thrift.protocol.TStruct("LogLevel");
@@ -37,11 +37,11 @@ public class LogLevel implements org.apache.storm.thrift.TBase<LogLevel, LogLeve
private static final org.apache.storm.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new LogLevelStandardSchemeFactory();
private static final org.apache.storm.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new LogLevelTupleSchemeFactory();
- private LogLevelAction action; // required
- private java.lang.String target_log_level; // optional
+ private @org.apache.storm.thrift.annotation.Nullable LogLevelAction action; // required
+ private @org.apache.storm.thrift.annotation.Nullable java.lang.String target_log_level; // optional
private int reset_log_level_timeout_secs; // optional
private long reset_log_level_timeout_epoch; // optional
- private java.lang.String reset_log_level; // optional
+ private @org.apache.storm.thrift.annotation.Nullable java.lang.String reset_log_level; // optional
/** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
public enum _Fields implements org.apache.storm.thrift.TFieldIdEnum {
@@ -66,6 +66,7 @@ public class LogLevel implements org.apache.storm.thrift.TBase<LogLevel, LogLeve
/**
* Find the _Fields constant that matches fieldId, or null if its not found.
*/
+ @org.apache.storm.thrift.annotation.Nullable
public static _Fields findByThriftId(int fieldId) {
switch(fieldId) {
case 1: // ACTION
@@ -96,6 +97,7 @@ public class LogLevel implements org.apache.storm.thrift.TBase<LogLevel, LogLeve
/**
* Find the _Fields constant that matches name, or null if its not found.
*/
+ @org.apache.storm.thrift.annotation.Nullable
public static _Fields findByName(java.lang.String name) {
return byName.get(name);
}
@@ -186,6 +188,7 @@ public class LogLevel implements org.apache.storm.thrift.TBase<LogLevel, LogLeve
*
* @see LogLevelAction
*/
+ @org.apache.storm.thrift.annotation.Nullable
public LogLevelAction get_action() {
return this.action;
}
@@ -194,7 +197,7 @@ public class LogLevel implements org.apache.storm.thrift.TBase<LogLevel, LogLeve
*
* @see LogLevelAction
*/
- public void set_action(LogLevelAction action) {
+ public void set_action(@org.apache.storm.thrift.annotation.Nullable LogLevelAction action) {
this.action = action;
}
@@ -213,11 +216,12 @@ public class LogLevel implements org.apache.storm.thrift.TBase<LogLevel, LogLeve
}
}
+ @org.apache.storm.thrift.annotation.Nullable
public java.lang.String get_target_log_level() {
return this.target_log_level;
}
- public void set_target_log_level(java.lang.String target_log_level) {
+ public void set_target_log_level(@org.apache.storm.thrift.annotation.Nullable java.lang.String target_log_level) {
this.target_log_level = target_log_level;
}
@@ -280,11 +284,12 @@ public class LogLevel implements org.apache.storm.thrift.TBase<LogLevel, LogLeve
__isset_bitfield = org.apache.storm.thrift.EncodingUtils.setBit(__isset_bitfield, __RESET_LOG_LEVEL_TIMEOUT_EPOCH_ISSET_ID, value);
}
+ @org.apache.storm.thrift.annotation.Nullable
public java.lang.String get_reset_log_level() {
return this.reset_log_level;
}
- public void set_reset_log_level(java.lang.String reset_log_level) {
+ public void set_reset_log_level(@org.apache.storm.thrift.annotation.Nullable java.lang.String reset_log_level) {
this.reset_log_level = reset_log_level;
}
@@ -303,7 +308,7 @@ public class LogLevel implements org.apache.storm.thrift.TBase<LogLevel, LogLeve
}
}
- public void setFieldValue(_Fields field, java.lang.Object value) {
+ public void setFieldValue(_Fields field, @org.apache.storm.thrift.annotation.Nullable java.lang.Object value) {
switch (field) {
case ACTION:
if (value == null) {
@@ -348,6 +353,7 @@ public class LogLevel implements org.apache.storm.thrift.TBase<LogLevel, LogLeve
}
}
+ @org.apache.storm.thrift.annotation.Nullable
public java.lang.Object getFieldValue(_Fields field) {
switch (field) {
case ACTION:
@@ -541,6 +547,7 @@ public class LogLevel implements org.apache.storm.thrift.TBase<LogLevel, LogLeve
return 0;
}
+ @org.apache.storm.thrift.annotation.Nullable
public _Fields fieldForId(int fieldId) {
return _Fields.findByThriftId(fieldId);
}
diff --git a/storm-client/src/jvm/org/apache/storm/generated/LogLevelAction.java b/storm-client/src/jvm/org/apache/storm/generated/LogLevelAction.java
index 720f9b7..887d6ae 100644
--- a/storm-client/src/jvm/org/apache/storm/generated/LogLevelAction.java
+++ b/storm-client/src/jvm/org/apache/storm/generated/LogLevelAction.java
@@ -16,7 +16,7 @@
* limitations under the License.
*/
/**
- * Autogenerated by Thrift Compiler (0.11.0)
+ * Autogenerated by Thrift Compiler (0.12.0)
*
* DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
* @generated
@@ -24,6 +24,7 @@
package org.apache.storm.generated;
+@javax.annotation.Generated(value = "Autogenerated by Thrift Compiler (0.12.0)")
public enum LogLevelAction implements org.apache.storm.thrift.TEnum {
UNCHANGED(1),
UPDATE(2),
@@ -46,6 +47,7 @@ public enum LogLevelAction implements org.apache.storm.thrift.TEnum {
* Find a the enum type by its integer value, as defined in the Thrift IDL.
* @return null if the value is not found.
*/
+ @org.apache.storm.thrift.annotation.Nullable
public static LogLevelAction findByValue(int value) {
switch (value) {
case 1:
diff --git a/storm-client/src/jvm/org/apache/storm/generated/Nimbus.java b/storm-client/src/jvm/org/apache/storm/generated/Nimbus.java
index 47bc7fc..d6093a0 100644
--- a/storm-client/src/jvm/org/apache/storm/generated/Nimbus.java
+++ b/storm-client/src/jvm/org/apache/storm/generated/Nimbus.java
@@ -16,7 +16,7 @@
* limitations under the License.
*/
/**
- * Autogenerated by Thrift Compiler (0.11.0)
+ * Autogenerated by Thrift Compiler (0.12.0)
*
* DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
* @generated
@@ -24,7 +24,7 @@
package org.apache.storm.generated;
@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked", "unused"})
-@javax.annotation.Generated(value = "Autogenerated by Thrift Compiler (0.11.0)")
+@javax.annotation.Generated(value = "Autogenerated by Thrift Compiler (0.12.0)")
public class Nimbus {
public interface Iface {
@@ -3405,7 +3405,7 @@ public class Nimbus {
}
@Override
- protected boolean handleRuntimeExceptions() {
+ protected boolean rethrowUnhandledExceptions() {
return false;
}
@@ -3438,7 +3438,7 @@ public class Nimbus {
}
@Override
- protected boolean handleRuntimeExceptions() {
+ protected boolean rethrowUnhandledExceptions() {
return false;
}
@@ -3471,7 +3471,7 @@ public class Nimbus {
}
@Override
- protected boolean handleRuntimeExceptions() {
+ protected boolean rethrowUnhandledExceptions() {
return false;
}
@@ -3502,7 +3502,7 @@ public class Nimbus {
}
@Override
- protected boolean handleRuntimeExceptions() {
+ protected boolean rethrowUnhandledExceptions() {
return false;
}
@@ -3533,7 +3533,7 @@ public class Nimbus {
}
@Override
- protected boolean handleRuntimeExceptions() {
+ protected boolean rethrowUnhandledExceptions() {
return false;
}
@@ -3564,7 +3564,7 @@ public class Nimbus {
}
@Override
- protected boolean handleRuntimeExceptions() {
+ protected boolean rethrowUnhandledExceptions() {
return false;
}
@@ -3595,7 +3595,7 @@ public class Nimbus {
}
@Override
- protected boolean handleRuntimeExceptions() {
+ protected boolean rethrowUnhandledExceptions() {
return false;
}
@@ -3628,7 +3628,7 @@ public class Nimbus {
}
@Override
- protected boolean handleRuntimeExceptions() {
+ protected boolean rethrowUnhandledExceptions() {
return false;
}
@@ -3653,7 +3653,7 @@ public class Nimbus {
}
@Override
- protected boolean handleRuntimeExceptions() {
+ protected boolean rethrowUnhandledExceptions() {
return false;
}
@@ -3678,7 +3678,7 @@ public class Nimbus {
}
@Override
- protected boolean handleRuntimeExceptions() {
+ protected boolean rethrowUnhandledExceptions() {
return false;
}
@@ -3709,7 +3709,7 @@ public class Nimbus {
}
@Override
- protected boolean handleRuntimeExceptions() {
+ protected boolean rethrowUnhandledExceptions() {
return false;
}
@@ -3734,7 +3734,7 @@ public class Nimbus {
}
@Override
- protected boolean handleRuntimeExceptions() {
+ protected boolean rethrowUnhandledExceptions() {
return false;
}
@@ -3759,7 +3759,7 @@ public class Nimbus {
}
@Override
- protected boolean handleRuntimeExceptions() {
+ protected boolean rethrowUnhandledExceptions() {
return false;
}
@@ -3792,7 +3792,7 @@ public class Nimbus {
}
@Override
- protected boolean handleRuntimeExceptions() {
+ protected boolean rethrowUnhandledExceptions() {
return false;
}
@@ -3823,7 +3823,7 @@ public class Nimbus {
}
@Override
- protected boolean handleRuntimeExceptions() {
+ protected boolean rethrowUnhandledExceptions() {
return false;
}
@@ -3854,7 +3854,7 @@ public class Nimbus {
}
@Override
- protected boolean handleRuntimeExceptions() {
+ protected boolean rethrowUnhandledExceptions() {
return false;
}
@@ -3883,7 +3883,7 @@ public class Nimbus {
}
@Override
- protected boolean handleRuntimeExceptions() {
+ protected boolean rethrowUnhandledExceptions() {
return false;
}
@@ -3912,7 +3912,7 @@ public class Nimbus {
}
@Override
- protected boolean handleRuntimeExceptions() {
+ protected boolean rethrowUnhandledExceptions() {
return false;
}
@@ -3941,7 +3941,7 @@ public class Nimbus {
}
@Override
- protected boolean handleRuntimeExceptions() {
+ protected boolean rethrowUnhandledExceptions() {
return false;
}
@@ -3972,7 +3972,7 @@ public class Nimbus {
}
@Override
- protected boolean handleRuntimeExceptions() {
+ protected boolean rethrowUnhandledExceptions() {
return false;
}
@@ -4003,7 +4003,7 @@ public class Nimbus {
}
@Override
- protected boolean handleRuntimeExceptions() {
+ protected boolean rethrowUnhandledExceptions() {
return false;
}
@@ -4034,7 +4034,7 @@ public class Nimbus {
}
@Override
- protected boolean handleRuntimeExceptions() {
+ protected boolean rethrowUnhandledExceptions() {
return false;
}
@@ -4063,7 +4063,7 @@ public class Nimbus {
}
@Override
- protected boolean handleRuntimeExceptions() {
+ protected boolean rethrowUnhandledExceptions() {
return false;
}
@@ -4096,7 +4096,7 @@ public class Nimbus {
}
@Override
- protected boolean handleRuntimeExceptions() {
+ protected boolean rethrowUnhandledExceptions() {
return false;
}
@@ -4121,7 +4121,7 @@ public class Nimbus {
}
@Override
- protected boolean handleRuntimeExceptions() {
+ protected boolean rethrowUnhandledExceptions() {
return false;
}
@@ -4153,7 +4153,7 @@ public class Nimbus {
}
@Override
- protected boolean handleRuntimeExceptions() {
+ protected boolean rethrowUnhandledExceptions() {
return false;
}
@@ -4185,7 +4185,7 @@ public class Nimbus {
}
@Override
- protected boolean handleRuntimeExceptions() {
+ protected boolean rethrowUnhandledExceptions() {
return false;
}
@@ -4210,7 +4210,7 @@ public class Nimbus {
}
@Override
- protected boolean handleRuntimeExceptions() {
+ protected boolean rethrowUnhandledExceptions() {
return false;
}
@@ -4239,7 +4239,7 @@ public class Nimbus {
}
@Override
- protected boolean handleRuntimeExceptions() {
+ protected boolean rethrowUnhandledExceptions() {
return false;
}
@@ -4268,7 +4268,7 @@ public class Nimbus {
}
@Override
- protected boolean handleRuntimeExceptions() {
+ protected boolean rethrowUnhandledExceptions() {
return false;
}
@@ -4297,7 +4297,7 @@ public class Nimbus {
}
@Override
- protected boolean handleRuntimeExceptions() {
+ protected boolean rethrowUnhandledExceptions() {
return false;
}
@@ -4326,7 +4326,7 @@ public class Nimbus {
}
@Override
- protected boolean handleRuntimeExceptions() {
+ protected boolean rethrowUnhandledExceptions() {
return false;
}
@@ -4355,7 +4355,7 @@ public class Nimbus {
}
@Override
- protected boolean handleRuntimeExceptions() {
+ protected boolean rethrowUnhandledExceptions() {
return false;
}
@@ -4384,7 +4384,7 @@ public class Nimbus {
}
@Override
- protected boolean handleRuntimeExceptions() {
+ protected boolean rethrowUnhandledExceptions() {
return false;
}
@@ -4413,7 +4413,7 @@ public class Nimbus {
}
@Override
- protected boolean handleRuntimeExceptions() {
+ protected boolean rethrowUnhandledExceptions() {
return false;
}
@@ -4443,7 +4443,7 @@ public class Nimbus {
}
@Override
- protected boolean handleRuntimeExceptions() {
+ protected boolean rethrowUnhandledExceptions() {
return false;
}
@@ -4474,7 +4474,7 @@ public class Nimbus {
}
@Override
- protected boolean handleRuntimeExceptions() {
+ protected boolean rethrowUnhandledExceptions() {
return false;
}
@@ -4505,7 +4505,7 @@ public class Nimbus {
}
@Override
- protected boolean handleRuntimeExceptions() {
+ protected boolean rethrowUnhandledExceptions() {
return false;
}
@@ -4536,7 +4536,7 @@ public class Nimbus {
}
@Override
- protected boolean handleRuntimeExceptions() {
+ protected boolean rethrowUnhandledExceptions() {
return false;
}
@@ -4567,7 +4567,7 @@ public class Nimbus {
}
@Override
- protected boolean handleRuntimeExceptions() {
+ protected boolean rethrowUnhandledExceptions() {
return false;
}
@@ -4598,7 +4598,7 @@ public class Nimbus {
}
@Override
- protected boolean handleRuntimeExceptions() {
+ protected boolean rethrowUnhandledExceptions() {
return false;
}
@@ -4629,7 +4629,7 @@ public class Nimbus {
}
@Override
- protected boolean handleRuntimeExceptions() {
+ protected boolean rethrowUnhandledExceptions() {
return false;
}
@@ -4660,7 +4660,7 @@ public class Nimbus {
}
@Override
- protected boolean handleRuntimeExceptions() {
+ protected boolean rethrowUnhandledExceptions() {
return false;
}
@@ -4691,7 +4691,7 @@ public class Nimbus {
}
@Override
- protected boolean handleRuntimeExceptions() {
+ protected boolean rethrowUnhandledExceptions() {
return false;
}
@@ -4720,7 +4720,7 @@ public class Nimbus {
}
@Override
- protected boolean handleRuntimeExceptions() {
+ protected boolean rethrowUnhandledExceptions() {
return false;
}
@@ -4749,7 +4749,7 @@ public class Nimbus {
}
@Override
- protected boolean handleRuntimeExceptions() {
+ protected boolean rethrowUnhandledExceptions() {
return false;
}
@@ -4778,7 +4778,7 @@ public class Nimbus {
}
@Override
- protected boolean handleRuntimeExceptions() {
+ protected boolean rethrowUnhandledExceptions() {
return false;
}
@@ -4807,7 +4807,7 @@ public class Nimbus {
}
@Override
- protected boolean handleRuntimeExceptions() {
+ protected boolean rethrowUnhandledExceptions() {
return false;
}
@@ -4838,7 +4838,7 @@ public class Nimbus {
}
@Override
- protected boolean handleRuntimeExceptions() {
+ protected boolean rethrowUnhandledExceptions() {
return false;
}
@@ -4863,7 +4863,7 @@ public class Nimbus {
}
@Override
- protected boolean handleRuntimeExceptions() {
+ protected boolean rethrowUnhandledExceptions() {
return false;
}
@@ -8286,10 +8286,10 @@ public class Nimbus {
private static final org.apache.storm.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new submitTopology_argsStandardSchemeFactory();
private static final org.apache.storm.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new submitTopology_argsTupleSchemeFactory();
- private java.lang.String name; // required
- private java.lang.String uploadedJarLocation; // required
- private java.lang.String jsonConf; // required
- private StormTopology topology; // required
+ private @org.apache.storm.thrift.annotation.Nullable java.lang.String name; // required
+ private @org.apache.storm.thrift.annotation.Nullable java.lang.String uploadedJarLocation; // required
+ private @org.apache.storm.thrift.annotation.Nullable java.lang.String jsonConf; // required
+ private @org.apache.storm.thrift.annotation.Nullable StormTopology topology; // required
/** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
public enum _Fields implements org.apache.storm.thrift.TFieldIdEnum {
@@ -8309,6 +8309,7 @@ public class Nimbus {
/**
* Find the _Fields constant that matches fieldId, or null if its not found.
*/
+ @org.apache.storm.thrift.annotation.Nullable
public static _Fields findByThriftId(int fieldId) {
switch(fieldId) {
case 1: // NAME
@@ -8337,6 +8338,7 @@ public class Nimbus {
/**
* Find the _Fields constant that matches name, or null if its not found.
*/
+ @org.apache.storm.thrift.annotation.Nullable
public static _Fields findByName(java.lang.String name) {
return byName.get(name);
}
@@ -8420,11 +8422,12 @@ public class Nimbus {
this.topology = null;
}
+ @org.apache.storm.thrift.annotation.Nullable
public java.lang.String get_name() {
return this.name;
}
- public void set_name(java.lang.String name) {
+ public void set_name(@org.apache.storm.thrift.annotation.Nullable java.lang.String name) {
this.name = name;
}
@@ -8443,11 +8446,12 @@ public class Nimbus {
}
}
+ @org.apache.storm.thrift.annotation.Nullable
public java.lang.String get_uploadedJarLocation() {
return this.uploadedJarLocation;
}
- public void set_uploadedJarLocation(java.lang.String uploadedJarLocation) {
+ public void set_uploadedJarLocation(@org.apache.storm.thrift.annotation.Nullable java.lang.String uploadedJarLocation) {
this.uploadedJarLocation = uploadedJarLocation;
}
@@ -8466,11 +8470,12 @@ public class Nimbus {
}
}
+ @org.apache.storm.thrift.annotation.Nullable
public java.lang.String get_jsonConf() {
return this.jsonConf;
}
- public void set_jsonConf(java.lang.String jsonConf) {
+ public void set_jsonConf(@org.apache.storm.thrift.annotation.Nullable java.lang.String jsonConf) {
this.jsonConf = jsonConf;
}
@@ -8489,11 +8494,12 @@ public class Nimbus {
}
}
+ @org.apache.storm.thrift.annotation.Nullable
public StormTopology get_topology() {
return this.topology;
}
- public void set_topology(StormTopology topology) {
+ public void set_topology(@org.apache.storm.thrift.annotation.Nullable StormTopology topology) {
this.topology = topology;
}
@@ -8512,7 +8518,7 @@ public class Nimbus {
}
}
- public void setFieldValue(_Fields field, java.lang.Object value) {
+ public void setFieldValue(_Fields field, @org.apache.storm.thrift.annotation.Nullable java.lang.Object value) {
switch (field) {
case NAME:
if (value == null) {
@@ -8549,6 +8555,7 @@ public class Nimbus {
}
}
+ @org.apache.storm.thrift.annotation.Nullable
public java.lang.Object getFieldValue(_Fields field) {
switch (field) {
case NAME:
@@ -8714,6 +8721,7 @@ public class Nimbus {
return 0;
}
+ @org.apache.storm.thrift.annotation.Nullable
public _Fields fieldForId(int fieldId) {
return _Fields.findByThriftId(fieldId);
}
@@ -8958,9 +8966,9 @@ public class Nimbus {
private static final org.apache.storm.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new submitTopology_resultStandardSchemeFactory();
private static final org.apache.storm.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new submitTopology_resultTupleSchemeFactory();
- private AlreadyAliveException e; // required
- private InvalidTopologyException ite; // required
- private AuthorizationException aze; // required
+ private @org.apache.storm.thrift.annotation.Nullable AlreadyAliveException e; // required
+ private @org.apache.storm.thrift.annotation.Nullable InvalidTopologyException ite; // required
+ private @org.apache.storm.thrift.annotation.Nullable AuthorizationException aze; // required
/** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
public enum _Fields implements org.apache.storm.thrift.TFieldIdEnum {
@@ -8979,6 +8987,7 @@ public class Nimbus {
/**
* Find the _Fields constant that matches fieldId, or null if its not found.
*/
+ @org.apache.storm.thrift.annotation.Nullable
public static _Fields findByThriftId(int fieldId) {
switch(fieldId) {
case 1: // E
@@ -9005,6 +9014,7 @@ public class Nimbus {
/**
* Find the _Fields constant that matches name, or null if its not found.
*/
+ @org.apache.storm.thrift.annotation.Nullable
public static _Fields findByName(java.lang.String name) {
return byName.get(name);
}
@@ -9080,11 +9090,12 @@ public class Nimbus {
this.aze = null;
}
+ @org.apache.storm.thrift.annotation.Nullable
public AlreadyAliveException get_e() {
return this.e;
}
- public void set_e(AlreadyAliveException e) {
+ public void set_e(@org.apache.storm.thrift.annotation.Nullable AlreadyAliveException e) {
this.e = e;
}
@@ -9103,11 +9114,12 @@ public class Nimbus {
}
}
+ @org.apache.storm.thrift.annotation.Nullable
public InvalidTopologyException get_ite() {
return this.ite;
}
- public void set_ite(InvalidTopologyException ite) {
+ public void set_ite(@org.apache.storm.thrift.annotation.Nullable InvalidTopologyException ite) {
this.ite = ite;
}
@@ -9126,11 +9138,12 @@ public class Nimbus {
}
}
+ @org.apache.storm.thrift.annotation.Nullable
public AuthorizationException get_aze() {
return this.aze;
}
- public void set_aze(AuthorizationException aze) {
+ public void set_aze(@org.apache.storm.thrift.annotation.Nullable AuthorizationException aze) {
this.aze = aze;
}
@@ -9149,7 +9162,7 @@ public class Nimbus {
}
}
- public void setFieldValue(_Fields field, java.lang.Object value) {
+ public void setFieldValue(_Fields field, @org.apache.storm.thrift.annotation.Nullable java.lang.Object value) {
switch (field) {
case E:
if (value == null) {
@@ -9178,6 +9191,7 @@ public class Nimbus {
}
}
+ @org.apache.storm.thrift.annotation.Nullable
public java.lang.Object getFieldValue(_Fields field) {
switch (field) {
case E:
@@ -9315,6 +9329,7 @@ public class Nimbus {
return 0;
}
+ @org.apache.storm.thrift.annotation.Nullable
public _Fields fieldForId(int fieldId) {
return _Fields.findByThriftId(fieldId);
}
@@ -9531,11 +9546,11 @@ public class Nimbus {
private static final org.apache.storm.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new submitTopologyWithOpts_argsStandardSchemeFactory();
private static final org.apache.storm.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new submitTopologyWithOpts_argsTupleSchemeFactory();
- private java.lang.String name; // required
- private java.lang.String uploadedJarLocation; // required
- private java.lang.String jsonConf; // required
- private StormTopology topology; // required
- private SubmitOptions options; // required
+ private @org.apache.storm.thrift.annotation.Nullable java.lang.String name; // required
+ private @org.apache.storm.thrift.annotation.Nullable java.lang.String uploadedJarLocation; // required
+ private @org.apache.storm.thrift.annotation.Nullable java.lang.String jsonConf; // required
+ private @org.apache.storm.thrift.annotation.Nullable StormTopology topology; // required
+ private @org.apache.storm.thrift.annotation.Nullable SubmitOptions options; // required
/** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
public enum _Fields implements org.apache.storm.thrift.TFieldIdEnum {
@@ -9556,6 +9571,7 @@ public class Nimbus {
/**
* Find the _Fields constant that matches fieldId, or null if its not found.
*/
+ @org.apache.storm.thrift.annotation.Nullable
public static _Fields findByThriftId(int fieldId) {
switch(fieldId) {
case 1: // NAME
@@ -9586,6 +9602,7 @@ public class Nimbus {
/**
* Find the _Fields constant that matches name, or null if its not found.
*/
+ @org.apache.storm.thrift.annotation.Nullable
public static _Fields findByName(java.lang.String name) {
return byName.get(name);
}
@@ -9677,11 +9694,12 @@ public class Nimbus {
this.options = null;
}
+ @org.apache.storm.thrift.annotation.Nullable
public java.lang.String get_name() {
return this.name;
}
- public void set_name(java.lang.String name) {
+ public void set_name(@org.apache.storm.thrift.annotation.Nullable java.lang.String name) {
this.name = name;
}
@@ -9700,11 +9718,12 @@ public class Nimbus {
}
}
+ @org.apache.storm.thrift.annotation.Nullable
public java.lang.String get_uploadedJarLocation() {
return this.uploadedJarLocation;
}
- public void set_uploadedJarLocation(java.lang.String uploadedJarLocation) {
+ public void set_uploadedJarLocation(@org.apache.storm.thrift.annotation.Nullable java.lang.String uploadedJarLocation) {
this.uploadedJarLocation = uploadedJarLocation;
}
@@ -9723,11 +9742,12 @@ public class Nimbus {
}
}
+ @org.apache.storm.thrift.annotation.Nullable
public java.lang.String get_jsonConf() {
return this.jsonConf;
}
- public void set_jsonConf(java.lang.String jsonConf) {
+ public void set_jsonConf(@org.apache.storm.thrift.annotation.Nullable java.lang.String jsonConf) {
this.jsonConf = jsonConf;
}
@@ -9746,11 +9766,12 @@ public class Nimbus {
}
}
+ @org.apache.storm.thrift.annotation.Nullable
public StormTopology get_topology() {
return this.topology;
}
- public void set_topology(StormTopology topology) {
+ public void set_topology(@org.apache.storm.thrift.annotation.Nullable StormTopology topology) {
this.topology = topology;
}
@@ -9769,11 +9790,12 @@ public class Nimbus {
}
}
+ @org.apache.storm.thrift.annotation.Nullable
public SubmitOptions get_options() {
return this.options;
}
- public void set_options(SubmitOptions options) {
+ public void set_options(@org.apache.storm.thrift.annotation.Nullable SubmitOptions options) {
this.options = options;
}
@@ -9792,7 +9814,7 @@ public class Nimbus {
}
}
- public void setFieldValue(_Fields field, java.lang.Object value) {
+ public void setFieldValue(_Fields field, @org.apache.storm.thrift.annotation.Nullable java.lang.Object value) {
switch (field) {
case NAME:
if (value == null) {
@@ -9837,6 +9859,7 @@ public class Nimbus {
}
}
+ @org.apache.storm.thrift.annotation.Nullable
public java.lang.Object getFieldValue(_Fields field) {
switch (field) {
case NAME:
@@ -10030,6 +10053,7 @@ public class Nimbus {
return 0;
}
+ @org.apache.storm.thrift.annotation.Nullable
public _Fields fieldForId(int fieldId) {
return _Fields.findByThriftId(fieldId);
}
@@ -10310,9 +10334,9 @@ public class Nimbus {
private static final org.apache.storm.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new submitTopologyWithOpts_resultStandardSchemeFactory();
private static final org.apache.storm.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new submitTopologyWithOpts_resultTupleSchemeFactory();
- private AlreadyAliveException e; // required
- private InvalidTopologyException ite; // required
- private AuthorizationException aze; // required
+ private @org.apache.storm.thrift.annotation.Nullable AlreadyAliveException e; // required
+ private @org.apache.storm.thrift.annotation.Nullable InvalidTopologyException ite; // required
+ private @org.apache.storm.thrift.annotation.Nullable AuthorizationException aze; // required
/** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
public enum _Fields implements org.apache.storm.thrift.TFieldIdEnum {
@@ -10331,6 +10355,7 @@ public class Nimbus {
/**
* Find the _Fields constant that matches fieldId, or null if its not found.
*/
+ @org.apache.storm.thrift.annotation.Nullable
public static _Fields findByThriftId(int fieldId) {
switch(fieldId) {
case 1: // E
@@ -10357,6 +10382,7 @@ public class Nimbus {
/**
* Find the _Fields constant that matches name, or null if its not found.
*/
+ @org.apache.storm.thrift.annotation.Nullable
public static _Fields findByName(java.lang.String name) {
return byName.get(name);
}
@@ -10432,11 +10458,12 @@ public class Nimbus {
this.aze = null;
}
+ @org.apache.storm.thrift.annotation.Nullable
public AlreadyAliveException get_e() {
return this.e;
}
- public void set_e(AlreadyAliveException e) {
+ public void set_e(@org.apache.storm.thrift.annotation.Nullable AlreadyAliveException e) {
this.e = e;
}
@@ -10455,11 +10482,12 @@ public class Nimbus {
}
}
+ @org.apache.storm.thrift.annotation.Nullable
public InvalidTopologyException get_ite() {
return this.ite;
}
- public void set_ite(InvalidTopologyException ite) {
+ public void set_ite(@org.apache.storm.thrift.annotation.Nullable InvalidTopologyException ite) {
this.ite = ite;
}
@@ -10478,11 +10506,12 @@ public class Nimbus {
}
}
+ @org.apache.storm.thrift.annotation.Nullable
public AuthorizationException get_aze() {
return this.aze;
}
- public void set_aze(AuthorizationException aze) {
+ public void set_aze(@org.apache.storm.thrift.annotation.Nullable AuthorizationException aze) {
this.aze = aze;
}
@@ -10501,7 +10530,7 @@ public class Nimbus {
}
}
- public void setFieldValue(_Fields field, java.lang.Object value) {
+ public void setFieldValue(_Fields field, @org.apache.storm.thrift.annotation.Nullable java.lang.Object value) {
switch (field) {
case E:
if (value == null) {
@@ -10530,6 +10559,7 @@ public class Nimbus {
}
}
+ @org.apache.storm.thrift.annotation.Nullable
public java.lang.Object getFieldValue(_Fields field) {
switch (field) {
case E:
@@ -10667,6 +10697,7 @@ public class Nimbus {
return 0;
}
+ @org.apache.storm.thrift.annotation.Nullable
public _Fields fieldForId(int fieldId) {
return _Fields.findByThriftId(fieldId);
}
@@ -10879,7 +10910,7 @@ public class Nimbus {
private static final org.apache.storm.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new killTopology_argsStandardSchemeFactory();
private static final org.apache.storm.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new killTopology_argsTupleSchemeFactory();
- private java.lang.String name; // required
+ private @org.apache.storm.thrift.annotation.Nullable java.lang.String name; // required
/** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
public enum _Fields implements org.apache.storm.thrift.TFieldIdEnum {
@@ -10896,6 +10927,7 @@ public class Nimbus {
/**
* Find the _Fields constant that matches fieldId, or null if its not found.
*/
+ @org.apache.storm.thrift.annotation.Nullable
public static _Fields findByThriftId(int fieldId) {
switch(fieldId) {
case 1: // NAME
@@ -10918,6 +10950,7 @@ public class Nimbus {
/**
* Find the _Fields constant that matches name, or null if its not found.
*/
+ @org.apache.storm.thrift.annotation.Nullable
public static _Fields findByName(java.lang.String name) {
return byName.get(name);
}
@@ -10977,11 +11010,12 @@ public class Nimbus {
this.name = null;
}
+ @org.apache.storm.thrift.annotation.Nullable
public java.lang.String get_name() {
return this.name;
}
- public void set_name(java.lang.String name) {
+ public void set_name(@org.apache.storm.thrift.annotation.Nullable java.lang.String name) {
this.name = name;
}
@@ -11000,7 +11034,7 @@ public class Nimbus {
}
}
- public void setFieldValue(_Fields field, java.lang.Object value) {
+ public void setFieldValue(_Fields field, @org.apache.storm.thrift.annotation.Nullable java.lang.Object value) {
switch (field) {
case NAME:
if (value == null) {
@@ -11013,6 +11047,7 @@ public class Nimbus {
}
}
+ @org.apache.storm.thrift.annotation.Nullable
public java.lang.Object getFieldValue(_Fields field) {
switch (field) {
case NAME:
@@ -11094,6 +11129,7 @@ public class Nimbus {
return 0;
}
+ @org.apache.storm.thrift.annotation.Nullable
public _Fields fieldForId(int fieldId) {
return _Fields.findByThriftId(fieldId);
}
@@ -11239,8 +11275,8 @@ public class Nimbus {
private static final org.apache.storm.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new killTopology_resultStandardSchemeFactory();
private static final org.apache.storm.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new killTopology_resultTupleSchemeFactory();
- private NotAliveException e; // required
- private AuthorizationException aze; // required
+ private @org.apache.storm.thrift.annotation.Nullable NotAliveException e; // required
+ private @org.apache.storm.thrift.annotation.Nullable AuthorizationException aze; // required
/** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
public enum _Fields implements org.apache.storm.thrift.TFieldIdEnum {
@@ -11258,6 +11294,7 @@ public class Nimbus {
/**
* Find the _Fields constant that matches fieldId, or null if its not found.
*/
+ @org.apache.storm.thrift.annotation.Nullable
public static _Fields findByThriftId(int fieldId) {
switch(fieldId) {
case 1: // E
@@ -11282,6 +11319,7 @@ public class Nimbus {
/**
* Find the _Fields constant that matches name, or null if its not found.
*/
+ @org.apache.storm.thrift.annotation.Nullable
public static _Fields findByName(java.lang.String name) {
return byName.get(name);
}
@@ -11349,11 +11387,12 @@ public class Nimbus {
this.aze = null;
}
+ @org.apache.storm.thrift.annotation.Nullable
public NotAliveException get_e() {
return this.e;
}
- public void set_e(NotAliveException e) {
+ public void set_e(@org.apache.storm.thrift.annotation.Nullable NotAliveException e) {
this.e = e;
}
@@ -11372,11 +11411,12 @@ public class Nimbus {
}
}
+ @org.apache.storm.thrift.annotation.Nullable
public AuthorizationException get_aze() {
return this.aze;
}
- public void set_aze(AuthorizationException aze) {
+ public void set_aze(@org.apache.storm.thrift.annotation.Nullable AuthorizationException aze) {
this.aze = aze;
}
@@ -11395,7 +11435,7 @@ public class Nimbus {
}
}
- public void setFieldValue(_Fields field, java.lang.Object value) {
+ public void setFieldValue(_Fields field, @org.apache.storm.thrift.annotation.Nullable java.lang.Object value) {
switch (field) {
case E:
if (value == null) {
@@ -11416,6 +11456,7 @@ public class Nimbus {
}
}
+ @org.apache.storm.thrift.annotation.Nullable
public java.lang.Object getFieldValue(_Fields field) {
switch (field) {
case E:
@@ -11525,6 +11566,7 @@ public class Nimbus {
return 0;
}
+ @org.apache.storm.thrift.annotation.Nullable
public _Fields fieldForId(int fieldId) {
return _Fields.findByThriftId(fieldId);
}
@@ -11705,8 +11747,8 @@ public class Nimbus {
private static final org.apache.storm.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new killTopologyWithOpts_argsStandardSchemeFactory();
private static final org.apache.storm.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new killTopologyWithOpts_argsTupleSchemeFactory();
- private java.lang.String name; // required
- private KillOptions options; // required
+ private @org.apache.storm.thrift.annotation.Nullable java.lang.String name; // required
+ private @org.apache.storm.thrift.annotation.Nullable KillOptions options; // required
/** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
public enum _Fields implements org.apache.storm.thrift.TFieldIdEnum {
@@ -11724,6 +11766,7 @@ public class Nimbus {
/**
* Find the _Fields constant that matches fieldId, or null if its not found.
*/
+ @org.apache.storm.thrift.annotation.Nullable
public static _Fields findByThriftId(int fieldId) {
switch(fieldId) {
case 1: // NAME
@@ -11748,6 +11791,7 @@ public class Nimbus {
/**
* Find the _Fields constant that matches name, or null if its not found.
*/
+ @org.apache.storm.thrift.annotation.Nullable
public static _Fields findByName(java.lang.String name) {
return byName.get(name);
}
@@ -11815,11 +11859,12 @@ public class Nimbus {
this.options = null;
}
+ @org.apache.storm.thrift.annotation.Nullable
public java.lang.String get_name() {
return this.name;
}
- public void set_name(java.lang.String name) {
+ public void set_name(@org.apache.storm.thrift.annotation.Nullable java.lang.String name) {
this.name = name;
}
@@ -11838,11 +11883,12 @@ public class Nimbus {
}
}
+ @org.apache.storm.thrift.annotation.Nullable
public KillOptions get_options() {
return this.options;
}
- public void set_options(KillOptions options) {
+ public void set_options(@org.apache.storm.thrift.annotation.Nullable KillOptions options) {
this.options = options;
}
@@ -11861,7 +11907,7 @@ public class Nimbus {
}
}
- public void setFieldValue(_Fields field, java.lang.Object value) {
+ public void setFieldValue(_Fields field, @org.apache.storm.thrift.annotation.Nullable java.lang.Object value) {
switch (field) {
case NAME:
if (value == null) {
@@ -11882,6 +11928,7 @@ public class Nimbus {
}
}
+ @org.apache.storm.thrift.annotation.Nullable
public java.lang.Object getFieldValue(_Fields field) {
switch (field) {
case NAME:
@@ -11991,6 +12038,7 @@ public class Nimbus {
return 0;
}
+ @org.apache.storm.thrift.annotation.Nullable
public _Fields fieldForId(int fieldId) {
return _Fields.findByThriftId(fieldId);
}
@@ -12172,8 +12220,8 @@ public class Nimbus {
private static final org.apache.storm.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new killTopologyWithOpts_resultStandardSchemeFactory();
private static final org.apache.storm.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new killTopologyWithOpts_resultTupleSchemeFactory();
- private NotAliveException e; // required
- private AuthorizationException aze; // required
+ private @org.apache.storm.thrift.annotation.Nullable NotAliveException e; // required
+ private @org.apache.storm.thrift.annotation.Nullable AuthorizationException aze; // required
/** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
public enum _Fields implements org.apache.storm.thrift.TFieldIdEnum {
@@ -12191,6 +12239,7 @@ public class Nimbus {
/**
* Find the _Fields constant that matches fieldId, or null if its not found.
*/
+ @org.apache.storm.thrift.annotation.Nullable
public static _Fields findByThriftId(int fieldId) {
switch(fieldId) {
case 1: // E
@@ -12215,6 +12264,7 @@ public class Nimbus {
/**
* Find the _Fields constant that matches name, or null if its not found.
*/
+ @org.apache.storm.thrift.annotation.Nullable
public static _Fields findByName(java.lang.String name) {
return byName.get(name);
}
@@ -12282,11 +12332,12 @@ public class Nimbus {
this.aze = null;
}
+ @org.apache.storm.thrift.annotation.Nullable
public NotAliveException get_e() {
return this.e;
}
- public void set_e(NotAliveException e) {
+ public void set_e(@org.apache.storm.thrift.annotation.Nullable NotAliveException e) {
this.e = e;
}
@@ -12305,11 +12356,12 @@ public class Nimbus {
}
}
+ @org.apache.storm.thrift.annotation.Nullable
public AuthorizationException get_aze() {
return this.aze;
}
- public void set_aze(AuthorizationException aze) {
+ public void set_aze(@org.apache.storm.thrift.annotation.Nullable AuthorizationException aze) {
this.aze = aze;
}
@@ -12328,7 +12380,7 @@ public class Nimbus {
}
}
- public void setFieldValue(_Fields field, java.lang.Object value) {
+ public void setFieldValue(_Fields field, @org.apache.storm.thrift.annotation.Nullable java.lang.Object value) {
switch (field) {
case E:
if (value == null) {
@@ -12349,6 +12401,7 @@ public class Nimbus {
}
}
+ @org.apache.storm.thrift.annotation.Nullable
public java.lang.Object getFieldValue(_Fields field) {
switch (field) {
case E:
@@ -12458,6 +12511,7 @@ public class Nimbus {
return 0;
}
+ @org.apache.storm.thrift.annotation.Nullable
public _Fields fieldForId(int fieldId) {
return _Fields.findByThriftId(fieldId);
}
@@ -12637,7 +12691,7 @@ public class Nimbus {
private static final org.apache.storm.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new activate_argsStandardSchemeFactory();
private static final org.apache.storm.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new activate_argsTupleSchemeFactory();
- private java.lang.String name; // required
+ private @org.apache.storm.thrift.annotation.Nullable java.lang.String name; // required
/** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
public enum _Fields implements org.apache.storm.thrift.TFieldIdEnum {
@@ -12654,6 +12708,7 @@ public class Nimbus {
/**
* Find the _Fields constant that matches fieldId, or null if its not found.
*/
+ @org.apache.storm.thrift.annotation.Nullable
public static _Fields findByThriftId(int fieldId) {
switch(fieldId) {
case 1: // NAME
@@ -12676,6 +12731,7 @@ public class Nimbus {
/**
* Find the _Fields constant that matches name, or null if its not found.
*/
+ @org.apache.storm.thrift.annotation.Nullable
public static _Fields findByName(java.lang.String name) {
return byName.get(name);
}
@@ -12735,11 +12791,12 @@ public class Nimbus {
this.name = null;
}
+ @org.apache.storm.thrift.annotation.Nullable
public java.lang.String get_name() {
return this.name;
}
- public void set_name(java.lang.String name) {
+ public void set_name(@org.apache.storm.thrift.annotation.Nullable java.lang.String name) {
this.name = name;
}
@@ -12758,7 +12815,7 @@ public class Nimbus {
}
}
- public void setFieldValue(_Fields field, java.lang.Object value) {
+ public void setFieldValue(_Fields field, @org.apache.storm.thrift.annotation.Nullable java.lang.Object value) {
switch (field) {
case NAME:
if (value == null) {
@@ -12771,6 +12828,7 @@ public class Nimbus {
}
}
+ @org.apache.storm.thrift.annotation.Nullable
public java.lang.Object getFieldValue(_Fields field) {
switch (field) {
case NAME:
@@ -12852,6 +12910,7 @@ public class Nimbus {
return 0;
}
+ @org.apache.storm.thrift.annotation.Nullable
public _Fields fieldForId(int fieldId) {
return _Fields.findByThriftId(fieldId);
}
@@ -12997,8 +13056,8 @@ public class Nimbus {
private static final org.apache.storm.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new activate_resultStandardSchemeFactory();
private static final org.apache.storm.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new activate_resultTupleSchemeFactory();
- private NotAliveException e; // required
- private AuthorizationException aze; // required
+ private @org.apache.storm.thrift.annotation.Nullable NotAliveException e; // required
+ private @org.apache.storm.thrift.annotation.Nullable AuthorizationException aze; // required
/** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
public enum _Fields implements org.apache.storm.thrift.TFieldIdEnum {
@@ -13016,6 +13075,7 @@ public class Nimbus {
/**
* Find the _Fields constant that matches fieldId, or null if its not found.
*/
+ @org.apache.storm.thrift.annotation.Nullable
public static _Fields findByThriftId(int fieldId) {
switch(fieldId) {
case 1: // E
@@ -13040,6 +13100,7 @@ public class Nimbus {
/**
* Find the _Fields constant that matches name, or null if its not found.
*/
+ @org.apache.storm.thrift.annotation.Nullable
public static _Fields findByName(java.lang.String name) {
return byName.get(name);
}
@@ -13107,11 +13168,12 @@ public class Nimbus {
this.aze = null;
}
+ @org.apache.storm.thrift.annotation.Nullable
public NotAliveException get_e() {
return this.e;
}
- public void set_e(NotAliveException e) {
+ public void set_e(@org.apache.storm.thrift.annotation.Nullable NotAliveException e) {
this.e = e;
}
@@ -13130,11 +13192,12 @@ public class Nimbus {
}
}
+ @org.apache.storm.thrift.annotation.Nullable
public AuthorizationException get_aze() {
return this.aze;
}
- public void set_aze(AuthorizationException aze) {
+ public void set_aze(@org.apache.storm.thrift.annotation.Nullable AuthorizationException aze) {
this.aze = aze;
}
@@ -13153,7 +13216,7 @@ public class Nimbus {
}
}
- public void setFieldValue(_Fields field, java.lang.Object value) {
+ public void setFieldValue(_Fields field, @org.apache.storm.thrift.annotation.Nullable java.lang.Object value) {
switch (field) {
case E:
if (value == null) {
@@ -13174,6 +13237,7 @@ public class Nimbus {
}
}
+ @org.apache.storm.thrift.annotation.Nullable
public java.lang.Object getFieldValue(_Fields field) {
switch (field) {
case E:
@@ -13283,6 +13347,7 @@ public class Nimbus {
return 0;
}
+ @org.apache.storm.thrift.annotation.Nullable
public _Fields fieldForId(int fieldId) {
return _Fields.findByThriftId(fieldId);
}
@@ -13462,7 +13527,7 @@ public class Nimbus {
private static final org.apache.storm.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new deactivate_argsStandardSchemeFactory();
private static final org.apache.storm.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new deactivate_argsTupleSchemeFactory();
- private java.lang.String name; // required
+ private @org.apache.storm.thrift.annotation.Nullable java.lang.String name; // required
/** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
public enum _Fields implements org.apache.storm.thrift.TFieldIdEnum {
@@ -13479,6 +13544,7 @@ public class Nimbus {
/**
* Find the _Fields constant that matches fieldId, or null if its not found.
*/
+ @org.apache.storm.thrift.annotation.Nullable
public static _Fields findByThriftId(int fieldId) {
switch(fieldId) {
case 1: // NAME
@@ -13501,6 +13567,7 @@ public class Nimbus {
/**
* Find the _Fields constant that matches name, or null if its not found.
*/
+ @org.apache.storm.thrift.annotation.Nullable
public static _Fields findByName(java.lang.String name) {
return byName.get(name);
}
@@ -13560,11 +13627,12 @@ public class Nimbus {
this.name = null;
}
+ @org.apache.storm.thrift.annotation.Nullable
public java.lang.String get_name() {
return this.name;
}
- public void set_name(java.lang.String name) {
+ public void set_name(@org.apache.storm.thrift.annotation.Nullable java.lang.String name) {
this.name = name;
}
@@ -13583,7 +13651,7 @@ public class Nimbus {
}
}
- public void setFieldValue(_Fields field, java.lang.Object value) {
+ public void setFieldValue(_Fields field, @org.apache.storm.thrift.annotation.Nullable java.lang.Object value) {
switch (field) {
case NAME:
if (value == null) {
@@ -13596,6 +13664,7 @@ public class Nimbus {
}
}
+ @org.apache.storm.thrift.annotation.Nullable
public java.lang.Object getFieldValue(_Fields field) {
switch (field) {
case NAME:
@@ -13677,6 +13746,7 @@ public class Nimbus {
return 0;
}
+ @org.apache.storm.thrift.annotation.Nullable
public _Fields fieldForId(int fieldId) {
return _Fields.findByThriftId(fieldId);
}
@@ -13822,8 +13892,8 @@ public class Nimbus {
private static final org.apache.storm.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new deactivate_resultStandardSchemeFactory();
private static final org.apache.storm.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new deactivate_resultTupleSchemeFactory();
- private NotAliveException e; // required
- private AuthorizationException aze; // required
+ private @org.apache.storm.thrift.annotation.Nullable NotAliveException e; // required
+ private @org.apache.storm.thrift.annotation.Nullable AuthorizationException aze; // required
/** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
public enum _Fields implements org.apache.storm.thrift.TFieldIdEnum {
@@ -13841,6 +13911,7 @@ public class Nimbus {
/**
* Find the _Fields constant that matches fieldId, or null if its not found.
*/
+ @org.apache.storm.thrift.annotation.Nullable
public static _Fields findByThriftId(int fieldId) {
switch(fieldId) {
case 1: // E
@@ -13865,6 +13936,7 @@ public class Nimbus {
/**
* Find the _Fields constant that matches name, or null if its not found.
*/
+ @org.apache.storm.thrift.annotation.Nullable
public static _Fields findByName(java.lang.String name) {
return byName.get(name);
}
@@ -13932,11 +14004,12 @@ public class Nimbus {
this.aze = null;
}
+ @org.apache.storm.thrift.annotation.Nullable
public NotAliveException get_e() {
return this.e;
}
- public void set_e(NotAliveException e) {
+ public void set_e(@org.apache.storm.thrift.annotation.Nullable NotAliveException e) {
this.e = e;
}
@@ -13955,11 +14028,12 @@ public class Nimbus {
}
}
+ @org.apache.storm.thrift.annotation.Nullable
public AuthorizationException get_aze() {
return this.aze;
}
- public void set_aze(AuthorizationException aze) {
+ public void set_aze(@org.apache.storm.thrift.annotation.Nullable AuthorizationException aze) {
this.aze = aze;
}
@@ -13978,7 +14052,7 @@ public class Nimbus {
}
}
- public void setFieldValue(_Fields field, java.lang.Object value) {
+ public void setFieldValue(_Fields field, @org.apache.storm.thrift.annotation.Nullable java.lang.Object value) {
switch (field) {
case E:
if (value == null) {
@@ -13999,6 +14073,7 @@ public class Nimbus {
}
}
+ @org.apache.storm.thrift.annotation.Nullable
public java.lang.Object getFieldValue(_Fields field) {
switch (field) {
case E:
@@ -14108,6 +14183,7 @@ public class Nimbus {
return 0;
}
+ @org.apache.storm.thrift.annotation.Nullable
public _Fields fieldForId(int fieldId) {
return _Fields.findByThriftId(fieldId);
}
@@ -14288,8 +14364,8 @@ public class Nimbus {
private static final org.apache.storm.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new rebalance_argsStandardSchemeFactory();
private static final org.apache.storm.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new rebalance_argsTupleSchemeFactory();
- private java.lang.String name; // required
- private RebalanceOptions options; // required
+ private @org.apache.storm.thrift.annotation.Nullable java.lang.String name; // required
+ private @org.apache.storm.thrift.annotation.Nullable RebalanceOptions options; // required
/** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
public enum _Fields implements org.apache.storm.thrift.TFieldIdEnum {
@@ -14307,6 +14383,7 @@ public class Nimbus {
/**
* Find the _Fields constant that matches fieldId, or null if its not found.
*/
+ @org.apache.storm.thrift.annotation.Nullable
public static _Fields findByThriftId(int fieldId) {
switch(fieldId) {
case 1: // NAME
@@ -14331,6 +14408,7 @@ public class Nimbus {
/**
* Find the _Fields constant that matches name, or null if its not found.
*/
+ @org.apache.storm.thrift.annotation.Nullable
public static _Fields findByName(java.lang.String name) {
return byName.get(name);
}
@@ -14398,11 +14476,12 @@ public class Nimbus {
this.options = null;
}
+ @org.apache.storm.thrift.annotation.Nullable
public java.lang.String get_name() {
return this.name;
}
- public void set_name(java.lang.String name) {
+ public void set_name(@org.apache.storm.thrift.annotation.Nullable java.lang.String name) {
this.name = name;
}
@@ -14421,11 +14500,12 @@ public class Nimbus {
}
}
+ @org.apache.storm.thrift.annotation.Nullable
public RebalanceOptions get_options() {
return this.options;
}
- public void set_options(RebalanceOptions options) {
+ public void set_options(@org.apache.storm.thrift.annotation.Nullable RebalanceOptions options) {
this.options = options;
}
@@ -14444,7 +14524,7 @@ public class Nimbus {
}
}
- public void setFieldValue(_Fields field, java.lang.Object value) {
+ public void setFieldValue(_Fields field, @org.apache.storm.thrift.annotation.Nullable java.lang.Object value) {
switch (field) {
case NAME:
if (value == null) {
@@ -14465,6 +14545,7 @@ public class Nimbus {
}
}
+ @org.apache.storm.thrift.annotation.Nullable
public java.lang.Object getFieldValue(_Fields field) {
switch (field) {
case NAME:
@@ -14574,6 +14655,7 @@ public class Nimbus {
return 0;
}
+ @org.apache.storm.thrift.annotation.Nullable
public _Fields fieldForId(int fieldId) {
return _Fields.findByThriftId(fieldId);
}
@@ -14756,9 +14838,9 @@ public class Nimbus {
private static final org.apache.storm.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new rebalance_resultStandardSchemeFactory();
private static final org.apache.storm.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new rebalance_resultTupleSchemeFactory();
- private NotAliveException e; // required
- private InvalidTopologyException ite; // required
- private AuthorizationException aze; // required
+ private @org.apache.storm.thrift.annotation.Nullable NotAliveException e; // required
+ private @org.apache.storm.thrift.annotation.Nullable InvalidTopologyException ite; // required
+ private @org.apache.storm.thrift.annotation.Nullable AuthorizationException aze; // required
/** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
public enum _Fields implements org.apache.storm.thrift.TFieldIdEnum {
@@ -14777,6 +14859,7 @@ public class Nimbus {
/**
* Find the _Fields constant that matches fieldId, or null if its not found.
*/
+ @org.apache.storm.thrift.annotation.Nullable
public static _Fields findByThriftId(int fieldId) {
switch(fieldId) {
case 1: // E
@@ -14803,6 +14886,7 @@ public class Nimbus {
/**
* Find the _Fields constant that matches name, or null if its not found.
*/
+ @org.apache.storm.thrift.annotation.Nullable
public static _Fields findByName(java.lang.String name) {
return byName.get(name);
}
@@ -14878,11 +14962,12 @@ public class Nimbus {
this.aze = null;
}
+ @org.apache.storm.thrift.annotation.Nullable
public NotAliveException get_e() {
return this.e;
}
- public void set_e(NotAliveException e) {
+ public void set_e(@org.apache.storm.thrift.annotation.Nullable NotAliveException e) {
this.e = e;
}
@@ -14901,11 +14986,12 @@ public class Nimbus {
}
}
+ @org.apache.storm.thrift.annotation.Nullable
public InvalidTopologyException get_ite() {
return this.ite;
}
- public void set_ite(InvalidTopologyException ite) {
+ public void set_ite(@org.apache.storm.thrift.annotation.Nullable InvalidTopologyException ite) {
this.ite = ite;
}
@@ -14924,11 +15010,12 @@ public class Nimbus {
}
}
+ @org.apache.storm.thrift.annotation.Nullable
public AuthorizationException get_aze() {
return this.aze;
}
- public void set_aze(AuthorizationException aze) {
+ public void set_aze(@org.apache.storm.thrift.annotation.Nullable AuthorizationException aze) {
this.aze = aze;
}
@@ -14947,7 +15034,7 @@ public class Nimbus {
}
}
- public void setFieldValue(_Fields field, java.lang.Object value) {
+ public void setFieldValue(_Fields field, @org.apache.storm.thrift.annotation.Nullable java.lang.Object value) {
switch (field) {
case E:
if (value == null) {
@@ -14976,6 +15063,7 @@ public class Nimbus {
}
}
+ @org.apache.storm.thrift.annotation.Nullable
public java.lang.Object getFieldValue(_Fields field) {
switch (field) {
case E:
@@ -15113,6 +15201,7 @@ public class Nimbus {
return 0;
}
+ @org.apache.storm.thrift.annotation.Nullable
public _Fields fieldForId(int fieldId) {
return _Fields.findByThriftId(fieldId);
}
@@ -15326,8 +15415,8 @@ public class Nimbus {
private static final org.apache.storm.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new setLogConfig_argsStandardSchemeFactory();
private static final org.apache.storm.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new setLogConfig_argsTupleSchemeFactory();
- private java.lang.String name; // required
- private LogConfig config; // required
+ private @org.apache.storm.thrift.annotation.Nullable java.lang.String name; // required
+ private @org.apache.storm.thrift.annotation.Nullable LogConfig config; // required
/** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
public enum _Fields implements org.apache.storm.thrift.TFieldIdEnum {
@@ -15345,6 +15434,7 @@ public class Nimbus {
/**
* Find the _Fields constant that matches fieldId, or null if its not found.
*/
+ @org.apache.storm.thrift.annotation.Nullable
public static _Fields findByThriftId(int fieldId) {
switch(fieldId) {
case 1: // NAME
@@ -15369,6 +15459,7 @@ public class Nimbus {
/**
* Find the _Fields constant that matches name, or null if its not found.
*/
+ @org.apache.storm.thrift.annotation.Nullable
public static _Fields findByName(java.lang.String name) {
return byName.get(name);
}
@@ -15436,11 +15527,12 @@ public class Nimbus {
this.config = null;
}
+ @org.apache.storm.thrift.annotation.Nullable
public java.lang.String get_name() {
return this.name;
}
- public void set_name(java.lang.String name) {
+ public void set_name(@org.apache.storm.thrift.annotation.Nullable java.lang.String name) {
this.name = name;
}
@@ -15459,11 +15551,12 @@ public class Nimbus {
}
}
+ @org.apache.storm.thrift.annotation.Nullable
public LogConfig get_config() {
return this.config;
}
- public void set_config(LogConfig config) {
+ public void set_config(@org.apache.storm.thrift.annotation.Nullable LogConfig config) {
this.config = config;
}
@@ -15482,7 +15575,7 @@ public class Nimbus {
}
}
- public void setFieldValue(_Fields field, java.lang.Object value) {
+ public void setFieldValue(_Fields field, @org.apache.storm.thrift.annotation.Nullable java.lang.Object value) {
switch (field) {
case NAME:
if (value == null) {
@@ -15503,6 +15596,7 @@ public class Nimbus {
}
}
+ @org.apache.storm.thrift.annotation.Nullable
public java.lang.Object getFieldValue(_Fields field) {
switch (field) {
case NAME:
@@ -15612,6 +15706,7 @@ public class Nimbus {
return 0;
}
+ @org.apache.storm.thrift.annotation.Nullable
public _Fields fieldForId(int fieldId) {
return _Fields.findByThriftId(fieldId);
}
@@ -15807,6 +15902,7 @@ public class Nimbus {
/**
* Find the _Fields constant that matches fieldId, or null if its not found.
*/
+ @org.apache.storm.thrift.annotation.Nullable
public static _Fields findByThriftId(int fieldId) {
switch(fieldId) {
default:
@@ -15827,6 +15923,7 @@ public class Nimbus {
/**
* Find the _Fields constant that matches name, or null if its not found.
*/
+ @org.apache.storm.thrift.annotation.Nullable
public static _Fields findByName(java.lang.String name) {
return byName.get(name);
}
@@ -15871,11 +15968,12 @@ public class Nimbus {
public void clear() {
}
- public void setFieldValue(_Fields field, java.lang.Object value) {
+ public void setFieldValue(_Fields field, @org.apache.storm.thrift.annotation.Nullable java.lang.Object value) {
switch (field) {
}
}
+ @org.apache.storm.thrift.annotation.Nullable
public java.lang.Object getFieldValue(_Fields field) {
switch (field) {
}
@@ -15929,6 +16027,7 @@ public class Nimbus {
return 0;
}
+ @org.apache.storm.thrift.annotation.Nullable
public _Fields fieldForId(int fieldId) {
return _Fields.findByThriftId(fieldId);
}
@@ -16040,7 +16139,7 @@ public class Nimbus {
private static final org.apache.storm.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new getLogConfig_argsStandardSchemeFactory();
private static final org.apache.storm.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new getLogConfig_argsTupleSchemeFactory();
- private java.lang.String name; // required
+ private @org.apache.storm.thrift.annotation.Nullable java.lang.String name; // required
/** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
public enum _Fields implements org.apache.storm.thrift.TFieldIdEnum {
@@ -16057,6 +16156,7 @@ public class Nimbus {
/**
* Find the _Fields constant that matches fieldId, or null if its not found.
*/
+ @org.apache.storm.thrift.annotation.Nullable
public static _Fields findByThriftId(int fieldId) {
switch(fieldId) {
case 1: // NAME
@@ -16079,6 +16179,7 @@ public class Nimbus {
/**
* Find the _Fields constant that matches name, or null if its not found.
*/
+ @org.apache.storm.thrift.annotation.Nullable
public static _Fields findByName(java.lang.String name) {
return byName.get(name);
}
@@ -16138,11 +16239,12 @@ public class Nimbus {
this.name = null;
}
+ @org.apache.storm.thrift.annotation.Nullable
public java.lang.String get_name() {
return this.name;
}
- public void set_name(java.lang.String name) {
+ public void set_name(@org.apache.storm.thrift.annotation.Nullable java.lang.String name) {
this.name = name;
}
@@ -16161,7 +16263,7 @@ public class Nimbus {
}
}
- public void setFieldValue(_Fields field, java.lang.Object value) {
+ public void setFieldValue(_Fields field, @org.apache.storm.thrift.annotation.Nullable java.lang.Object value) {
switch (field) {
case NAME:
if (value == null) {
@@ -16174,6 +16276,7 @@ public class Nimbus {
}
}
+ @org.apache.storm.thrift.annotation.Nullable
public java.lang.Object getFieldValue(_Fields field) {
switch (field) {
case NAME:
@@ -16255,6 +16358,7 @@ public class Nimbus {
return 0;
}
+ @org.apache.storm.thrift.annotation.Nullable
public _Fields fieldForId(int fieldId) {
return _Fields.findByThriftId(fieldId);
}
@@ -16399,7 +16503,7 @@ public class Nimbus {
private static final org.apache.storm.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new getLogConfig_resultStandardSchemeFactory();
private static final org.apache.storm.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new getLogConfig_resultTupleSchemeFactory();
- private LogConfig success; // required
+ private @org.apache.storm.thrift.annotation.Nullable LogConfig success; // required
/** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
public enum _Fields implements org.apache.storm.thrift.TFieldIdEnum {
@@ -16416,6 +16520,7 @@ public class Nimbus {
/**
* Find the _Fields constant that matches fieldId, or null if its not found.
*/
+ @org.apache.storm.thrift.annotation.Nullable
public static _Fields findByThriftId(int fieldId) {
switch(fieldId) {
case 0: // SUCCESS
@@ -16438,6 +16543,7 @@ public class Nimbus {
/**
* Find the _Fields constant that matches name, or null if its not found.
*/
+ @org.apache.storm.thrift.annotation.Nullable
public static _Fields findByName(java.lang.String name) {
return byName.get(name);
}
@@ -16497,11 +16603,12 @@ public class Nimbus {
this.success = null;
}
+ @org.apache.storm.thrift.annotation.Nullable
public LogConfig get_success() {
return this.success;
}
- public void set_success(LogConfig success) {
+ public void set_success(@org.apache.storm.thrift.annotation.Nullable LogConfig success) {
this.success = success;
}
@@ -16520,7 +16627,7 @@ public class Nimbus {
}
}
- public void setFieldValue(_Fields field, java.lang.Object value) {
+ public void setFieldValue(_Fields field, @org.apache.storm.thrift.annotation.Nullable java.lang.Object value) {
switch (field) {
case SUCCESS:
if (value == null) {
@@ -16533,6 +16640,7 @@ public class Nimbus {
}
}
+ @org.apache.storm.thrift.annotation.Nullable
public java.lang.Object getFieldValue(_Fields field) {
switch (field) {
case SUCCESS:
@@ -16614,6 +16722,7 @@ public class Nimbus {
return 0;
}
+ @org.apache.storm.thrift.annotation.Nullable
public _Fields fieldForId(int fieldId) {
return _Fields.findByThriftId(fieldId);
}
@@ -16766,8 +16875,8 @@ public class Nimbus {
private static final org.apache.storm.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new debug_argsStandardSchemeFactory();
private static final org.apache.storm.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new debug_argsTupleSchemeFactory();
- private java.lang.String name; // required
- private java.lang.String component; // required
+ private @org.apache.storm.thrift.annotation.Nullable java.lang.String name; // required
+ private @org.apache.storm.thrift.annotation.Nullable java.lang.String component; // required
private boolean enable; // required
private double samplingPercentage; // required
@@ -16789,6 +16898,7 @@ public class Nimbus {
/**
* Find the _Fields constant that matches fieldId, or null if its not found.
*/
+ @org.apache.storm.thrift.annotation.Nullable
public static _Fields findByThriftId(int fieldId) {
switch(fieldId) {
case 1: // NAME
@@ -16817,6 +16927,7 @@ public class Nimbus {
/**
* Find the _Fields constant that matches name, or null if its not found.
*/
+ @org.apache.storm.thrift.annotation.Nullable
public static _Fields findByName(java.lang.String name) {
return byName.get(name);
}
@@ -16904,11 +17015,12 @@ public class Nimbus {
this.samplingPercentage = 0.0;
}
+ @org.apache.storm.thrift.annotation.Nullable
public java.lang.String get_name() {
return this.name;
}
- public void set_name(java.lang.String name) {
+ public void set_name(@org.apache.storm.thrift.annotation.Nullable java.lang.String name) {
this.name = name;
}
@@ -16927,11 +17039,12 @@ public class Nimbus {
}
}
+ @org.apache.storm.thrift.annotation.Nullable
public java.lang.String get_component() {
return this.component;
}
- public void set_component(java.lang.String component) {
+ public void set_component(@org.apache.storm.thrift.annotation.Nullable java.lang.String component) {
this.component = component;
}
@@ -16994,7 +17107,7 @@ public class Nimbus {
__isset_bitfield = org.apache.storm.thrift.EncodingUtils.setBit(__isset_bitfield, __SAMPLINGPERCENTAGE_ISSET_ID, value);
}
- public void setFieldValue(_Fields field, java.lang.Object value) {
+ public void setFieldValue(_Fields field, @org.apache.storm.thrift.annotation.Nullable java.lang.Object value) {
switch (field) {
case NAME:
if (value == null) {
@@ -17031,6 +17144,7 @@ public class Nimbus {
}
}
+ @org.apache.storm.thrift.annotation.Nullable
public java.lang.Object getFieldValue(_Fields field) {
switch (field) {
case NAME:
@@ -17192,6 +17306,7 @@ public class Nimbus {
return 0;
}
+ @org.apache.storm.thrift.annotation.Nullable
public _Fields fieldForId(int fieldId) {
return _Fields.findByThriftId(fieldId);
}
@@ -17420,8 +17535,8 @@ public class Nimbus {
private static final org.apache.storm.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new debug_resultStandardSchemeFactory();
private static final org.apache.storm.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new debug_resultTupleSchemeFactory();
- private NotAliveException e; // required
- private AuthorizationException aze; // required
+ private @org.apache.storm.thrift.annotation.Nullable NotAliveException e; // required
+ private @org.apache.storm.thrift.annotation.Nullable AuthorizationException aze; // required
/** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
public enum _Fields implements org.apache.storm.thrift.TFieldIdEnum {
@@ -17439,6 +17554,7 @@ public class Nimbus {
/**
* Find the _Fields constant that matches fieldId, or null if its not found.
*/
+ @org.apache.storm.thrift.annotation.Nullable
public static _Fields findByThriftId(int fieldId) {
switch(fieldId) {
case 1: // E
@@ -17463,6 +17579,7 @@ public class Nimbus {
/**
* Find the _Fields constant that matches name, or null if its not found.
*/
+ @org.apache.storm.thrift.annotation.Nullable
public static _Fields findByName(java.lang.String name) {
return byName.get(name);
}
@@ -17530,11 +17647,12 @@ public class Nimbus {
this.aze = null;
}
+ @org.apache.storm.thrift.annotation.Nullable
public NotAliveException get_e() {
return this.e;
}
- public void set_e(NotAliveException e) {
+ public void set_e(@org.apache.storm.thrift.annotation.Nullable NotAliveException e) {
this.e = e;
}
@@ -17553,11 +17671,12 @@ public class Nimbus {
}
}
+ @org.apache.storm.thrift.annotation.Nullable
public AuthorizationException get_aze() {
return this.aze;
}
- public void set_aze(AuthorizationException aze) {
+ public void set_aze(@org.apache.storm.thrift.annotation.Nullable AuthorizationException aze) {
this.aze = aze;
}
@@ -17576,7 +17695,7 @@ public class Nimbus {
}
}
- public void setFieldValue(_Fields field, java.lang.Object value) {
+ public void setFieldValue(_Fields field, @org.apache.storm.thrift.annotation.Nullable java.lang.Object value) {
switch (field) {
case E:
if (value == null) {
@@ -17597,6 +17716,7 @@ public class Nimbus {
}
}
+ @org.apache.storm.thrift.annotation.Nullable
public java.lang.Object getFieldValue(_Fields field) {
switch (field) {
case E:
@@ -17706,6 +17826,7 @@ public class Nimbus {
return 0;
}
+ @org.apache.storm.thrift.annotation.Nullable
public _Fields fieldForId(int fieldId) {
return _Fields.findByThriftId(fieldId);
}
@@ -17886,8 +18007,8 @@ public class Nimbus {
private static final org.apache.storm.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new setWorkerProfiler_argsStandardSchemeFactory();
private static final org.apache.storm.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new setWorkerProfiler_argsTupleSchemeFactory();
- private java.lang.String id; // required
- private ProfileRequest profileRequest; // required
+ private @org.apache.storm.thrift.annotation.Nullable java.lang.String id; // required
+ private @org.apache.storm.thrift.annotation.Nullable ProfileRequest profileRequest; // required
/** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
public enum _Fields implements org.apache.storm.thrift.TFieldIdEnum {
@@ -17905,6 +18026,7 @@ public class Nimbus {
/**
* Find the _Fields constant that matches fieldId, or null if its not found.
*/
+ @org.apache.storm.thrift.annotation.Nullable
public static _Fields findByThriftId(int fieldId) {
switch(fieldId) {
case 1: // ID
@@ -17929,6 +18051,7 @@ public class Nimbus {
/**
* Find the _Fields constant that matches name, or null if its not found.
*/
+ @org.apache.storm.thrift.annotation.Nullable
public static _Fields findByName(java.lang.String name) {
return byName.get(name);
}
@@ -17996,11 +18119,12 @@ public class Nimbus {
this.profileRequest = null;
}
+ @org.apache.storm.thrift.annotation.Nullable
public java.lang.String get_id() {
return this.id;
}
- public void set_id(java.lang.String id) {
+ public void set_id(@org.apache.storm.thrift.annotation.Nullable java.lang.String id) {
this.id = id;
}
@@ -18019,11 +18143,12 @@ public class Nimbus {
}
}
+ @org.apache.storm.thrift.annotation.Nullable
public ProfileRequest get_profileRequest() {
return this.profileRequest;
}
- public void set_profileRequest(ProfileRequest profileRequest) {
+ public void set_profileRequest(@org.apache.storm.thrift.annotation.Nullable ProfileRequest profileRequest) {
this.profileRequest = profileRequest;
}
@@ -18042,7 +18167,7 @@ public class Nimbus {
}
}
- public void setFieldValue(_Fields field, java.lang.Object value) {
+ public void setFieldValue(_Fields field, @org.apache.storm.thrift.annotation.Nullable java.lang.Object value) {
switch (field) {
case ID:
if (value == null) {
@@ -18063,6 +18188,7 @@ public class Nimbus {
}
}
+ @org.apache.storm.thrift.annotation.Nullable
public java.lang.Object getFieldValue(_Fields field) {
switch (field) {
case ID:
@@ -18172,6 +18298,7 @@ public class Nimbus {
return 0;
}
+ @org.apache.storm.thrift.annotation.Nullable
public _Fields fieldForId(int fieldId) {
return _Fields.findByThriftId(fieldId);
}
@@ -18367,6 +18494,7 @@ public class Nimbus {
/**
* Find the _Fields constant that matches fieldId, or null if its not found.
*/
+ @org.apache.storm.thrift.annotation.Nullable
public static _Fields findByThriftId(int fieldId) {
switch(fieldId) {
default:
@@ -18387,6 +18515,7 @@ public class Nimbus {
/**
* Find the _Fields constant that matches name, or null if its not found.
*/
+ @org.apache.storm.thrift.annotation.Nullable
public static _Fields findByName(java.lang.String name) {
return byName.get(name);
}
@@ -18431,11 +18560,12 @@ public class Nimbus {
public void clear() {
}
- public void setFieldValue(_Fields field, java.lang.Object value) {
+ public void setFieldValue(_Fields field, @org.apache.storm.thrift.annotation.Nullable java.lang.Object value) {
switch (field) {
}
}
+ @org.apache.storm.thrift.annotation.Nullable
public java.lang.Object getFieldValue(_Fields field) {
switch (field) {
}
@@ -18489,6 +18619,7 @@ public class Nimbus {
return 0;
}
+ @org.apache.storm.thrift.annotation.Nullable
public _Fields fieldForId(int fieldId) {
return _Fields.findByThriftId(fieldId);
}
@@ -18602,9 +18733,9 @@ public class Nimbus {
private static final org.apache.storm.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new getComponentPendingProfileActions_argsStandardSchemeFactory();
private static final org.apache.storm.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new getComponentPendingProfileActions_argsTupleSchemeFactory();
- private java.lang.String id; // required
- private java.lang.String component_id; // required
- private ProfileAction action; // required
+ private @org.apache.storm.thrift.annotation.Nullable java.lang.String id; // required
+ private @org.apache.storm.thrift.annotation.Nullable java.lang.String component_id; // required
+ private @org.apache.storm.thrift.annotation.Nullable ProfileAction action; // required
/** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
public enum _Fields implements org.apache.storm.thrift.TFieldIdEnum {
@@ -18627,6 +18758,7 @@ public class Nimbus {
/**
* Find the _Fields constant that matches fieldId, or null if its not found.
*/
+ @org.apache.storm.thrift.annotation.Nullable
public static _Fields findByThriftId(int fieldId) {
switch(fieldId) {
case 1: // ID
@@ -18653,6 +18785,7 @@ public class Nimbus {
/**
* Find the _Fields constant that matches name, or null if its not found.
*/
+ @org.apache.storm.thrift.annotation.Nullable
public static _Fields findByName(java.lang.String name) {
return byName.get(name);
}
@@ -18728,11 +18861,12 @@ public class Nimbus {
this.action = null;
}
+ @org.apache.storm.thrift.annotation.Nullable
public java.lang.String get_id() {
return this.id;
}
- public void set_id(java.lang.String id) {
+ public void set_id(@org.apache.storm.thrift.annotation.Nullable java.lang.String id) {
this.id = id;
}
@@ -18751,11 +18885,12 @@ public class Nimbus {
}
}
+ @org.apache.storm.thrift.annotation.Nullable
public java.lang.String get_component_id() {
return this.component_id;
}
- public void set_component_id(java.lang.String component_id) {
+ public void set_component_id(@org.apache.storm.thrift.annotation.Nullable java.lang.String component_id) {
this.component_id = component_id;
}
@@ -18778,6 +18913,7 @@ public class Nimbus {
*
* @see ProfileAction
*/
+ @org.apache.storm.thrift.annotation.Nullable
public ProfileAction get_action() {
return this.action;
}
@@ -18786,7 +18922,7 @@ public class Nimbus {
*
* @see ProfileAction
*/
- public void set_action(ProfileAction action) {
+ public void set_action(@org.apache.storm.thrift.annotation.Nullable ProfileAction action) {
this.action = action;
}
@@ -18805,7 +18941,7 @@ public class Nimbus {
}
}
- public void setFieldValue(_Fields field, java.lang.Object value) {
+ public void setFieldValue(_Fields field, @org.apache.storm.thrift.annotation.Nullable java.lang.Object value) {
switch (field) {
case ID:
if (value == null) {
@@ -18834,6 +18970,7 @@ public class Nimbus {
}
}
+ @org.apache.storm.thrift.annotation.Nullable
public java.lang.Object getFieldValue(_Fields field) {
switch (field) {
case ID:
@@ -18971,6 +19108,7 @@ public class Nimbus {
return 0;
}
+ @org.apache.storm.thrift.annotation.Nullable
public _Fields fieldForId(int fieldId) {
return _Fields.findByThriftId(fieldId);
}
@@ -19177,7 +19315,7 @@ public class Nimbus {
private static final org.apache.storm.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new getComponentPendingProfileActions_resultStandardSchemeFactory();
private static final org.apache.storm.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new getComponentPendingProfileActions_resultTupleSchemeFactory();
- private java.util.List<ProfileRequest> success; // required
+ private @org.apache.storm.thrift.annotation.Nullable java.util.List<ProfileRequest> success; // required
/** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
public enum _Fields implements org.apache.storm.thrift.TFieldIdEnum {
@@ -19194,6 +19332,7 @@ public class Nimbus {
/**
* Find the _Fields constant that matches fieldId, or null if its not found.
*/
+ @org.apache.storm.thrift.annotation.Nullable
public static _Fields findByThriftId(int fieldId) {
switch(fieldId) {
case 0: // SUCCESS
@@ -19216,6 +19355,7 @@ public class Nimbus {
/**
* Find the _Fields constant that matches name, or null if its not found.
*/
+ @org.apache.storm.thrift.annotation.Nullable
public static _Fields findByName(java.lang.String name) {
return byName.get(name);
}
@@ -19284,6 +19424,7 @@ public class Nimbus {
return (this.success == null) ? 0 : this.success.size();
}
+ @org.apache.storm.thrift.annotation.Nullable
public java.util.Iterator<ProfileRequest> get_success_iterator() {
return (this.success == null) ? null : this.success.iterator();
}
@@ -19295,11 +19436,12 @@ public class Nimbus {
this.success.add(elem);
}
+ @org.apache.storm.thrift.annotation.Nullable
public java.util.List<ProfileRequest> get_success() {
return this.success;
}
- public void set_success(java.util.List<ProfileRequest> success) {
+ public void set_success(@org.apache.storm.thrift.annotation.Nullable java.util.List<ProfileRequest> success) {
this.success = success;
}
@@ -19318,7 +19460,7 @@ public class Nimbus {
}
}
- public void setFieldValue(_Fields field, java.lang.Object value) {
+ public void setFieldValue(_Fields field, @org.apache.storm.thrift.annotation.Nullable java.lang.Object value) {
switch (field) {
case SUCCESS:
if (value == null) {
@@ -19331,6 +19473,7 @@ public class Nimbus {
}
}
+ @org.apache.storm.thrift.annotation.Nullable
public java.lang.Object getFieldValue(_Fields field) {
switch (field) {
case SUCCESS:
@@ -19412,6 +19555,7 @@ public class Nimbus {
return 0;
}
+ @org.apache.storm.thrift.annotation.Nullable
public _Fields fieldForId(int fieldId) {
return _Fields.findByThriftId(fieldId);
}
@@ -19484,7 +19628,7 @@ public class Nimbus {
{
org.apache.storm.thrift.protocol.TList _list920 = iprot.readListBegin();
struct.success = new java.util.ArrayList<ProfileRequest>(_list920.size);
- ProfileRequest _elem921;
+ @org.apache.storm.thrift.annotation.Nullable ProfileRequest _elem921;
for (int _i922 = 0; _i922 < _list920.size; ++_i922)
{
_elem921 = new ProfileRequest();
@@ -19564,7 +19708,7 @@ public class Nimbus {
{
org.apache.storm.thrift.protocol.TList _list925 = new org.apache.storm.thrift.protocol.TList(org.apache.storm.thrift.protocol.TType.STRUCT, iprot.readI32());
struct.success = new java.util.ArrayList<ProfileRequest>(_list925.size);
- ProfileRequest _elem926;
+ @org.apache.storm.thrift.annotation.Nullable ProfileRequest _elem926;
for (int _i927 = 0; _i927 < _list925.size; ++_i927)
{
_elem926 = new ProfileRequest();
@@ -19591,8 +19735,8 @@ public class Nimbus {
private static final org.apache.storm.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new uploadNewCredentials_argsStandardSchemeFactory();
private static final org.apache.storm.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new uploadNewCredentials_argsTupleSchemeFactory();
- private java.lang.String name; // required
- private Credentials creds; // required
+ private @org.apache.storm.thrift.annotation.Nullable java.lang.String name; // required
+ private @org.apache.storm.thrift.annotation.Nullable Credentials creds; // required
/** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
public enum _Fields implements org.apache.storm.thrift.TFieldIdEnum {
@@ -19610,6 +19754,7 @@ public class Nimbus {
/**
* Find the _Fields constant that matches fieldId, or null if its not found.
*/
+ @org.apache.storm.thrift.annotation.Nullable
public static _Fields findByThriftId(int fieldId) {
switch(fieldId) {
case 1: // NAME
@@ -19634,6 +19779,7 @@ public class Nimbus {
/**
* Find the _Fields constant that matches name, or null if its not found.
*/
+ @org.apache.storm.thrift.annotation.Nullable
public static _Fields findByName(java.lang.String name) {
return byName.get(name);
}
@@ -19701,11 +19847,12 @@ public class Nimbus {
this.creds = null;
}
+ @org.apache.storm.thrift.annotation.Nullable
public java.lang.String get_name() {
return this.name;
}
- public void set_name(java.lang.String name) {
+ public void set_name(@org.apache.storm.thrift.annotation.Nullable java.lang.String name) {
this.name = name;
}
@@ -19724,11 +19871,12 @@ public class Nimbus {
}
}
+ @org.apache.storm.thrift.annotation.Nullable
public Credentials get_creds() {
return this.creds;
}
- public void set_creds(Credentials creds) {
+ public void set_creds(@org.apache.storm.thrift.annotation.Nullable Credentials creds) {
this.creds = creds;
}
@@ -19747,7 +19895,7 @@ public class Nimbus {
}
}
- public void setFieldValue(_Fields field, java.lang.Object value) {
+ public void setFieldValue(_Fields field, @org.apache.storm.thrift.annotation.Nullable java.lang.Object value) {
switch (field) {
case NAME:
if (value == null) {
@@ -19768,6 +19916,7 @@ public class Nimbus {
}
}
+ @org.apache.storm.thrift.annotation.Nullable
public java.lang.Object getFieldValue(_Fields field) {
switch (field) {
case NAME:
@@ -19877,6 +20026,7 @@ public class Nimbus {
return 0;
}
+ @org.apache.storm.thrift.annotation.Nullable
public _Fields fieldForId(int fieldId) {
return _Fields.findByThriftId(fieldId);
}
@@ -20059,9 +20209,9 @@ public class Nimbus {
private static final org.apache.storm.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new uploadNewCredentials_resultStandardSchemeFactory();
private static final org.apache.storm.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new uploadNewCredentials_resultTupleSchemeFactory();
- private NotAliveException e; // required
- private InvalidTopologyException ite; // required
- private AuthorizationException aze; // required
+ private @org.apache.storm.thrift.annotation.Nullable NotAliveException e; // required
+ private @org.apache.storm.thrift.annotation.Nullable InvalidTopologyException ite; // required
+ private @org.apache.storm.thrift.annotation.Nullable AuthorizationException aze; // required
/** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
public enum _Fields implements org.apache.storm.thrift.TFieldIdEnum {
@@ -20080,6 +20230,7 @@ public class Nimbus {
/**
* Find the _Fields constant that matches fieldId, or null if its not found.
*/
+ @org.apache.storm.thrift.annotation.Nullable
public static _Fields findByThriftId(int fieldId) {
switch(fieldId) {
case 1: // E
@@ -20106,6 +20257,7 @@ public class Nimbus {
/**
* Find the _Fields constant that matches name, or null if its not found.
*/
+ @org.apache.storm.thrift.annotation.Nullable
public static _Fields findByName(java.lang.String name) {
return byName.get(name);
}
@@ -20181,11 +20333,12 @@ public class Nimbus {
this.aze = null;
}
+ @org.apache.storm.thrift.annotation.Nullable
public NotAliveException get_e() {
return this.e;
}
- public void set_e(NotAliveException e) {
+ public void set_e(@org.apache.storm.thrift.annotation.Nullable NotAliveException e) {
this.e = e;
}
@@ -20204,11 +20357,12 @@ public class Nimbus {
}
}
+ @org.apache.storm.thrift.annotation.Nullable
public InvalidTopologyException get_ite() {
return this.ite;
}
- public void set_ite(InvalidTopologyException ite) {
+ public void set_ite(@org.apache.storm.thrift.annotation.Nullable InvalidTopologyException ite) {
this.ite = ite;
}
@@ -20227,11 +20381,12 @@ public class Nimbus {
}
}
+ @org.apache.storm.thrift.annotation.Nullable
public AuthorizationException get_aze() {
return this.aze;
}
- public void set_aze(AuthorizationException aze) {
+ public void set_aze(@org.apache.storm.thrift.annotation.Nullable AuthorizationException aze) {
this.aze = aze;
}
@@ -20250,7 +20405,7 @@ public class Nimbus {
}
}
- public void setFieldValue(_Fields field, java.lang.Object value) {
+ public void setFieldValue(_Fields field, @org.apache.storm.thrift.annotation.Nullable java.lang.Object value) {
switch (field) {
case E:
if (value == null) {
@@ -20279,6 +20434,7 @@ public class Nimbus {
}
}
+ @org.apache.storm.thrift.annotation.Nullable
public java.lang.Object getFieldValue(_Fields field) {
switch (field) {
case E:
@@ -20416,6 +20572,7 @@ public class Nimbus {
return 0;
}
+ @org.apache.storm.thrift.annotation.Nullable
public _Fields fieldForId(int fieldId) {
return _Fields.findByThriftId(fieldId);
}
@@ -20629,8 +20786,8 @@ public class Nimbus {
private static final org.apache.storm.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new beginCreateBlob_argsStandardSchemeFactory();
private static final org.apache.storm.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new beginCreateBlob_argsTupleSchemeFactory();
- private java.lang.String key; // required
- private SettableBlobMeta meta; // required
+ private @org.apache.storm.thrift.annotation.Nullable java.lang.String key; // required
+ private @org.apache.storm.thrift.annotation.Nullable SettableBlobMeta meta; // required
/** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
public enum _Fields implements org.apache.storm.thrift.TFieldIdEnum {
@@ -20648,6 +20805,7 @@ public class Nimbus {
/**
* Find the _Fields constant that matches fieldId, or null if its not found.
*/
+ @org.apache.storm.thrift.annotation.Nullable
public static _Fields findByThriftId(int fieldId) {
switch(fieldId) {
case 1: // KEY
@@ -20672,6 +20830,7 @@ public class Nimbus {
/**
* Find the _Fields constant that matches name, or null if its not found.
*/
+ @org.apache.storm.thrift.annotation.Nullable
public static _Fields findByName(java.lang.String name) {
return byName.get(name);
}
@@ -20739,11 +20898,12 @@ public class Nimbus {
this.meta = null;
}
+ @org.apache.storm.thrift.annotation.Nullable
public java.lang.String get_key() {
return this.key;
}
- public void set_key(java.lang.String key) {
+ public void set_key(@org.apache.storm.thrift.annotation.Nullable java.lang.String key) {
this.key = key;
}
@@ -20762,11 +20922,12 @@ public class Nimbus {
}
}
+ @org.apache.storm.thrift.annotation.Nullable
public SettableBlobMeta get_meta() {
return this.meta;
}
- public void set_meta(SettableBlobMeta meta) {
+ public void set_meta(@org.apache.storm.thrift.annotation.Nullable SettableBlobMeta meta) {
this.meta = meta;
}
@@ -20785,7 +20946,7 @@ public class Nimbus {
}
}
- public void setFieldValue(_Fields field, java.lang.Object value) {
+ public void setFieldValue(_Fields field, @org.apache.storm.thrift.annotation.Nullable java.lang.Object value) {
... 14353 lines suppressed ...