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.data.thrift.TConstraintViolationSummary.java

License:Apache License

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

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

License:Apache License

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

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

License:Apache License

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

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

License:Apache License

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

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

License:Apache License

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

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

License:Apache License

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

From source file:org.apache.accumulo.core.gc.thrift.GcCycleStats.java

License:Apache License

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

From source file:org.apache.accumulo.core.gc.thrift.GcCycleStats.java

License:Apache License

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

From source file:org.apache.accumulo.core.gc.thrift.GcCycleStats.java

License:Apache License

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

From source file:org.apache.accumulo.core.gc.thrift.GcCycleStats.java

License:Apache License

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