@Test public void testWhereFullText() { ParseQuery<ParseObject> query = new ParseQuery<>("Test"); String text = "TestString"; query.whereFullText("key", text); ParseQuery.State state = query.getBuilder().build(); ParseQuery.QueryConstraints queryConstraints = state.constraints(); ParseQuery.KeyConstraints keyConstraints = (ParseQuery.KeyConstraints) queryConstraints.get("key"); Map searchDictionary = (Map) keyConstraints.get("$text"); Map termDictionary = (Map) searchDictionary.get("$search"); String value = (String) termDictionary.get("$term"); assertEquals(value, text); }
public ParseQuery<T> whereFullText(String key, String text) { builder.whereText(key, text); return this; }
ParseQuery { public ParseQuery<T> whereFullText(String key, String text) { builder.whereText(key, text); return this; } }
ParseQuery { public ParseQuery<T> whereFullText(String key, String text) { builder.whereText(key, text); return this; } ParseQuery(Class<T> subclass);  ParseQuery(String theClassName);  ParseQuery(ParseQuery<T> query);  ParseQuery(State.Builder<T> builder); }
ParseQuery { public ParseQuery<T> whereFullText(String key, String text) { builder.whereText(key, text); return this; } ParseQuery(Class<T> subclass);  ParseQuery(String theClassName);  ParseQuery(ParseQuery<T> query);  ParseQuery(State.Builder<T> builder); static ParseQuery<T> or(List<ParseQuery<T>> queries); static ParseQuery<T> getQuery(@NonNull Class<T> subclass); static ParseQuery<T> getQuery(@NonNull String className); static void clearAllCachedResults(); State.Builder<T> getBuilder(); void cancel(); boolean isRunning(); List<T> find(); T getFirst(); CachePolicy getCachePolicy(); ParseQuery<T> setCachePolicy(CachePolicy newCachePolicy); ParseQuery<T> fromNetwork(); ParseQuery<T> fromLocalDatastore(); ParseQuery<T> fromPin(); ParseQuery<T> fromPin(String name); ParseQuery<T> ignoreACLs(); long getMaxCacheAge(); ParseQuery<T> setMaxCacheAge(long maxAgeInMilliseconds); Task<List<T>> findInBackground(); void findInBackground(final FindCallback<T> callback); Task<T> getFirstInBackground(); void getFirstInBackground(final GetCallback<T> callback); int count(); Task<Integer> countInBackground(); void countInBackground(final CountCallback callback); T get(final String objectId); boolean hasCachedResult(); void clearCachedResult(); Task<T> getInBackground(final String objectId); void getInBackground(final String objectId, final GetCallback<T> callback); ParseQuery<T> whereEqualTo(@NonNull String key, Object value); ParseQuery<T> whereLessThan(String key, Object value); ParseQuery<T> whereNotEqualTo(String key, Object value); ParseQuery<T> whereGreaterThan(String key, Object value); ParseQuery<T> whereLessThanOrEqualTo(String key, Object value); ParseQuery<T> whereGreaterThanOrEqualTo(String key, Object value); ParseQuery<T> whereContainedIn(String key, Collection<?> values); ParseQuery<T> whereContainsAll(String key, Collection<?> values); ParseQuery<T> whereFullText(String key, String text); ParseQuery<T> whereContainsAllStartsWith(String key, Collection<String> values); ParseQuery<T> whereMatchesQuery(String key, ParseQuery<?> query); ParseQuery<T> whereDoesNotMatchQuery(String key, ParseQuery<?> query); ParseQuery<T> whereMatchesKeyInQuery(String key, String keyInQuery, ParseQuery<?> query); ParseQuery<T> whereDoesNotMatchKeyInQuery(String key, String keyInQuery,
                                                     ParseQuery<?> query); ParseQuery<T> whereNotContainedIn(String key, Collection<?> values); ParseQuery<T> whereNear(String key, ParseGeoPoint point); ParseQuery<T> whereWithinMiles(String key, ParseGeoPoint point, double maxDistance); ParseQuery<T> whereWithinKilometers(String key, ParseGeoPoint point, double maxDistance); ParseQuery<T> whereWithinRadians(String key, ParseGeoPoint point, double maxDistance); ParseQuery<T> whereWithinGeoBox(
            String key, ParseGeoPoint southwest, ParseGeoPoint northeast); ParseQuery<T> whereWithinPolygon(String key, List<ParseGeoPoint> points); ParseQuery<T> whereWithinPolygon(String key, ParsePolygon polygon); ParseQuery<T> wherePolygonContains(String key, ParseGeoPoint point); ParseQuery<T> whereMatches(String key, String regex); ParseQuery<T> whereMatches(String key, String regex, String modifiers); ParseQuery<T> whereContains(String key, String substring); ParseQuery<T> whereStartsWith(String key, String prefix); ParseQuery<T> whereEndsWith(String key, String suffix); ParseQuery<T> include(String key); ParseQuery<T> selectKeys(Collection<String> keys); ParseQuery<T> whereExists(String key); ParseQuery<T> whereDoesNotExist(String key); ParseQuery<T> orderByAscending(String key); ParseQuery<T> addAscendingOrder(String key); ParseQuery<T> orderByDescending(String key); ParseQuery<T> addDescendingOrder(String key); int getLimit(); ParseQuery<T> setLimit(int newLimit); int getSkip(); ParseQuery<T> setSkip(int newSkip); String getClassName(); ParseQuery<T> clear(String key); ParseQuery<T> setTrace(boolean shouldTrace); }
