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

License:Apache License

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

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

License:Apache License

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

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

License:Apache License

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

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

License:Apache License

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

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

License:Apache License

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

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

License:Apache License

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

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

License:Apache License

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

From source file:ezbake.data.elastic.thrift.Page.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.PercolateRequest.java

License:Apache License

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

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

License:Apache License

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