Top |
Functions
Object Hierarchy
GBoxed ╰── GDataFreebaseSearchResultItem GObject ╰── GDataParsable ╰── GDataEntry ╰── GDataFreebaseResult ╰── GDataFreebaseSearchResult
Description
GDataFreebaseSearchResult is a subclass of GDataEntry to represent the result of a Freebase search query.
For more details of Google Freebase API, see the online documentation.
Functions
gdata_freebase_search_result_new ()
GDataFreebaseSearchResult *
gdata_freebase_search_result_new (void
);
gdata_freebase_search_result_new
has been deprecated since version 0.17.7 and should not be used in newly-written code.
Google Freebase has been permanently shut down.
Creates a new GDataFreebaseSearchResult with the given ID and default properties.
Since: 0.15.1
gdata_freebase_search_result_get_num_items ()
guint
gdata_freebase_search_result_get_num_items
(GDataFreebaseSearchResult *self
);
gdata_freebase_search_result_get_num_items
has been deprecated since version 0.17.7 and should not be used in newly-written code.
Google Freebase has been permanently shut down.
Returns the number of items contained in this result.
Since: 0.15.1
gdata_freebase_search_result_get_total_hits ()
guint
gdata_freebase_search_result_get_total_hits
(GDataFreebaseSearchResult *self
);
gdata_freebase_search_result_get_total_hits
has been deprecated since version 0.17.7 and should not be used in newly-written code.
Google Freebase has been permanently shut down.
Returns the total number of hits found for the search query.
Since: 0.15.1
gdata_freebase_search_result_get_item ()
const GDataFreebaseSearchResultItem * gdata_freebase_search_result_get_item (GDataFreebaseSearchResult *self
,guint i
);
gdata_freebase_search_result_get_item
has been deprecated since version 0.17.7 and should not be used in newly-written code.
Google Freebase has been permanently shut down.
Gets an item from the search result.
Since: 0.15.1
gdata_freebase_search_result_item_get_mid ()
const gchar *
gdata_freebase_search_result_item_get_mid
(const GDataFreebaseSearchResultItem *item
);
gdata_freebase_search_result_item_get_mid
has been deprecated since version 0.17.7 and should not be used in newly-written code.
Google Freebase has been permanently shut down.
Returns the machine-encoded ID (MID) of the search result item. Elements may have a single MID, as opposed to the potentially multiple Freebase IDs that may point to it. MIDs are usable interchangeably with Freebase IDs.
Since: 0.15.1
gdata_freebase_search_result_item_get_id ()
const gchar *
gdata_freebase_search_result_item_get_id
(const GDataFreebaseSearchResultItem *item
);
gdata_freebase_search_result_item_get_id
has been deprecated since version 0.17.7 and should not be used in newly-written code.
Google Freebase has been permanently shut down.
Returns the Freebase ID of the search result item.
Since: 0.15.1
gdata_freebase_search_result_item_get_name ()
const gchar *
gdata_freebase_search_result_item_get_name
(const GDataFreebaseSearchResultItem *item
);
gdata_freebase_search_result_item_get_name
has been deprecated since version 0.17.7 and should not be used in newly-written code.
Google Freebase has been permanently shut down.
Returns the human readable name of the search result item.
Since: 0.15.1
gdata_freebase_search_result_item_get_language ()
const gchar *
gdata_freebase_search_result_item_get_language
(const GDataFreebaseSearchResultItem *item
);
gdata_freebase_search_result_item_get_language
has been deprecated since version 0.17.7 and should not be used in newly-written code.
Google Freebase has been permanently shut down.
Gets the language of this search result item, in ISO-639-1 format.
Since: 0.15.1
gdata_freebase_search_result_item_get_notable_id ()
const gchar *
gdata_freebase_search_result_item_get_notable_id
(const GDataFreebaseSearchResultItem *item
);
gdata_freebase_search_result_item_get_notable_id
has been deprecated since version 0.17.7 and should not be used in newly-written code.
Google Freebase has been permanently shut down.
If this search result item is notable in an specific topic, this function returns the Freebase ID of this topic.
Since: 0.15.1
gdata_freebase_search_result_item_get_notable_name ()
const gchar *
gdata_freebase_search_result_item_get_notable_name
(const GDataFreebaseSearchResultItem *item
);
gdata_freebase_search_result_item_get_notable_name
has been deprecated since version 0.17.7 and should not be used in newly-written code.
Google Freebase has been permanently shut down.
If this search result item is notable in an specific topic, this function returns the human readable name of this topic.
Since: 0.15.1
gdata_freebase_search_result_item_get_score ()
gdouble
gdata_freebase_search_result_item_get_score
(const GDataFreebaseSearchResultItem *item
);
gdata_freebase_search_result_item_get_score
has been deprecated since version 0.17.7 and should not be used in newly-written code.
Google Freebase has been permanently shut down.
Returns the score of this search result item. The higher, the more relevant this item seems, given the search terms.
Since: 0.15.1
Types and Values
GDataFreebaseSearchResult
typedef struct _GDataFreebaseSearchResult GDataFreebaseSearchResult;
GDataFreebaseSearchResult
is deprecated and should not be used in newly-written code.
All the fields in the GDataFreebaseSearchResult structure are private and should never be accessed directly.
Since: 0.15.1
GDataFreebaseSearchResultClass
typedef struct { } GDataFreebaseSearchResultClass;
GDataFreebaseSearchResultClass
is deprecated and should not be used in newly-written code.
All the fields in the GDataFreebaseSearchResultClass structure are private and should never be accessed directly.
Since: 0.15.1
GDataFreebaseSearchResultItem
typedef struct _GDataFreebaseSearchResultItem GDataFreebaseSearchResultItem;
GDataFreebaseSearchResultItem
is deprecated and should not be used in newly-written code.
Opaque struct holding data for a single search result item.
Since: 0.15.1