|
ION_API_EXPORT iERR | ion_writer_options_initialize_shared_imports (ION_WRITER_OPTIONS *options) |
|
ION_API_EXPORT iERR | ion_writer_options_add_shared_imports (ION_WRITER_OPTIONS *options, ION_COLLECTION *imports) |
|
ION_API_EXPORT iERR | ion_writer_options_add_shared_imports_symbol_tables (ION_WRITER_OPTIONS *options, ION_SYMBOL_TABLE **imports, SIZE imports_count) |
|
ION_API_EXPORT iERR | ion_writer_options_close_shared_imports (ION_WRITER_OPTIONS *options) |
|
ION_API_EXPORT iERR | ion_writer_open_buffer (hWRITER *p_hwriter, BYTE *buffer, SIZE buf_length, ION_WRITER_OPTIONS *p_options) |
|
ION_API_EXPORT iERR | ion_writer_open_stream (hWRITER *p_hwriter, ION_STREAM_HANDLER fn_output_handler, void *handler_state, ION_WRITER_OPTIONS *p_options) |
|
ION_API_EXPORT iERR | ion_writer_open (hWRITER *p_hwriter, ION_STREAM *p_stream, ION_WRITER_OPTIONS *p_options) |
|
ION_API_EXPORT iERR | ion_writer_get_depth (hWRITER hwriter, SIZE *p_depth) |
|
ION_API_EXPORT iERR | ion_writer_set_catalog (hWRITER hwriter, hCATALOG hcatalog) |
|
ION_API_EXPORT iERR | ion_writer_get_catalog (hWRITER hwriter, hCATALOG *p_hcatalog) |
|
ION_API_EXPORT iERR | ion_writer_set_symbol_table (hWRITER hwriter, hSYMTAB hsymtab) |
|
ION_API_EXPORT iERR | ion_writer_get_symbol_table (hWRITER hwriter, hSYMTAB *p_hsymtab) |
|
ION_API_EXPORT iERR | ion_writer_add_imported_tables (hWRITER hwriter, ION_COLLECTION *imports) |
|
ION_API_EXPORT iERR | ion_writer_write_field_name (hWRITER hwriter, iSTRING name) |
|
ION_API_EXPORT iERR | ion_writer_write_field_name_symbol (hWRITER hwriter, ION_SYMBOL *field_name) |
|
ION_API_EXPORT iERR | ion_writer_clear_field_name (hWRITER hwriter) |
|
ION_API_EXPORT iERR | ion_writer_add_annotation (hWRITER hwriter, iSTRING annotation) |
|
ION_API_EXPORT iERR | ion_writer_add_annotation_symbol (hWRITER hwriter, ION_SYMBOL *annotation) |
|
ION_API_EXPORT iERR | ion_writer_write_annotations (hWRITER hwriter, iSTRING p_annotations, SIZE count) |
|
ION_API_EXPORT iERR | ion_writer_write_annotation_symbols (hWRITER hwriter, ION_SYMBOL *annotations, SIZE count) |
|
ION_API_EXPORT iERR | ion_writer_clear_annotations (hWRITER hwriter) |
|
ION_API_EXPORT iERR | ion_writer_write_null (hWRITER hwriter) |
|
ION_API_EXPORT iERR | ion_writer_write_typed_null (hWRITER hwriter, ION_TYPE type) |
|
ION_API_EXPORT iERR | ion_writer_write_bool (hWRITER hwriter, BOOL value) |
|
ION_API_EXPORT iERR | ion_writer_write_int (hWRITER hwriter, int value) |
|
ION_API_EXPORT iERR | ion_writer_write_int32 (hWRITER hwriter, int32_t value) |
|
ION_API_EXPORT iERR | ion_writer_write_int64 (hWRITER hwriter, int64_t value) |
|
ION_API_EXPORT iERR | ion_writer_write_long (hWRITER hwriter, long value) |
|
ION_API_EXPORT iERR | ion_writer_write_ion_int (hWRITER hwriter, ION_INT *value) |
|
ION_API_EXPORT iERR | ion_writer_write_double (hWRITER hwriter, double value) |
|
ION_API_EXPORT iERR | ion_writer_write_float (hWRITER hwriter, float value) |
|
ION_API_EXPORT iERR | ion_writer_write_decimal (hWRITER hwriter, decQuad *value) |
|
ION_API_EXPORT iERR | ion_writer_write_ion_decimal (hWRITER hwriter, ION_DECIMAL *value) |
|
ION_API_EXPORT iERR | ion_writer_write_timestamp (hWRITER hwriter, iTIMESTAMP value) |
|
ION_API_EXPORT iERR | ion_writer_write_symbol (hWRITER hwriter, iSTRING p_value) |
|
ION_API_EXPORT iERR | ion_writer_write_ion_symbol (hWRITER hwriter, ION_SYMBOL *symbol) |
|
ION_API_EXPORT iERR | ion_writer_write_string (hWRITER hwriter, iSTRING p_value) |
|
ION_API_EXPORT iERR | ion_writer_write_clob (hWRITER hwriter, BYTE *p_buf, SIZE length) |
|
ION_API_EXPORT iERR | ion_writer_write_blob (hWRITER hwriter, BYTE *p_buf, SIZE length) |
|
ION_API_EXPORT iERR | ion_writer_start_lob (hWRITER hwriter, ION_TYPE lob_type) |
|
ION_API_EXPORT iERR | ion_writer_append_lob (hWRITER hwriter, BYTE *p_buf, SIZE length) |
|
ION_API_EXPORT iERR | ion_writer_finish_lob (hWRITER hwriter) |
|
ION_API_EXPORT iERR | ion_writer_start_container (hWRITER hwriter, ION_TYPE container_type) |
|
ION_API_EXPORT iERR | ion_writer_finish_container (hWRITER hwriter) |
|
ION_API_EXPORT iERR | ion_writer_write_one_value (hWRITER hwriter, hREADER hreader) |
|
ION_API_EXPORT iERR | ion_writer_write_all_values (hWRITER hwriter, hREADER hreader) |
|
ION_API_EXPORT iERR | ion_writer_flush (hWRITER hwriter, SIZE *p_bytes_flushed) |
|
ION_API_EXPORT iERR | ion_writer_finish (hWRITER hwriter, SIZE *p_bytes_flushed) |
|
ION_API_EXPORT iERR | ion_writer_close (hWRITER hwriter) |
|
ION_API_EXPORT iERR ion_writer_add_imported_tables |
( |
hWRITER |
hwriter, |
|
|
ION_COLLECTION * |
imports |
|
) |
| |
Adds the given list of imports to the writer's list of imports. These imports will only be used in the writer's current symbol table context. To configure the writer to use the same list of imports for each new symbol table context, convey that list of imports through ION_WRITER_OPTIONS.
If the writer's current symbol table context must be serialized, forces the writer to finish and flush its current symbol table context (with the same side-effects as ion_writer_finish
) first. A new symbol table context is then created, starting with any imports specified in ION_WRITER_OPTIONS, and followed by the list of imports given to this function.
This function may be called multiple times in succession without changing the current symbol table context as long as no values have been written in between calls; in this case, this function appends to the writer's list of imports.
Raises an error if a manually-written symbol table is in progress, if the writer is not at the top level, or if the writer has pending annotations.