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

License:Apache License

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

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

License:Apache License

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

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

License:Apache License

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

From source file:org.apache.accumulo.core.security.thrift.TAuthenticationKey.java

License:Apache License

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

From source file:org.apache.accumulo.core.security.thrift.TAuthenticationKey.java

License:Apache License

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

From source file:org.apache.accumulo.core.security.thrift.TAuthenticationKey.java

License:Apache License

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

From source file:org.apache.accumulo.core.security.thrift.TAuthenticationTokenIdentifier.java

License:Apache License

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

From source file:org.apache.accumulo.core.security.thrift.TDelegationTokenConfig.java

License:Apache License

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

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

License:Apache License

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

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

License:Apache License

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