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:cgl.iotcloud.core.master.thrift.THeartBeatRequest.java

License:Apache License

public void setSensorsIsSet(boolean value) {
    __isset_bitfield = EncodingUtils.setBit(__isset_bitfield, __SENSORS_ISSET_ID, value);
}

From source file:cgl.iotcloud.core.master.thrift.THeartBeatResponse.java

License:Apache License

public void setTotalSensorsIsSet(boolean value) {
    __isset_bitfield = EncodingUtils.setBit(__isset_bitfield, __TOTALSENSORS_ISSET_ID, value);
}

From source file:cgl.iotcloud.core.master.thrift.THeartBeatResponse.java

License:Apache License

public void setResponsiveSonsorIsSet(boolean value) {
    __isset_bitfield = EncodingUtils.setBit(__isset_bitfield, __RESPONSIVESONSOR_ISSET_ID, value);
}

From source file:co.cask.tephra.distributed.thrift.TBoolean.java

License:Apache License

public void setValueIsSet(boolean value) {
    __isset_bitfield = EncodingUtils.setBit(__isset_bitfield, __VALUE_ISSET_ID, value);
}

From source file:co.cask.tephra.distributed.thrift.TTransaction.java

License:Apache License

public void setTransactionIdIsSet(boolean value) {
    __isset_bitfield = EncodingUtils.setBit(__isset_bitfield, __TRANSACTIONID_ISSET_ID, value);
}

From source file:co.cask.tephra.distributed.thrift.TTransaction.java

License:Apache License

public void setReadPointerIsSet(boolean value) {
    __isset_bitfield = EncodingUtils.setBit(__isset_bitfield, __READPOINTER_ISSET_ID, value);
}

From source file:co.cask.tephra.distributed.thrift.TTransaction.java

License:Apache License

public void setFirstShortIsSet(boolean value) {
    __isset_bitfield = EncodingUtils.setBit(__isset_bitfield, __FIRSTSHORT_ISSET_ID, value);
}

From source file:co.cask.tephra.distributed.thrift.TTransaction.java

License:Apache License

public void setWritePointerIsSet(boolean value) {
    __isset_bitfield = EncodingUtils.setBit(__isset_bitfield, __WRITEPOINTER_ISSET_ID, value);
}

From source file:com.cloudera.impala.extdatasource.thrift.TGetStatsResult.java

License:Apache License

public void setNum_rows_estimateIsSet(boolean value) {
    __isset_bitfield = EncodingUtils.setBit(__isset_bitfield, __NUM_ROWS_ESTIMATE_ISSET_ID, value);
}

From source file:com.facebook.nifty.perf.LoadError.java

License:Apache License

public void setCodeIsSet(boolean value) {
    __isset_bitfield = EncodingUtils.setBit(__isset_bitfield, __CODE_ISSET_ID, value);
}