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.
43 lines
1.8 KiB
43 lines
1.8 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_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_pinnableslice_t* rocksdb_transaction_get_pinned_cf(
|
|
rocksdb_transaction_t* txn, const rocksdb_readoptions_t* options,
|
|
rocksdb_column_family_handle_t* column_family, const char* key,
|
|
size_t keylen, char** errptr);
|
|
|
|
extern ROCKSDB_LIBRARY_API rocksdb_pinnableslice_t* rocksdb_transaction_get_for_update_pinned_cf(
|
|
rocksdb_transaction_t* txn, const rocksdb_readoptions_t* options,
|
|
rocksdb_column_family_handle_t* column_family, const char* key,
|
|
size_t keylen, char** errptr);
|
|
|
|
extern ROCKSDB_LIBRARY_API rocksdb_readoptions_t* rocksdb_readoptions_create_copy(
|
|
rocksdb_readoptions_t*);
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|
|
|