|
1 | | -/* WARNING: This file was autogenerated from version v5.18.3 of rocksdb/c.h at |
2 | | - https://raw.githubusercontent.com/facebook/rocksdb/v5.18.3/include/rocksdb/c.h |
| 1 | +/* WARNING: This file was autogenerated from version v6.2.2 of rocksdb/c.h at |
| 2 | + https://raw.githubusercontent.com/facebook/rocksdb/v6.2.2/include/rocksdb/c.h |
3 | 3 | */ |
4 | 4 | using System; |
5 | 5 | using System.Runtime.InteropServices; |
@@ -1561,6 +1561,22 @@ public void rocksdb_flush( |
1561 | 1561 | throw new RocksDbException(errptr); |
1562 | 1562 | } |
1563 | 1563 |
|
| 1564 | + public abstract void rocksdb_flush_cf( |
| 1565 | + rocksdb_t_ptr db, |
| 1566 | + const_rocksdb_flushoptions_t_ptr options, |
| 1567 | + rocksdb_column_family_handle_t_ptr column_family, |
| 1568 | + out char_ptr_ptr errptr); |
| 1569 | + |
| 1570 | + public void rocksdb_flush_cf( |
| 1571 | + rocksdb_t_ptr db, |
| 1572 | + const_rocksdb_flushoptions_t_ptr options, |
| 1573 | + rocksdb_column_family_handle_t_ptr column_family) |
| 1574 | + { |
| 1575 | + rocksdb_flush_cf(db, options, column_family, out char_ptr_ptr errptr); |
| 1576 | + if (errptr != IntPtr.Zero) |
| 1577 | + throw new RocksDbException(errptr); |
| 1578 | + } |
| 1579 | + |
1564 | 1580 | public abstract void rocksdb_disable_file_deletions( |
1565 | 1581 | rocksdb_t_ptr db, |
1566 | 1582 | out char_ptr_ptr errptr); |
@@ -3010,6 +3026,26 @@ public void rocksdb_set_options( |
3010 | 3026 | throw new RocksDbException(errptr); |
3011 | 3027 | } |
3012 | 3028 |
|
| 3029 | + public abstract void rocksdb_set_options_cf( |
| 3030 | + rocksdb_t_ptr db, |
| 3031 | + rocksdb_column_family_handle_t_ptr handle, |
| 3032 | + int count, |
| 3033 | + string[] keys, |
| 3034 | + string[] values, |
| 3035 | + out char_ptr_ptr errptr); |
| 3036 | + |
| 3037 | + public void rocksdb_set_options_cf( |
| 3038 | + rocksdb_t_ptr db, |
| 3039 | + rocksdb_column_family_handle_t_ptr handle, |
| 3040 | + int count, |
| 3041 | + string[] keys, |
| 3042 | + string[] values) |
| 3043 | + { |
| 3044 | + rocksdb_set_options_cf(db, handle, count, keys, values, out char_ptr_ptr errptr); |
| 3045 | + if (errptr != IntPtr.Zero) |
| 3046 | + throw new RocksDbException(errptr); |
| 3047 | + } |
| 3048 | + |
3013 | 3049 | public abstract rocksdb_options_t_ptr rocksdb_options_create(); |
3014 | 3050 |
|
3015 | 3051 | public abstract void rocksdb_options_destroy( |
@@ -3164,6 +3200,10 @@ public abstract void rocksdb_options_set_max_bytes_for_level_base( |
3164 | 3200 | rocksdb_options_t_ptr options, |
3165 | 3201 | uint64_t max_bytes_for_level_base); |
3166 | 3202 |
|
| 3203 | + public abstract void rocksdb_options_set_snap_refresh_nanos( |
| 3204 | + rocksdb_options_t_ptr options, |
| 3205 | + uint64_t snap_refresh_nanos); |
| 3206 | + |
3167 | 3207 | public abstract void rocksdb_options_set_level_compaction_dynamic_level_bytes( |
3168 | 3208 | rocksdb_options_t_ptr options, |
3169 | 3209 | bool level_compaction_dynamic_level_bytes); |
@@ -5431,6 +5471,72 @@ public void rocksdb_transaction_merge( |
5431 | 5471 | throw new RocksDbException(errptr); |
5432 | 5472 | } |
5433 | 5473 |
|
| 5474 | + public abstract void rocksdb_transaction_merge_cf( |
| 5475 | + rocksdb_transaction_t_ptr txn, |
| 5476 | + rocksdb_column_family_handle_t_ptr column_family, |
| 5477 | + const_char_ptr key, |
| 5478 | + size_t klen, |
| 5479 | + const_char_ptr val, |
| 5480 | + size_t vlen, |
| 5481 | + out char_ptr_ptr errptr); |
| 5482 | + |
| 5483 | + public void rocksdb_transaction_merge_cf( |
| 5484 | + rocksdb_transaction_t_ptr txn, |
| 5485 | + rocksdb_column_family_handle_t_ptr column_family, |
| 5486 | + const_char_ptr key, |
| 5487 | + size_t klen, |
| 5488 | + const_char_ptr val, |
| 5489 | + size_t vlen) |
| 5490 | + { |
| 5491 | + rocksdb_transaction_merge_cf(txn, column_family, key, klen, val, vlen, out char_ptr_ptr errptr); |
| 5492 | + if (errptr != IntPtr.Zero) |
| 5493 | + throw new RocksDbException(errptr); |
| 5494 | + } |
| 5495 | + |
| 5496 | + public unsafe abstract void rocksdb_transaction_merge_cf( |
| 5497 | + rocksdb_transaction_t_ptr txn, |
| 5498 | + rocksdb_column_family_handle_t_ptr column_family, |
| 5499 | + byte* key, |
| 5500 | + size_t klen, |
| 5501 | + byte* val, |
| 5502 | + size_t vlen, |
| 5503 | + out char_ptr_ptr errptr); |
| 5504 | + |
| 5505 | + public unsafe void rocksdb_transaction_merge_cf( |
| 5506 | + rocksdb_transaction_t_ptr txn, |
| 5507 | + rocksdb_column_family_handle_t_ptr column_family, |
| 5508 | + byte* key, |
| 5509 | + size_t klen, |
| 5510 | + byte* val, |
| 5511 | + size_t vlen) |
| 5512 | + { |
| 5513 | + rocksdb_transaction_merge_cf(txn, column_family, key, klen, val, vlen, out char_ptr_ptr errptr); |
| 5514 | + if (errptr != IntPtr.Zero) |
| 5515 | + throw new RocksDbException(errptr); |
| 5516 | + } |
| 5517 | + |
| 5518 | + public abstract void rocksdb_transaction_merge_cf( |
| 5519 | + rocksdb_transaction_t_ptr txn, |
| 5520 | + rocksdb_column_family_handle_t_ptr column_family, |
| 5521 | + byte[] key, |
| 5522 | + size_t klen, |
| 5523 | + byte[] val, |
| 5524 | + size_t vlen, |
| 5525 | + out char_ptr_ptr errptr); |
| 5526 | + |
| 5527 | + public void rocksdb_transaction_merge_cf( |
| 5528 | + rocksdb_transaction_t_ptr txn, |
| 5529 | + rocksdb_column_family_handle_t_ptr column_family, |
| 5530 | + byte[] key, |
| 5531 | + size_t klen, |
| 5532 | + byte[] val, |
| 5533 | + size_t vlen) |
| 5534 | + { |
| 5535 | + rocksdb_transaction_merge_cf(txn, column_family, key, klen, val, vlen, out char_ptr_ptr errptr); |
| 5536 | + if (errptr != IntPtr.Zero) |
| 5537 | + throw new RocksDbException(errptr); |
| 5538 | + } |
| 5539 | + |
5434 | 5540 | public abstract void rocksdb_transactiondb_merge( |
5435 | 5541 | rocksdb_transactiondb_t_ptr txn_db, |
5436 | 5542 | const_rocksdb_writeoptions_t_ptr options, |
@@ -5497,6 +5603,78 @@ public void rocksdb_transactiondb_merge( |
5497 | 5603 | throw new RocksDbException(errptr); |
5498 | 5604 | } |
5499 | 5605 |
|
| 5606 | + public abstract void rocksdb_transactiondb_merge_cf( |
| 5607 | + rocksdb_transactiondb_t_ptr txn_db, |
| 5608 | + const_rocksdb_writeoptions_t_ptr options, |
| 5609 | + rocksdb_column_family_handle_t_ptr column_family, |
| 5610 | + const_char_ptr key, |
| 5611 | + size_t klen, |
| 5612 | + const_char_ptr val, |
| 5613 | + size_t vlen, |
| 5614 | + out char_ptr_ptr errptr); |
| 5615 | + |
| 5616 | + public void rocksdb_transactiondb_merge_cf( |
| 5617 | + rocksdb_transactiondb_t_ptr txn_db, |
| 5618 | + const_rocksdb_writeoptions_t_ptr options, |
| 5619 | + rocksdb_column_family_handle_t_ptr column_family, |
| 5620 | + const_char_ptr key, |
| 5621 | + size_t klen, |
| 5622 | + const_char_ptr val, |
| 5623 | + size_t vlen) |
| 5624 | + { |
| 5625 | + rocksdb_transactiondb_merge_cf(txn_db, options, column_family, key, klen, val, vlen, out char_ptr_ptr errptr); |
| 5626 | + if (errptr != IntPtr.Zero) |
| 5627 | + throw new RocksDbException(errptr); |
| 5628 | + } |
| 5629 | + |
| 5630 | + public unsafe abstract void rocksdb_transactiondb_merge_cf( |
| 5631 | + rocksdb_transactiondb_t_ptr txn_db, |
| 5632 | + const_rocksdb_writeoptions_t_ptr options, |
| 5633 | + rocksdb_column_family_handle_t_ptr column_family, |
| 5634 | + byte* key, |
| 5635 | + size_t klen, |
| 5636 | + byte* val, |
| 5637 | + size_t vlen, |
| 5638 | + out char_ptr_ptr errptr); |
| 5639 | + |
| 5640 | + public unsafe void rocksdb_transactiondb_merge_cf( |
| 5641 | + rocksdb_transactiondb_t_ptr txn_db, |
| 5642 | + const_rocksdb_writeoptions_t_ptr options, |
| 5643 | + rocksdb_column_family_handle_t_ptr column_family, |
| 5644 | + byte* key, |
| 5645 | + size_t klen, |
| 5646 | + byte* val, |
| 5647 | + size_t vlen) |
| 5648 | + { |
| 5649 | + rocksdb_transactiondb_merge_cf(txn_db, options, column_family, key, klen, val, vlen, out char_ptr_ptr errptr); |
| 5650 | + if (errptr != IntPtr.Zero) |
| 5651 | + throw new RocksDbException(errptr); |
| 5652 | + } |
| 5653 | + |
| 5654 | + public abstract void rocksdb_transactiondb_merge_cf( |
| 5655 | + rocksdb_transactiondb_t_ptr txn_db, |
| 5656 | + const_rocksdb_writeoptions_t_ptr options, |
| 5657 | + rocksdb_column_family_handle_t_ptr column_family, |
| 5658 | + byte[] key, |
| 5659 | + size_t klen, |
| 5660 | + byte[] val, |
| 5661 | + size_t vlen, |
| 5662 | + out char_ptr_ptr errptr); |
| 5663 | + |
| 5664 | + public void rocksdb_transactiondb_merge_cf( |
| 5665 | + rocksdb_transactiondb_t_ptr txn_db, |
| 5666 | + const_rocksdb_writeoptions_t_ptr options, |
| 5667 | + rocksdb_column_family_handle_t_ptr column_family, |
| 5668 | + byte[] key, |
| 5669 | + size_t klen, |
| 5670 | + byte[] val, |
| 5671 | + size_t vlen) |
| 5672 | + { |
| 5673 | + rocksdb_transactiondb_merge_cf(txn_db, options, column_family, key, klen, val, vlen, out char_ptr_ptr errptr); |
| 5674 | + if (errptr != IntPtr.Zero) |
| 5675 | + throw new RocksDbException(errptr); |
| 5676 | + } |
| 5677 | + |
5500 | 5678 | public abstract void rocksdb_transaction_delete( |
5501 | 5679 | rocksdb_transaction_t_ptr txn, |
5502 | 5680 | const_char_ptr key, |
@@ -5726,6 +5904,11 @@ public abstract rocksdb_iterator_t_ptr rocksdb_transactiondb_create_iterator( |
5726 | 5904 | rocksdb_transactiondb_t_ptr txn_db, |
5727 | 5905 | const_rocksdb_readoptions_t_ptr options); |
5728 | 5906 |
|
| 5907 | + public abstract rocksdb_iterator_t_ptr rocksdb_transactiondb_create_iterator_cf( |
| 5908 | + rocksdb_transactiondb_t_ptr txn_db, |
| 5909 | + const_rocksdb_readoptions_t_ptr options, |
| 5910 | + rocksdb_column_family_handle_t_ptr column_family); |
| 5911 | + |
5729 | 5912 | public abstract void rocksdb_transactiondb_close( |
5730 | 5913 | rocksdb_transactiondb_t_ptr txn_db); |
5731 | 5914 |
|
|
0 commit comments