private static long fromHexString(String subqueryBitmap) {
        if (!subqueryBitmap.startsWith("0x")) {
            throw new IllegalArgumentException("Not a valid subquery bitmap ('0x' prefix missing): " + subqueryBitmap);
        }
        return Long.parseUnsignedLong(subqueryBitmap.substring(2), 16);
    }
Parses predicate query from JSON.
@param json JSON input.
@param featureHandler The handler is invoked when a feature is parsed.
@param rangeFeatureHandler The handler is invoked when a range feature is parsed.
@throws IllegalArgumentException If JSON is invalid.
predicate-search-core/src/main/java/com/yahoo/search/predicate/PredicateQueryParser.java