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.services.provenance.thrift.DocumentInfo.java

License:Apache License

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

From source file:ezbake.services.provenance.thrift.InheritanceInfo.java

License:Apache License

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

From source file:ezbake.services.provenance.thrift.InheritanceInfo.java

License:Apache License

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

From source file:ezbake.services.provenance.thrift.PurgeInfo.java

License:Apache License

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

From source file:ezbake.thrift.sample.SampleStruct.java

License:Apache License

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

From source file:gtp.TPoint.java

License:Apache License

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

From source file:gtp.TPoint.java

License:Apache License

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

From source file:it.polimi.hegira.models.Column.java

License:Apache License

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

From source file:org.apache.accumulo.core.client.impl.thrift.TDiskUsage.java

License:Apache License

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

From source file:org.apache.accumulo.core.data.thrift.InitialMultiScan.java

License:Apache License

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