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.accumulo.core.tabletserver.thrift.ActionStats.java

License:Apache License

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

From source file:org.apache.accumulo.core.tabletserver.thrift.ActionStats.java

License:Apache License

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

From source file:org.apache.accumulo.core.tabletserver.thrift.ActionStats.java

License:Apache License

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

From source file:org.apache.accumulo.core.tabletserver.thrift.ActionStats.java

License:Apache License

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

From source file:org.apache.accumulo.core.tabletserver.thrift.ActionStats.java

License:Apache License

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

From source file:org.apache.accumulo.core.tabletserver.thrift.ActiveCompaction.java

License:Apache License

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

From source file:org.apache.accumulo.core.tabletserver.thrift.ActiveCompaction.java

License:Apache License

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

From source file:org.apache.accumulo.core.tabletserver.thrift.ActiveCompaction.java

License:Apache License

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

From source file:org.apache.accumulo.core.tabletserver.thrift.ActiveScan.java

License:Apache License

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

From source file:org.apache.accumulo.core.tabletserver.thrift.ActiveScan.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);
}