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

License:Apache License

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

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

License:Apache License

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

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

License:Apache License

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

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

License:Apache License

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

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

License:Apache License

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

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

License:Apache License

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

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

License:Apache License

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

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

License:Apache License

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

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

License:Apache License

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

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

License:Apache License

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