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:ezbake.base.thrift.Time.java

License:Apache License

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

From source file:ezbake.base.thrift.Time.java

License:Apache License

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

From source file:ezbake.base.thrift.Time.java

License:Apache License

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

From source file:ezbake.base.thrift.Time.java

License:Apache License

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

From source file:ezbake.base.thrift.TimeZone.java

License:Apache License

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

From source file:ezbake.base.thrift.ValidityCaveats.java

License:Apache License

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

From source file:ezbake.data.base.thrift.PurgeOptions.java

License:Apache License

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

From source file:ezbake.data.base.thrift.PurgeResult.java

License:Apache License

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

From source file:ezbake.data.elastic.thrift.DateHistogramFacet.java

License:Apache License

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

From source file:ezbake.data.elastic.thrift.DateHistogramFacet.java

License:Apache License

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