@Test public void itChecksCamelCaseStrategy() { query.put("fullName", "example"); query.put("middle_name", "middle"); Spec spec = parser.parse(query).getBoundQuery(); assertThat(spec.getFullName()).isEqualTo("example"); assertThat(spec.getMiddleName()).isEqualTo("middle"); }
public ParsedQuery<T> parse(Multimap<String, String> uriParams) { return parse(uriParamParser.multimapToMultivaluedMap(uriParams)); }
QueryParser { public ParsedQuery<T> parse(Multimap<String, String> uriParams) { return parse(uriParamParser.multimapToMultivaluedMap(uriParams)); } }
QueryParser { public ParsedQuery<T> parse(Multimap<String, String> uriParams) { return parse(uriParamParser.multimapToMultivaluedMap(uriParams)); } protected  QueryParser(final Class<T> spec, boolean strictMode, MetaQuerySpec<T> meta, UriParamParser uriParamParser); }
QueryParser { public ParsedQuery<T> parse(Multimap<String, String> uriParams) { return parse(uriParamParser.multimapToMultivaluedMap(uriParams)); } protected  QueryParser(final Class<T> spec, boolean strictMode, MetaQuerySpec<T> meta, UriParamParser uriParamParser); static Builder<T> newBuilder(Class<T> spec); ParsedQuery<T> parse(Multimap<String, String> uriParams); ParsedQuery<T> createEmptyQuery(); ParsedQuery<T> parse(Map<String, List<String>> uriParams); SelectBuilder<T> newSelectBuilder(Multimap<String, String> query); SelectBuilder<T> newSelectBuilder(Map<String, List<String>> query); Class<T> getQueryType(); MetaQuerySpec<T> getMeta(); Collection<String> getOrderableFields(); }
QueryParser { public ParsedQuery<T> parse(Multimap<String, String> uriParams) { return parse(uriParamParser.multimapToMultivaluedMap(uriParams)); } protected  QueryParser(final Class<T> spec, boolean strictMode, MetaQuerySpec<T> meta, UriParamParser uriParamParser); static Builder<T> newBuilder(Class<T> spec); ParsedQuery<T> parse(Multimap<String, String> uriParams); ParsedQuery<T> createEmptyQuery(); ParsedQuery<T> parse(Map<String, List<String>> uriParams); SelectBuilder<T> newSelectBuilder(Multimap<String, String> query); SelectBuilder<T> newSelectBuilder(Map<String, List<String>> query); Class<T> getQueryType(); MetaQuerySpec<T> getMeta(); Collection<String> getOrderableFields();  }