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.master.thrift.Compacting.java

License:Apache License

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

From source file:org.apache.accumulo.core.master.thrift.DeadServer.java

License:Apache License

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

From source file:org.apache.accumulo.core.master.thrift.MasterMonitorInfo.java

License:Apache License

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

From source file:org.apache.accumulo.core.master.thrift.RecoveryStatus.java

License:Apache License

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

From source file:org.apache.accumulo.core.master.thrift.TableInfo.java

License:Apache License

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

From source file:org.apache.accumulo.core.master.thrift.TableInfo.java

License:Apache License

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

From source file:org.apache.accumulo.core.master.thrift.TableInfo.java

License:Apache License

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

From source file:org.apache.accumulo.core.master.thrift.TableInfo.java

License:Apache License

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

From source file:org.apache.accumulo.core.master.thrift.TableInfo.java

License:Apache License

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

From source file:org.apache.accumulo.core.master.thrift.TableInfo.java

License:Apache License

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