Example usage for org.apache.thrift EncodingUtils setBit

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

Introduction

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

Prototype

public static final long setBit(long v, int position, boolean value) 

Source Link

Usage

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

License:Apache License

public void setAintIsSet(boolean value) {
    __isset_bitfield = EncodingUtils.setBit(__isset_bitfield, __AINT_ISSET_ID, value);
}

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

License:Apache License

public void set_nimbus_uptime_secs_isSet(boolean value) {
    __isset_bitfield = EncodingUtils.setBit(__isset_bitfield, __NIMBUS_UPTIME_SECS_ISSET_ID, value);
}

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

License:Apache License

public void set_parallelism_hint_isSet(boolean value) {
    __isset_bitfield = EncodingUtils.setBit(__isset_bitfield, __PARALLELISM_HINT_ISSET_ID, value);
}

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

License:Apache License

public void set_error_time_secs_isSet(boolean value) {
    __isset_bitfield = EncodingUtils.setBit(__isset_bitfield, __ERROR_TIME_SECS_ISSET_ID, value);
}

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

License:Apache License

public void set_task_start_isSet(boolean value) {
    __isset_bitfield = EncodingUtils.setBit(__isset_bitfield, __TASK_START_ISSET_ID, value);
}

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

License:Apache License

public void set_task_end_isSet(boolean value) {
    __isset_bitfield = EncodingUtils.setBit(__isset_bitfield, __TASK_END_ISSET_ID, value);
}

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

License:Apache License

public void set_rate_isSet(boolean value) {
    __isset_bitfield = EncodingUtils.setBit(__isset_bitfield, __RATE_ISSET_ID, value);
}

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

License:Apache License

public void set_wait_secs_isSet(boolean value) {
    __isset_bitfield = EncodingUtils.setBit(__isset_bitfield, __WAIT_SECS_ISSET_ID, value);
}

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

License:Apache License

public void set_total_topologies_isSet(boolean value) {
    __isset_bitfield = EncodingUtils.setBit(__isset_bitfield, __TOTAL_TOPOLOGIES_ISSET_ID, value);
}

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

License:Apache License

public void set_total_executors_isSet(boolean value) {
    __isset_bitfield = EncodingUtils.setBit(__isset_bitfield, __TOTAL_EXECUTORS_ISSET_ID, value);
}