List of usage examples for org.apache.thrift EncodingUtils testBit
public static final boolean testBit(long v, int position)
From source file:backtype.storm.generated.AccessControl.java
License:Apache License
/** Returns true if field access is set (has been assigned a value) and false otherwise */ public boolean is_set_access() { return EncodingUtils.testBit(__isset_bitfield, __ACCESS_ISSET_ID); }
From source file:backtype.storm.generated.BeginDownloadResult.java
License:Apache License
/** Returns true if field version is set (has been assigned a value) and false otherwise */ public boolean is_set_version() { return EncodingUtils.testBit(__isset_bitfield, __VERSION_ISSET_ID); }
From source file:backtype.storm.generated.BeginDownloadResult.java
License:Apache License
/** Returns true if field data_size is set (has been assigned a value) and false otherwise */ public boolean is_set_data_size() { return EncodingUtils.testBit(__isset_bitfield, __DATA_SIZE_ISSET_ID); }
From source file:backtype.storm.generated.BoltAggregateStats.java
License:Apache License
/** Returns true if field execute_latency_ms is set (has been assigned a value) and false otherwise */ public boolean is_set_execute_latency_ms() { return EncodingUtils.testBit(__isset_bitfield, __EXECUTE_LATENCY_MS_ISSET_ID); }
From source file:backtype.storm.generated.BoltAggregateStats.java
License:Apache License
/** Returns true if field process_latency_ms is set (has been assigned a value) and false otherwise */ public boolean is_set_process_latency_ms() { return EncodingUtils.testBit(__isset_bitfield, __PROCESS_LATENCY_MS_ISSET_ID); }
From source file:backtype.storm.generated.BoltAggregateStats.java
License:Apache License
/** Returns true if field executed is set (has been assigned a value) and false otherwise */ public boolean is_set_executed() { return EncodingUtils.testBit(__isset_bitfield, __EXECUTED_ISSET_ID); }
From source file:backtype.storm.generated.BoltAggregateStats.java
License:Apache License
/** Returns true if field capacity is set (has been assigned a value) and false otherwise */ public boolean is_set_capacity() { return EncodingUtils.testBit(__isset_bitfield, __CAPACITY_ISSET_ID); }
From source file:backtype.storm.generated.ClusterWorkerHeartbeat.java
License:Apache License
/** Returns true if field time_secs is set (has been assigned a value) and false otherwise */ public boolean is_set_time_secs() { return EncodingUtils.testBit(__isset_bitfield, __TIME_SECS_ISSET_ID); }
From source file:backtype.storm.generated.CommonAggregateStats.java
License:Apache License
/** Returns true if field num_executors is set (has been assigned a value) and false otherwise */ public boolean is_set_num_executors() { return EncodingUtils.testBit(__isset_bitfield, __NUM_EXECUTORS_ISSET_ID); }
From source file:backtype.storm.generated.CommonAggregateStats.java
License:Apache License
/** Returns true if field num_tasks is set (has been assigned a value) and false otherwise */ public boolean is_set_num_tasks() { return EncodingUtils.testBit(__isset_bitfield, __NUM_TASKS_ISSET_ID); }