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.mongo.thrift.MongoUpdateParams.java

License:Apache License

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

From source file:ezbake.frack.submitter.thrift.SubmitResult.java

License:Apache License

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

From source file:ezbake.publisher.thrift.PublishData.java

License:Apache License

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

From source file:ezbake.publisher.thrift.PublishResult.java

License:Apache License

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

From source file:ezbake.publisher.thrift.PublishResult.java

License:Apache License

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

From source file:ezbake.quarantine.thrift.IdsResponse.java

License:Apache License

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

From source file:ezbake.quarantine.thrift.ImportResult.java

License:Apache License

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

From source file:ezbake.quarantine.thrift.ImportResult.java

License:Apache License

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

From source file:ezbake.quarantine.thrift.ImportResult.java

License:Apache License

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

From source file:ezbake.quarantine.thrift.QuarantinedObject.java

License:Apache License

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