ParseQuery { public ParseQuery<T> whereFullText(String key, String text) { builder.whereText(key, text); return this; } ParseQuery(Class<T> subclass);  ParseQuery(String theClassName);  ParseQuery(ParseQuery<T> query);  ParseQuery(State.Builder<T> builder); static ParseQuery<T> or(List<ParseQuery<T>> queries); static ParseQuery<T> getQuery(@NonNull Class<T> subclass); static ParseQuery<T> getQuery(@NonNull String className); static void clearAllCachedResults(); State.Builder<T> getBuilder(); void cancel(); boolean isRunning(); List<T> find(); T getFirst(); CachePolicy getCachePolicy(); ParseQuery<T> setCachePolicy(CachePolicy newCachePolicy); ParseQuery<T> fromNetwork(); ParseQuery<T> fromLocalDatastore(); ParseQuery<T> fromPin(); ParseQuery<T> fromPin(String name); ParseQuery<T> ignoreACLs(); long getMaxCacheAge(); ParseQuery<T> setMaxCacheAge(long maxAgeInMilliseconds); Task<List<T>> findInBackground(); void findInBackground(final FindCallback<T> callback); Task<T> getFirstInBackground(); void getFirstInBackground(final GetCallback<T> callback); int count(); Task<Integer> countInBackground(); void countInBackground(final CountCallback callback); T get(final String objectId); boolean hasCachedResult(); void clearCachedResult(); Task<T> getInBackground(final String objectId); void getInBackground(final String objectId, final GetCallback<T> callback); ParseQuery<T> whereEqualTo(@NonNull String key, Object value); ParseQuery<T> whereLessThan(String key, Object value); ParseQuery<T> whereNotEqualTo(String key, Object value); ParseQuery<T> whereGreaterThan(String key, Object value); ParseQuery<T> whereLessThanOrEqualTo(String key, Object value); ParseQuery<T> whereGreaterThanOrEqualTo(String key, Object value); ParseQuery<T> whereContainedIn(String key, Collection<?> values); ParseQuery<T> whereContainsAll(String key, Collection<?> values); ParseQuery<T> whereFullText(String key, String text); ParseQuery<T> whereContainsAllStartsWith(String key, Collection<String> values); ParseQuery<T> whereMatchesQuery(String key, ParseQuery<?> query); ParseQuery<T> whereDoesNotMatchQuery(String key, ParseQuery<?> query); ParseQuery<T> whereMatchesKeyInQuery(String key, String keyInQuery, ParseQuery<?> query); ParseQuery<T> whereDoesNotMatchKeyInQuery(String key, String keyInQuery,
                                                     ParseQuery<?> query); ParseQuery<T> whereNotContainedIn(String key, Collection<?> values); ParseQuery<T> whereNear(String key, ParseGeoPoint point); ParseQuery<T> whereWithinMiles(String key, ParseGeoPoint point, double maxDistance); ParseQuery<T> whereWithinKilometers(String key, ParseGeoPoint point, double maxDistance); ParseQuery<T> whereWithinRadians(String key, ParseGeoPoint point, double maxDistance); ParseQuery<T> whereWithinGeoBox(
            String key, ParseGeoPoint southwest, ParseGeoPoint northeast); ParseQuery<T> whereWithinPolygon(String key, List<ParseGeoPoint> points); ParseQuery<T> whereWithinPolygon(String key, ParsePolygon polygon); ParseQuery<T> wherePolygonContains(String key, ParseGeoPoint point); ParseQuery<T> whereMatches(String key, String regex); ParseQuery<T> whereMatches(String key, String regex, String modifiers); ParseQuery<T> whereContains(String key, String substring); ParseQuery<T> whereStartsWith(String key, String prefix); ParseQuery<T> whereEndsWith(String key, String suffix); ParseQuery<T> include(String key); ParseQuery<T> selectKeys(Collection<String> keys); ParseQuery<T> whereExists(String key); ParseQuery<T> whereDoesNotExist(String key); ParseQuery<T> orderByAscending(String key); ParseQuery<T> addAscendingOrder(String key); ParseQuery<T> orderByDescending(String key); ParseQuery<T> addDescendingOrder(String key); int getLimit(); ParseQuery<T> setLimit(int newLimit); int getSkip(); ParseQuery<T> setSkip(int newSkip); String getClassName(); ParseQuery<T> clear(String key); ParseQuery<T> setTrace(boolean shouldTrace); static final int MAX_LIMIT; }