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.TableInfo.java

License:Apache License

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

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

License:Apache License

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

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

License:Apache License

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

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

License:Apache License

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

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

License:Apache License

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

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

License:Apache License

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

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

License:Apache License

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

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

License:Apache License

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

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

License:Apache License

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

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

License:Apache License

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