Volksdata 1.0b7
RDF library
Loading...
Searching...
No Matches
VOLK_TTLCodecIterator Struct Reference

NT codec iterator. More...

Data Fields

const VOLK_Codec * codec
 Codec that generated this iterator.
const VOLK_Graph * gr
 Graph being encoded.
VOLK_TermSetsubjects
 All subjects in the graph.
size_t s_cur
 Term set cursor.
VOLK_rc rc
 Internal return code.
char * s_str
 Serialized subject block (output).
char * p_str
 Serialized predicate block.
char * o_str
 Serialized object block.

Detailed Description

NT codec iterator.

This iterator yields one or more triples at a time, one group per subject, with the most compact form allowed by Turtle, e.g.

:s :p1 :o1, :o2, o3; :p2 :o4, :o5, <http://example.com/ext1> .

Definition at line 13 of file codec_ttl.c.

Field Documentation

◆ codec

const VOLK_Codec* VOLK_TTLCodecIterator::codec

Codec that generated this iterator.

Definition at line 14 of file codec_ttl.c.

◆ gr

const VOLK_Graph* VOLK_TTLCodecIterator::gr

Graph being encoded.

Definition at line 15 of file codec_ttl.c.

◆ subjects

VOLK_TermSet* VOLK_TTLCodecIterator::subjects

All subjects in the graph.

Definition at line 16 of file codec_ttl.c.

◆ s_cur

size_t VOLK_TTLCodecIterator::s_cur

Term set cursor.

Definition at line 17 of file codec_ttl.c.

◆ rc

VOLK_rc VOLK_TTLCodecIterator::rc

Internal return code.

Definition at line 18 of file codec_ttl.c.

◆ s_str

char* VOLK_TTLCodecIterator::s_str

Serialized subject block (output).

Definition at line 19 of file codec_ttl.c.

◆ p_str

char* VOLK_TTLCodecIterator::p_str

Serialized predicate block.

Definition at line 20 of file codec_ttl.c.

◆ o_str

char* VOLK_TTLCodecIterator::o_str

Serialized object block.

Definition at line 21 of file codec_ttl.c.


The documentation for this struct was generated from the following file: