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.data.elastic.thrift.UpdateOptions.java

License:Apache License

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

From source file:ezbake.data.mongo.driver.thrift.EzFindRequest.java

License:Apache License

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

From source file:ezbake.data.mongo.driver.thrift.EzFindRequest.java

License:Apache License

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

From source file:ezbake.data.mongo.driver.thrift.EzInsertRequest.java

License:Apache License

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

From source file:ezbake.data.mongo.driver.thrift.EzUpdateRequest.java

License:Apache License

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

From source file:ezbake.data.mongo.driver.thrift.EzUpdateRequest.java

License:Apache License

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

From source file:ezbake.data.mongo.driver.thrift.ResultsWrapper.java

License:Apache License

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

From source file:ezbake.data.mongo.driver.thrift.ResultsWrapper.java

License:Apache License

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

From source file:ezbake.data.mongo.thrift.MongoFindParams.java

License:Apache License

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

From source file:ezbake.data.mongo.thrift.MongoFindParams.java

License:Apache License

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