Top |
Object Hierarchy
GObject ╰── GDataParsable ╰── GDataEntry ╰── GDataFreebaseResult ├── GDataFreebaseSearchResult ╰── GDataFreebaseTopicResult
Description
GDataFreebaseResult is a subclass of GDataEntry to represent the result of a Google Freebase MQL query.
For more details of Google Freebase API, see the online documentation.
Functions
gdata_freebase_result_new ()
GDataFreebaseResult *
gdata_freebase_result_new (void
);
Creates a new GDataFreebaseResult.
Since 0.15.1
gdata_freebase_result_dup_variant ()
GVariant *
gdata_freebase_result_dup_variant (GDataFreebaseResult *self
);
Gets the result serialized as a GVariant of type "a{smv}", containing the JSON
data tree. This variant can be alternatively processed through json_gvariant_serialize()
.
Since 0.15.1
Types and Values
GDataFreebaseResult
typedef struct _GDataFreebaseResult GDataFreebaseResult;
All the fields in the GDataFreebaseResult structure are private and should never be accessed directly.
Since 0.15.1
GDataFreebaseResultClass
typedef struct { } GDataFreebaseResultClass;
All the fields in the GDataFreebaseResultClass structure are private and should never be accessed directly.
Since 0.15.1
Property Details
The “variant”
property
“variant” GVariant *
Variant containing the MQL result. The variant is a very generic container of type "a{smv}", containing (possibly nested) Freebase schema types and values.
Flags: Read
Allowed values: GVariant<a{smv}>
Default value: NULL
Since 0.15.1