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.proxy.thrift.Range.java

License:Apache License

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

From source file:org.apache.accumulo.proxy.thrift.ScanOptions.java

License:Apache License

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

From source file:org.apache.accumulo.proxy.thrift.WriterOptions.java

License:Apache License

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

From source file:org.apache.accumulo.trace.thrift.RemoteSpan.java

License:Apache License

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

From source file:org.apache.accumulo.trace.thrift.RemoteSpan.java

License:Apache License

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

From source file:org.apache.accumulo.trace.thrift.RemoteSpan.java

License:Apache License

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

From source file:org.apache.airavata.cloud.aurora.client.sdk.AssignedTask.java

License:Apache License

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

From source file:org.apache.airavata.cloud.aurora.client.sdk.JobConfiguration.java

License:Apache License

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

From source file:org.apache.airavata.cloud.aurora.client.sdk.JobInstanceUpdateEvent.java

License:Apache License

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

From source file:org.apache.airavata.cloud.aurora.client.sdk.JobStats.java

License:Apache License

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