Example usage for org.apache.thrift EncodingUtils testBit

List of usage examples for org.apache.thrift EncodingUtils testBit

Introduction

In this page you can find the example usage for org.apache.thrift EncodingUtils testBit.

Prototype

public static final boolean testBit(long v, int position) 

Source Link

Usage

From source file:org.apache.spark.sql.hive.test.Complex.java

License:Apache License

/** Returns true if field aint is set (has been assigned a value) and false otherwise */
public boolean isSetAint() {
    return EncodingUtils.testBit(__isset_bitfield, __AINT_ISSET_ID);
}

From source file:org.apache.storm.generated.ClusterSummary.java

License:Apache License

/** Returns true if field nimbus_uptime_secs is set (has been assigned a value) and false otherwise */
public boolean is_set_nimbus_uptime_secs() {
    return EncodingUtils.testBit(__isset_bitfield, __NIMBUS_UPTIME_SECS_ISSET_ID);
}

From source file:org.apache.storm.generated.ComponentCommon.java

License:Apache License

/** Returns true if field parallelism_hint is set (has been assigned a value) and false otherwise */
public boolean is_set_parallelism_hint() {
    return EncodingUtils.testBit(__isset_bitfield, __PARALLELISM_HINT_ISSET_ID);
}

From source file:org.apache.storm.generated.ErrorInfo.java

License:Apache License

/** Returns true if field error_time_secs is set (has been assigned a value) and false otherwise */
public boolean is_set_error_time_secs() {
    return EncodingUtils.testBit(__isset_bitfield, __ERROR_TIME_SECS_ISSET_ID);
}

From source file:org.apache.storm.generated.ExecutorInfo.java

License:Apache License

/** Returns true if field task_start is set (has been assigned a value) and false otherwise */
public boolean is_set_task_start() {
    return EncodingUtils.testBit(__isset_bitfield, __TASK_START_ISSET_ID);
}

From source file:org.apache.storm.generated.ExecutorInfo.java

License:Apache License

/** Returns true if field task_end is set (has been assigned a value) and false otherwise */
public boolean is_set_task_end() {
    return EncodingUtils.testBit(__isset_bitfield, __TASK_END_ISSET_ID);
}

From source file:org.apache.storm.generated.ExecutorStats.java

License:Apache License

/** Returns true if field rate is set (has been assigned a value) and false otherwise */
public boolean is_set_rate() {
    return EncodingUtils.testBit(__isset_bitfield, __RATE_ISSET_ID);
}

From source file:org.apache.storm.generated.KillOptions.java

License:Apache License

/** Returns true if field wait_secs is set (has been assigned a value) and false otherwise */
public boolean is_set_wait_secs() {
    return EncodingUtils.testBit(__isset_bitfield, __WAIT_SECS_ISSET_ID);
}

From source file:org.apache.storm.generated.OwnerResourceSummary.java

License:Apache License

/** Returns true if field total_topologies is set (has been assigned a value) and false otherwise */
public boolean is_set_total_topologies() {
    return EncodingUtils.testBit(__isset_bitfield, __TOTAL_TOPOLOGIES_ISSET_ID);
}

From source file:org.apache.storm.generated.OwnerResourceSummary.java

License:Apache License

/** Returns true if field total_executors is set (has been assigned a value) and false otherwise */
public boolean is_set_total_executors() {
    return EncodingUtils.testBit(__isset_bitfield, __TOTAL_EXECUTORS_ISSET_ID);
}