1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180
|
<!-- ##### SECTION Title ##### -->
Stream of triples (#librdf_statement).
<!-- ##### SECTION Short_Description ##### -->
Sequence of RDF Triples.
<!-- ##### SECTION Long_Description ##### -->
<para>
Iterate a sequence of RDF triples from some object.
</para>
<!-- ##### SECTION See_Also ##### -->
<para>
Provides a way to operate across a sequence of RDF Triples that are
generated one-by-one on demand. The generated triples can be from
some API call in the #librdf_model class, from listing a graph content
as individual triples, from parsing a syntax or returning an RDF graph
result from a query. Streams can be passed into methods for the reverse
operations such as adding to a graph, serializing a graph to a syntax.
Streams pass individual triples (#librdf_statement) between objects
and are usually lazily generated and consumed.
</para>
<!-- ##### SECTION Stability_Level ##### -->
<!-- ##### SECTION Image ##### -->
<!-- ##### TYPEDEF librdf_stream ##### -->
<para>
</para>
<!-- ##### ENUM librdf_stream_get_method_flags ##### -->
<para>
</para>
@LIBRDF_STREAM_GET_METHOD_GET_OBJECT:
@LIBRDF_STREAM_GET_METHOD_GET_CONTEXT:
<!-- ##### USER_FUNCTION librdf_stream_map_handler ##### -->
<para>
</para>
@stream:
@map_context:
@item:
@Returns:
<!-- ##### USER_FUNCTION librdf_stream_map_free_context_handler ##### -->
<para>
</para>
@map_context:
<!-- ##### FUNCTION librdf_new_stream ##### -->
<para>
</para>
@world:
@context:
@is_end_method:
@next_method:
@get_method:
@finished_method:
@Returns:
<!-- ##### FUNCTION librdf_new_stream_from_node_iterator ##### -->
<para>
</para>
@iterator:
@statement:
@field:
@Returns:
<!-- ##### FUNCTION librdf_new_empty_stream ##### -->
<para>
</para>
@world:
@Returns:
<!-- ##### FUNCTION librdf_free_stream ##### -->
<para>
</para>
@stream:
<!-- ##### FUNCTION librdf_stream_end ##### -->
<para>
</para>
@stream:
@Returns:
<!-- ##### FUNCTION librdf_stream_next ##### -->
<para>
</para>
@stream:
@Returns:
<!-- ##### FUNCTION librdf_stream_get_object ##### -->
<para>
</para>
@stream:
@Returns:
<!-- ##### FUNCTION librdf_stream_get_context ##### -->
<para>
</para>
@stream:
@Returns:
<!-- ##### FUNCTION librdf_stream_get_context2 ##### -->
<para>
</para>
@stream:
@Returns:
<!-- ##### FUNCTION librdf_stream_add_map ##### -->
<para>
</para>
@stream:
@map_function:
@free_context:
@map_context:
@Returns:
<!-- ##### FUNCTION librdf_stream_print ##### -->
<para>
</para>
@stream:
@fh:
<!-- ##### FUNCTION librdf_stream_write ##### -->
<para>
</para>
@stream:
@iostr:
@Returns:
|