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.airavata.sga.commons.db.model.ExperimentEntity.java

License:Apache License

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

From source file:org.apache.airavata.sga.commons.db.model.TaskStateEntity.java

License:Apache License

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

From source file:org.apache.airavata.sga.commons.db.model.TaskStateEntity.java

License:Apache License

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

From source file:org.apache.airavata.sga.commons.db.model.TaskStateEntity.java

License:Apache License

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

From source file:org.apache.airavata.sga.commons.model.Experiment.java

License:Apache License

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

From source file:org.apache.airavata.sga.commons.model.Experiment.java

License:Apache License

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

From source file:org.apache.airavata.sga.commons.model.Experiment.java

License:Apache License

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

From source file:org.apache.cassandra.thrift.CfSplit.java

License:Apache License

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

From source file:org.apache.cassandra.thrift.CqlPreparedResult.java

License:Apache License

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

From source file:org.apache.cassandra.thrift.MultiSliceRequest.java

License:Apache License

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