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:ezbake.data.elastic.thrift.SearchResult.java

License:Apache License

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

From source file:ezbake.data.elastic.thrift.StatisticalFacetResult.java

License:Apache License

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

From source file:ezbake.data.elastic.thrift.StatisticalFacetResult.java

License:Apache License

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

From source file:ezbake.data.elastic.thrift.StatisticalFacetResult.java

License:Apache License

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

From source file:ezbake.data.elastic.thrift.TermsFacet.java

License:Apache License

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

From source file:ezbake.data.elastic.thrift.TermsFacet.java

License:Apache License

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

From source file:ezbake.data.elastic.thrift.TermsFacet.java

License:Apache License

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

From source file:ezbake.data.elastic.thrift.TermsFacetResult.java

License:Apache License

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

From source file:ezbake.data.elastic.thrift.TermsFacetResult.java

License:Apache License

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

From source file:ezbake.data.elastic.thrift.TermsStatsFacetResultEntry.java

License:Apache License

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