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.tabletserver.thrift.TabletStats.java

License:Apache License

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

From source file:org.apache.accumulo.core.tabletserver.thrift.TabletStats.java

License:Apache License

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

From source file:org.apache.accumulo.core.trace.thrift.TInfo.java

License:Apache License

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

From source file:org.apache.accumulo.core.trace.thrift.TInfo.java

License:Apache License

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

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

License:Apache License

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

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

License:Apache License

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

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

License:Apache License

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

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

License:Apache License

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

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

License:Apache License

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

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

License:Apache License

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