Volksdata 1.0b7
RDF library
Loading...
Searching...
No Matches
writer_trig.c File Reference
Include dependency graph for writer_trig.c:

Go to the source code of this file.

Data Structures

struct  TRIGEncodeIterator
 TriG encoder iterator. More...

Enumerations

enum  TRIGPos {
  TRIG_POS_START , TRIG_POS_START_BODY , TRIG_POS_GRAPH , TRIG_POS_END_GR ,
  TRIG_POS_END
}

Functions

void * trig_encode_store_init (VOLK_Store *store)
 Initialize a store encoding loop.
VOLK_rc trig_encode_store_iter (void *h, char **res_p)
 Encode a chunk from a store.
void trig_encode_store_done (void *h)
 Finalize the store encoding loop.

Enumeration Type Documentation

◆ TRIGPos

enum TRIGPos
Enumerator
TRIG_POS_START 

Start of overall encoding.

TRIG_POS_START_BODY 

After writing prolog.

TRIG_POS_GRAPH 

Inside a graph.

TRIG_POS_END_GR 

Boundary between graphs.

TRIG_POS_END 

End of overall encoding.

Definition at line 5 of file writer_trig.c.

Function Documentation

◆ trig_encode_store_init()

void * trig_encode_store_init ( VOLK_Store * store)

Initialize a store encoding loop.

Definition at line 60 of file writer_trig.c.

◆ trig_encode_store_iter()

VOLK_rc trig_encode_store_iter ( void * h,
char ** res_p )

Encode a chunk from a store.

Definition at line 84 of file writer_trig.c.

◆ trig_encode_store_done()

void trig_encode_store_done ( void * h)

Finalize the store encoding loop.

Definition at line 149 of file writer_trig.c.