FactualQuery(FactualQueryMethods)


methods supported by FactualQuery

Extends Class: FactualQuery
Declared In: FactualQuery.h



Methods

-addFullTextQueryTerm:
-addFullTextQueryTerms:
-addFullTextQueryTermsFromArray:
-clearFullTextFilter
-setGeoFilter:radiusInMeters:
-clearGeoFilter
-addRowFilter:
-clearRowFilters

addFullTextQueryTerm:


-(void) addFullTextQueryTerm:(NSString*) textTerm; 
Discussion

add a text term to the full-text filter associated with the query. Full-text queries are only valid if support for them has been enabled in the target Factual table. Follow the last term by a nil.


addFullTextQueryTerms:


-(void) addFullTextQueryTerms:(NSString*) textTerm,... NS_REQUIRES_NIL_TERMINATION; 
Discussion

add one or more text terms to the full-text filter associated with the query. Full-text queries are only valid if support for them has been enabled in the target Factual table. Follow the last term by a nil.


addFullTextQueryTermsFromArray:


-(void) addFullTextQueryTermsFromArray:(NSArray*) terms; 
Discussion

add one or more text terms, contained within the passed in NSArray, to the full-text filter associated with the query. Full-text queries are only valid if support for them has been enabled in the target Factual table. Follow the last term by a nil.


clearFullTextFilter


-(void) clearFullTextFilter; 
Discussion

clear all text terms previosuly associated with this query object


setGeoFilter:radiusInMeters:


-(void) setGeoFilter:(CLLocationCoordinate2D)location 
        radiusInMeters:(double)radius; 
Discussion

search records by location and radius. This filter type is only valid for geo-enabled tables and if specified, the returned record set is sorted by distance from the specified point, so the primary and secondary sort criteria query fields are ignored if a geo filter has been specified.


clearGeoFilter


-(void) clearGeoFilter; 
Discussion

clear the previously set geo filter state


addRowFilter:


-(void) addRowFilter:(FactualRowFilter*) rowFilter; 
Discussion

add one or more row filters to the query. Row filters further limit the query results by applying the specified filters against any records returned as a result of any other query filter operations (full-text / geo).


clearRowFilters


-(void) clearRowFilters; 
Discussion

clear all previously set row filters

Last Updated: Friday, January 28, 2011