TrackerTurtleWriter
3
LIBTRACKER-COMMON Library

# TrackerTurtleWriter

## Synopsis

                        TrackerSparqlBuilderPrivate;
    #define             TRACKER_TYPE_TURTLE_WRITER
    #define             TRACKER_TURTLE_WRITER               (obj)
    #define             TRACKER_TURTLE_WRITER_CLASS         (klass)
    #define             TRACKER_IS_TURTLE_WRITER            (obj)
    #define             TRACKER_IS_TURTLE_WRITER_CLASS      (klass)
    #define             TRACKER_TURTLE_WRITER_GET_CLASS     (obj)
                        TrackerTurtleWriterPrivate;
                        TrackerSparqlBuilder;
                        TrackerTurtleWriter;
    TrackerSparqlBuilder* tracker_sparql_builder_new_update (void);
    TrackerSparqlBuilder* tracker_sparql_builder_construct_update
                                                            (GType object_type);
    void                tracker_sparql_builder_drop_graph   (TrackerSparqlBuilder *self,
                                                             const char *iri);
    void                tracker_sparql_builder_insert_open  (TrackerSparqlBuilder *self,
                                                             const char *graph);
    void                tracker_sparql_builder_insert_close (TrackerSparqlBuilder *self);
    void                tracker_sparql_builder_subject_iri  (TrackerSparqlBuilder *self,
                                                             const char *iri);
    void                tracker_sparql_builder_subject      (TrackerSparqlBuilder *self,
                                                             const char *s);
    void                tracker_sparql_builder_predicate_iri
                                                            (TrackerSparqlBuilder *self,
                                                             const char *iri);
    void                tracker_sparql_builder_predicate    (TrackerSparqlBuilder *self,
                                                             const char *s);
    void                tracker_sparql_builder_object_iri   (TrackerSparqlBuilder *self,
                                                             const char *iri);
    void                tracker_sparql_builder_object       (TrackerSparqlBuilder *self,
                                                             const char *s);
    void                tracker_sparql_builder_object_string
                                                            (TrackerSparqlBuilder *self,
                                                             const char *literal);
    void                tracker_sparql_builder_object_boolean
                                                            (TrackerSparqlBuilder *self,
                                                             gboolean literal);
    void                tracker_sparql_builder_object_int64 (TrackerSparqlBuilder *self,
                                                             gint64 literal);
    void                tracker_sparql_builder_object_date  (TrackerSparqlBuilder *self,
                                                             time_t *literal);
    void                tracker_sparql_builder_object_blank_open
                                                            (TrackerSparqlBuilder *self);
    void                tracker_sparql_builder_object_blank_close
                                                            (TrackerSparqlBuilder *self);
    void                tracker_sparql_builder_append       (TrackerSparqlBuilder *self,
                                                             const char *raw);
    TrackerSparqlBuilder* tracker_sparql_builder_new        (void);
    TrackerSparqlBuilder* tracker_sparql_builder_construct  (GType object_type);
    const char*         tracker_sparql_builder_get_result   (TrackerSparqlBuilder *self);
    gint                tracker_sparql_builder_get_length   (TrackerSparqlBuilder *self);
    GType               tracker_turtle_writer_get_type      (void);
    TrackerTurtleWriter* tracker_turtle_writer_new          (GOutputStream *stream);
    TrackerTurtleWriter* tracker_turtle_writer_construct    (GType object_type,
                                                             GOutputStream *stream);
    void                tracker_turtle_writer_subject_iri   (TrackerTurtleWriter *self,
                                                             const char *iri);
    void                tracker_turtle_writer_subject       (TrackerTurtleWriter *self,
                                                             const char *s);
    void                tracker_turtle_writer_predicate_iri (TrackerTurtleWriter *self,
                                                             const char *iri);
    void                tracker_turtle_writer_predicate     (TrackerTurtleWriter *self,
                                                             const char *s);
    void                tracker_turtle_writer_object_iri    (TrackerTurtleWriter *self,
                                                             const char *iri);
    void                tracker_turtle_writer_object        (TrackerTurtleWriter *self,
                                                             const char *s);
    void                tracker_turtle_writer_object_string (TrackerTurtleWriter *self,
                                                             const char *literal);
    void                tracker_turtle_writer_object_boolean
                                                            (TrackerTurtleWriter *self,
                                                             gboolean literal);
    void                tracker_turtle_writer_object_int64  (TrackerTurtleWriter *self,
                                                             gint64 literal);
    void                tracker_turtle_writer_object_date   (TrackerTurtleWriter *self,
                                                             time_t *literal);
    void                tracker_turtle_writer_object_blank_open
                                                            (TrackerTurtleWriter *self);
    void                tracker_turtle_writer_object_blank_close
                                                            (TrackerTurtleWriter *self);
    void                tracker_turtle_writer_close         (TrackerTurtleWriter *self,
                                                             GError **error);

