#ifndef DBMS_SODA_INTERNAL_HPP #define DBMS_SODA_INTERNAL_HPP extern "C" { #include "postgres.h" #include "fmgr.h" } extern "C" { Datum dbms_soda_create_collection(PG_FUNCTION_ARGS); Datum dbms_soda_open_collection(PG_FUNCTION_ARGS); Datum dbms_soda_drop_collection(PG_FUNCTION_ARGS); Datum dbms_soda_list_collection_names(PG_FUNCTION_ARGS); Datum dbms_soda_create_document(PG_FUNCTION_ARGS); Datum soda_document_construct_varchar2(PG_FUNCTION_ARGS); Datum soda_document_construct_blob(PG_FUNCTION_ARGS); Datum soda_document_construct_clob(PG_FUNCTION_ARGS); Datum soda_document_construct_json(PG_FUNCTION_ARGS); Datum soda_document_get_blob(PG_FUNCTION_ARGS); Datum soda_document_get_clob(PG_FUNCTION_ARGS); Datum soda_document_get_created_on(PG_FUNCTION_ARGS); Datum soda_document_get_data_type(PG_FUNCTION_ARGS); Datum soda_document_get_json(PG_FUNCTION_ARGS); Datum soda_document_get_key(PG_FUNCTION_ARGS); Datum soda_document_get_last_modified(PG_FUNCTION_ARGS); Datum soda_document_get_media_type(PG_FUNCTION_ARGS); Datum soda_document_get_varchar2(PG_FUNCTION_ARGS); Datum soda_document_get_version(PG_FUNCTION_ARGS); Datum soda_collection_create_index(PG_FUNCTION_ARGS); Datum soda_collection_drop_index(PG_FUNCTION_ARGS); Datum soda_collection_get_index(PG_FUNCTION_ARGS); Datum soda_collection_list_indexes(PG_FUNCTION_ARGS); Datum soda_collection_get_name(PG_FUNCTION_ARGS); Datum soda_collection_get_metadata(PG_FUNCTION_ARGS); Datum soda_collection_truncate(PG_FUNCTION_ARGS); Datum soda_collection_find(PG_FUNCTION_ARGS); Datum soda_collection_find_one_internal(PG_FUNCTION_ARGS); Datum soda_collection_insert_one(PG_FUNCTION_ARGS); Datum soda_collection_insert_one_and_get_internal(PG_FUNCTION_ARGS); Datum soda_collection_save(PG_FUNCTION_ARGS); Datum soda_collection_save_and_get_internal(PG_FUNCTION_ARGS); Datum soda_collection_get_data_guide(PG_FUNCTION_ARGS); Datum soda_collection_create_view_from_dg(PG_FUNCTION_ARGS); Datum soda_operation_key(PG_FUNCTION_ARGS); Datum soda_operation_keys(PG_FUNCTION_ARGS); Datum soda_operation_filter(PG_FUNCTION_ARGS); Datum soda_operation_limit(PG_FUNCTION_ARGS); Datum soda_operation_skip(PG_FUNCTION_ARGS); Datum soda_operation_version(PG_FUNCTION_ARGS); Datum soda_operation_hint(PG_FUNCTION_ARGS); Datum soda_operation_acquire_lock(PG_FUNCTION_ARGS); Datum soda_operation_as_of_scn(PG_FUNCTION_ARGS); Datum soda_operation_as_of_timestamp(PG_FUNCTION_ARGS); Datum soda_operation_sample(PG_FUNCTION_ARGS); Datum soda_operation_count(PG_FUNCTION_ARGS); Datum soda_operation_get_data_guide(PG_FUNCTION_ARGS); Datum soda_operation_get_one_internal(PG_FUNCTION_ARGS); Datum soda_operation_get_cursor(PG_FUNCTION_ARGS); Datum soda_operation_remove(PG_FUNCTION_ARGS); Datum soda_operation_replace_one(PG_FUNCTION_ARGS); Datum soda_operation_replace_one_and_get_internal(PG_FUNCTION_ARGS); Datum soda_cursor_next_internal(PG_FUNCTION_ARGS); Datum soda_cursor_has_next(PG_FUNCTION_ARGS); Datum soda_cursor_close(PG_FUNCTION_ARGS); } #endif // DBMS_SODA_INTERNAL_HPP