@Test public void testBooleanJsonNode() { try { Query bool = and().add(wildcard("var", "value")); Query bool2 = and().add(wildcard( bool.getCurrentObject().get(0).get(QUERY.WILDCARD.exactToken()), noAdapter)); compare(bool, bool2); bool = or().add(wildcard("var", "value")); bool2 = or().add(wildcard( bool.getCurrentObject().get(0).get(QUERY.WILDCARD.exactToken()), noAdapter)); compare(bool, bool2); bool = not().add(wildcard("var", "value")); bool2 = not().add(wildcard( bool.getCurrentObject().get(0).get(QUERY.WILDCARD.exactToken()), noAdapter)); compare(bool, bool2); bool = not().add(wildcard("var", "value")); bool2 = not().add(wildcard( bool.getCurrentObject().get(0).get(QUERY.WILDCARD.exactToken()), noAdapter)); compare(bool, bool2); bool = not().add(wildcard("var", "value"), wildcard("var2", "value2")); bool2 = not().add(wildcard( bool.getCurrentObject().get(0).get(QUERY.WILDCARD.exactToken()), noAdapter)) .add(wildcard(bool.getCurrentObject().get(1) .get(QUERY.WILDCARD.exactToken()), noAdapter)); compare(bool, bool2); } catch (InvalidCreateOperationException | InvalidParseOperationException e) { e.printStackTrace(); fail(e.getMessage()); } }
public static final WildcardQuery wildcard(final JsonNode command, final VarNameAdapter adapter) throws InvalidParseOperationException { return new WildcardQuery(QUERY.WILDCARD, command, adapter); }
QueryParserHelper extends QueryHelper { public static final WildcardQuery wildcard(final JsonNode command, final VarNameAdapter adapter) throws InvalidParseOperationException { return new WildcardQuery(QUERY.WILDCARD, command, adapter); } }
QueryParserHelper extends QueryHelper { public static final WildcardQuery wildcard(final JsonNode command, final VarNameAdapter adapter) throws InvalidParseOperationException { return new WildcardQuery(QUERY.WILDCARD, command, adapter); } protected  QueryParserHelper(); }
QueryParserHelper extends QueryHelper { public static final WildcardQuery wildcard(final JsonNode command, final VarNameAdapter adapter) throws InvalidParseOperationException { return new WildcardQuery(QUERY.WILDCARD, command, adapter); } protected  QueryParserHelper(); static final PathQuery path(final JsonNode array, final VarNameAdapter adapter); static final CompareQuery eq(final JsonNode command, final VarNameAdapter adapter); static final CompareQuery ne(final JsonNode command, final VarNameAdapter adapter); static final CompareQuery lt(final JsonNode command, final VarNameAdapter adapter); static final CompareQuery lte(final JsonNode command, final VarNameAdapter adapter); static final CompareQuery gt(final JsonNode command, final VarNameAdapter adapter); static final CompareQuery gte(final JsonNode command, final VarNameAdapter adapter); static final CompareQuery size(final JsonNode command, final VarNameAdapter adapter); static final ExistsQuery exists(final JsonNode command, final VarNameAdapter adapter); static final ExistsQuery missing(final JsonNode command, final VarNameAdapter adapter); static final ExistsQuery isNull(final JsonNode command, final VarNameAdapter adapter); static final InQuery in(final JsonNode command, final VarNameAdapter adapter); static final InQuery nin(final JsonNode command, final VarNameAdapter adapter); static final MatchQuery match(final JsonNode command, final VarNameAdapter adapter); static final MatchQuery matchAll(final JsonNode command, final VarNameAdapter adapter); static final MatchQuery matchPhrase(final JsonNode command, final VarNameAdapter adapter); static final MatchQuery matchPhrasePrefix(final JsonNode command, final VarNameAdapter adapter); static final SearchQuery regex(final JsonNode command, final VarNameAdapter adapter); static final SearchQuery search(final JsonNode command, final VarNameAdapter adapter); static final SearchQuery nestedSearch(final JsonNode command, final VarNameAdapter adapter); static final TermQuery term(final JsonNode command, final VarNameAdapter adapter); static final WildcardQuery wildcard(final JsonNode command, final VarNameAdapter adapter); static final MltQuery flt(final JsonNode command, final VarNameAdapter adapter); static final MltQuery mlt(final JsonNode command, final VarNameAdapter adapter); static final RangeQuery range(final JsonNode command, final VarNameAdapter adapter); static final NopQuery nop(); static final Query query(final String refCommand, final JsonNode command, final VarNameAdapter adapter); static final QUERY getRequestId(final String queryroot); static final Query[] analyzeArrayCommand(final QUERY query, final JsonNode commands,
        final VarNameAdapter adapter); }
QueryParserHelper extends QueryHelper { public static final WildcardQuery wildcard(final JsonNode command, final VarNameAdapter adapter) throws InvalidParseOperationException { return new WildcardQuery(QUERY.WILDCARD, command, adapter); } protected  QueryParserHelper(); static final PathQuery path(final JsonNode array, final VarNameAdapter adapter); static final CompareQuery eq(final JsonNode command, final VarNameAdapter adapter); static final CompareQuery ne(final JsonNode command, final VarNameAdapter adapter); static final CompareQuery lt(final JsonNode command, final VarNameAdapter adapter); static final CompareQuery lte(final JsonNode command, final VarNameAdapter adapter); static final CompareQuery gt(final JsonNode command, final VarNameAdapter adapter); static final CompareQuery gte(final JsonNode command, final VarNameAdapter adapter); static final CompareQuery size(final JsonNode command, final VarNameAdapter adapter); static final ExistsQuery exists(final JsonNode command, final VarNameAdapter adapter); static final ExistsQuery missing(final JsonNode command, final VarNameAdapter adapter); static final ExistsQuery isNull(final JsonNode command, final VarNameAdapter adapter); static final InQuery in(final JsonNode command, final VarNameAdapter adapter); static final InQuery nin(final JsonNode command, final VarNameAdapter adapter); static final MatchQuery match(final JsonNode command, final VarNameAdapter adapter); static final MatchQuery matchAll(final JsonNode command, final VarNameAdapter adapter); static final MatchQuery matchPhrase(final JsonNode command, final VarNameAdapter adapter); static final MatchQuery matchPhrasePrefix(final JsonNode command, final VarNameAdapter adapter); static final SearchQuery regex(final JsonNode command, final VarNameAdapter adapter); static final SearchQuery search(final JsonNode command, final VarNameAdapter adapter); static final SearchQuery nestedSearch(final JsonNode command, final VarNameAdapter adapter); static final TermQuery term(final JsonNode command, final VarNameAdapter adapter); static final WildcardQuery wildcard(final JsonNode command, final VarNameAdapter adapter); static final MltQuery flt(final JsonNode command, final VarNameAdapter adapter); static final MltQuery mlt(final JsonNode command, final VarNameAdapter adapter); static final RangeQuery range(final JsonNode command, final VarNameAdapter adapter); static final NopQuery nop(); static final Query query(final String refCommand, final JsonNode command, final VarNameAdapter adapter); static final QUERY getRequestId(final String queryroot); static final Query[] analyzeArrayCommand(final QUERY query, final JsonNode commands,
        final VarNameAdapter adapter);  }