## Description

## Details

### TrackerSparqlBuilderPrivate

    typedef struct _TrackerSparqlBuilderPrivate TrackerSparqlBuilderPrivate;

### TRACKER_TYPE_TURTLE_WRITER

    #define TRACKER_TYPE_TURTLE_WRITER (tracker_turtle_writer_get_type ())

### TRACKER_TURTLE_WRITER()

    #define TRACKER_TURTLE_WRITER(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), TRACKER_TYPE_TURTLE_WRITER, TrackerTurtleWriter))

`obj` :

### TRACKER_TURTLE_WRITER_CLASS()

    #define TRACKER_TURTLE_WRITER_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), TRACKER_TYPE_TURTLE_WRITER, TrackerTurtleWriterClass))

`klass` :

### TRACKER_IS_TURTLE_WRITER()

    #define TRACKER_IS_TURTLE_WRITER(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TRACKER_TYPE_TURTLE_WRITER))

`obj` :

### TRACKER_IS_TURTLE_WRITER_CLASS()

    #define TRACKER_IS_TURTLE_WRITER_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), TRACKER_TYPE_TURTLE_WRITER))

`klass` :

### TRACKER_TURTLE_WRITER_GET_CLASS()

    #define TRACKER_TURTLE_WRITER_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), TRACKER_TYPE_TURTLE_WRITER, TrackerTurtleWriterClass))

`obj` :

### TrackerTurtleWriterPrivate

    typedef struct _TrackerTurtleWriterPrivate TrackerTurtleWriterPrivate;

### TrackerSparqlBuilder

    typedef struct {
    	GObject parent_instance;
    	TrackerSparqlBuilderPrivate * priv;
    } TrackerSparqlBuilder;

### TrackerTurtleWriter

    typedef struct {
    	GObject parent_instance;
    	TrackerTurtleWriterPrivate * priv;
    } TrackerTurtleWriter;

### tracker_sparql_builder_new_update ()

    TrackerSparqlBuilder* tracker_sparql_builder_new_update (void);

Returns :

### tracker_sparql_builder_construct_update ()

    TrackerSparqlBuilder* tracker_sparql_builder_construct_update
                                                            (GType object_type);

`object_type` :

Returns :

### tracker_sparql_builder_drop_graph ()

    void                tracker_sparql_builder_drop_graph   (TrackerSparqlBuilder *self,
                                                             const char *iri);

`self` :

`iri` :

### tracker_sparql_builder_insert_open ()

    void                tracker_sparql_builder_insert_open  (TrackerSparqlBuilder *self,
                                                             const char *graph);

`self` :

`graph` :

### tracker_sparql_builder_insert_close ()

    void                tracker_sparql_builder_insert_close (TrackerSparqlBuilder *self);

`self` :

### tracker_sparql_builder_subject_iri ()

    void                tracker_sparql_builder_subject_iri  (TrackerSparqlBuilder *self,
                                                             const char *iri);

`self` :

`iri` :

### tracker_sparql_builder_subject ()

    void                tracker_sparql_builder_subject      (TrackerSparqlBuilder *self,
                                                             const char *s);

`self` :

`s` :

### tracker_sparql_builder_predicate_iri ()

    void                tracker_sparql_builder_predicate_iri
                                                            (TrackerSparqlBuilder *self,
                                                             const char *iri);

`self` :

`iri` :

### tracker_sparql_builder_predicate ()

    void                tracker_sparql_builder_predicate    (TrackerSparqlBuilder *self,
                                                             const char *s);

`self` :

`s` :

### tracker_sparql_builder_object_iri ()

    void                tracker_sparql_builder_object_iri   (TrackerSparqlBuilder *self,
                                                             const char *iri);

`self` :

`iri` :

### tracker_sparql_builder_object ()

    void                tracker_sparql_builder_object       (TrackerSparqlBuilder *self,
                                                             const char *s);

`self` :

`s` :

### tracker_sparql_builder_object_string ()

    void                tracker_sparql_builder_object_string
                                                            (TrackerSparqlBuilder *self,
                                                             const char *literal);

`self` :

`literal` :

### tracker_sparql_builder_object_boolean ()

    void                tracker_sparql_builder_object_boolean
                                                            (TrackerSparqlBuilder *self,
                                                             gboolean literal);

