Fork of https://github.com/oxigraph/oxigraph.git for the purpose of NextGraph project
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
48 lines
1.9 KiB
48 lines
1.9 KiB
#pragma once
|
|
|
|
#include "../rocksdb/include/rocksdb/c.h"
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
extern ROCKSDB_LIBRARY_API rocksdb_pinnableslice_t* rocksdb_transactiondb_get_pinned_cf(
|
|
rocksdb_transactiondb_t* db, const rocksdb_readoptions_t* options,
|
|
rocksdb_column_family_handle_t* column_family, const char* key,
|
|
size_t keylen, char** errptr);
|
|
|
|
extern ROCKSDB_LIBRARY_API void rocksdb_transactiondb_flush_cf(
|
|
rocksdb_transactiondb_t* db, const rocksdb_flushoptions_t* options,
|
|
rocksdb_column_family_handle_t* column_family, char** errptr);
|
|
|
|
extern ROCKSDB_LIBRARY_API void rocksdb_transactiondb_compact_range_cf_opt(
|
|
rocksdb_transactiondb_t* db, rocksdb_column_family_handle_t* column_family,
|
|
rocksdb_compactoptions_t* opt, const char* start_key, size_t start_key_len,
|
|
const char* limit_key, size_t limit_key_len, char** errptr);
|
|
|
|
extern ROCKSDB_LIBRARY_API void rocksdb_transactiondb_write_writebatch_wi(
|
|
rocksdb_transactiondb_t* db,
|
|
const rocksdb_writeoptions_t* options,
|
|
rocksdb_writebatch_wi_t* wbwi,
|
|
char** errptr);
|
|
|
|
extern ROCKSDB_LIBRARY_API char* rocksdb_transactiondb_writebatch_wi_get_from_batch_and_db_cf(
|
|
rocksdb_writebatch_wi_t* wbwi,
|
|
rocksdb_transactiondb_t* db,
|
|
const rocksdb_readoptions_t* options,
|
|
rocksdb_column_family_handle_t* column_family,
|
|
const char* key, size_t keylen,
|
|
size_t* vallen,
|
|
char** errptr);
|
|
|
|
extern ROCKSDB_LIBRARY_API void rocksdb_transactiondb_ingest_external_file_cf(
|
|
rocksdb_transactiondb_t* db, rocksdb_column_family_handle_t* handle,
|
|
const char* const* file_list, const size_t list_len,
|
|
const rocksdb_ingestexternalfileoptions_t* opt, char** errptr);
|
|
|
|
extern ROCKSDB_LIBRARY_API rocksdb_writeoptions_t* rocksdb_writeoptions_create_copy(
|
|
rocksdb_writeoptions_t*);
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|
|
|