`self` :

`literal` :

### tracker_sparql_builder_object_int64 ()

    void                tracker_sparql_builder_object_int64 (TrackerSparqlBuilder *self,
                                                             gint64 literal);

`self` :

`literal` :

### tracker_sparql_builder_object_date ()

    void                tracker_sparql_builder_object_date  (TrackerSparqlBuilder *self,
                                                             time_t *literal);

`self` :

`literal` :

### tracker_sparql_builder_object_blank_open ()

    void                tracker_sparql_builder_object_blank_open
                                                            (TrackerSparqlBuilder *self);

`self` :

### tracker_sparql_builder_object_blank_close ()

    void                tracker_sparql_builder_object_blank_close
                                                            (TrackerSparqlBuilder *self);

`self` :

### tracker_sparql_builder_append ()

    void                tracker_sparql_builder_append       (TrackerSparqlBuilder *self,
                                                             const char *raw);

`self` :

`raw` :

### tracker_sparql_builder_new ()

    TrackerSparqlBuilder* tracker_sparql_builder_new        (void);

Returns :

### tracker_sparql_builder_construct ()

    TrackerSparqlBuilder* tracker_sparql_builder_construct  (GType object_type);

`object_type` :

Returns :

### tracker_sparql_builder_get_result ()

    const char*         tracker_sparql_builder_get_result   (TrackerSparqlBuilder *self);

`self` :

Returns :

### tracker_sparql_builder_get_length ()

    gint                tracker_sparql_builder_get_length   (TrackerSparqlBuilder *self);

`self` :

Returns :

### tracker_turtle_writer_get_type ()

    GType               tracker_turtle_writer_get_type      (void);

Returns :

### tracker_turtle_writer_new ()

    TrackerTurtleWriter* tracker_turtle_writer_new          (GOutputStream *stream);

`stream` :

Returns :

### tracker_turtle_writer_construct ()

    TrackerTurtleWriter* tracker_turtle_writer_construct    (GType object_type,
                                                             GOutputStream *stream);

`object_type` :

`stream` :

Returns :

### tracker_turtle_writer_subject_iri ()

    void                tracker_turtle_writer_subject_iri   (TrackerTurtleWriter *self,
                                                             const char *iri);

`self` :

`iri` :

### tracker_turtle_writer_subject ()

    void                tracker_turtle_writer_subject       (TrackerTurtleWriter *self,
                                                             const char *s);

`self` :

`s` :

### tracker_turtle_writer_predicate_iri ()

    void                tracker_turtle_writer_predicate_iri (TrackerTurtleWriter *self,
                                                             const char *iri);

`self` :

`iri` :

### tracker_turtle_writer_predicate ()

    void                tracker_turtle_writer_predicate     (TrackerTurtleWriter *self,
                                                             const char *s);

`self` :

`s` :

### tracker_turtle_writer_object_iri ()

    void                tracker_turtle_writer_object_iri    (TrackerTurtleWriter *self,
                                                             const char *iri);

`self` :

`iri` :

### tracker_turtle_writer_object ()

    void                tracker_turtle_writer_object        (TrackerTurtleWriter *self,
                                                             const char *s);

`self` :

`s` :

### tracker_turtle_writer_object_string ()

    void                tracker_turtle_writer_object_string (TrackerTurtleWriter *self,
                                                             const char *literal);

`self` :

`literal` :

### tracker_turtle_writer_object_boolean ()

    void                tracker_turtle_writer_object_boolean
                                                            (TrackerTurtleWriter *self,
                                                             gboolean literal);

`self` :

`literal` :

### tracker_turtle_writer_object_int64 ()

    void                tracker_turtle_writer_object_int64  (TrackerTurtleWriter *self,
                                                             gint64 literal);

`self` :

`literal` :

### tracker_turtle_writer_object_date ()

    void                tracker_turtle_writer_object_date   (TrackerTurtleWriter *self,
                                                             time_t *literal);

`self` :

`literal` :

### tracker_turtle_writer_object_blank_open ()

    void                tracker_turtle_writer_object_blank_open
                                                            (TrackerTurtleWriter *self);

`self` :

### tracker_turtle_writer_object_blank_close ()

    void                tracker_turtle_writer_object_blank_close
                                                            (TrackerTurtleWriter *self);

`self` :

### tracker_turtle_writer_close ()

    void                tracker_turtle_writer_close         (TrackerTurtleWriter *self,
                                                             GError **error);

`self` :

`error` :