27 ::ll::TypedStorage<8, 16, ::std::shared_ptr<::std::string>> mLatestValue;
28 ::ll::TypedStorage<1, 1, bool> mDeleted;
29 ::ll::TypedStorage<4, 4, ::DBHelpers::Category> mCategory;
49 ::ll::TypedStorage<8, 8, uint64> mOperation;
50 ::ll::TypedStorage<8, 8, uint64> mSize;
51 ::ll::TypedStorage<8, 32, ::std::string> mKey;
52 ::ll::TypedStorage<8, 8, char const*> mReason;
56 using BatchContainerType = ::std::map<::std::string, ::LevelStorageWriteBatch::BatchEntry>;
58 using const_iterator = ::std::_Tree_const_iterator<::std::_Tree_val<
59 ::std::_Tree_simple_types<::std::pair<::std::string const, ::LevelStorageWriteBatch::BatchEntry>>>>;
61 using iterator = ::std::_Tree_iterator<::std::_Tree_val<
62 ::std::_Tree_simple_types<::std::pair<::std::string const, ::LevelStorageWriteBatch::BatchEntry>>>>;
67 ::ll::TypedStorage<8, 24, ::std::vector<::std::function<void()>>> mFlushCallbacks;
68 ::ll::TypedStorage<8, 16, ::std::map<::std::string, ::LevelStorageWriteBatch::BatchEntry>> mBatch;
69 ::ll::TypedStorage<8, 80, ::Bedrock::Threading::Mutex> mFlushCallbacksMutex;
77 virtual void putKey(::std::string
const& key, ::std::string_view data, ::DBHelpers::Category category);
79 virtual void putKey(::std::string
const& key, ::std::string
const& data, ::DBHelpers::Category category);
81 virtual void putKey(::std::string
const& key, ::std::string&& data, ::DBHelpers::Category category);
84 putKey(::std::string
const& key, ::std::shared_ptr<::std::string> data, ::DBHelpers::Category category);
86 virtual void deleteKey(::std::string
const& key, ::DBHelpers::Category category);
95 _writeKey(::std::string
const& key, ::std::shared_ptr<::std::string>&& data, ::DBHelpers::Category category);
97 MCAPI
void addFlushCallback(::std::function<
void()> callback);
102 ::std::_Tree_const_iterator<::std::_Tree_val<
103 ::std::_Tree_simple_types<::std::pair<::std::string const, ::LevelStorageWriteBatch::BatchEntry>>>>
const&
107 MCFOLD ::std::_Tree_const_iterator<::std::_Tree_val<
108 ::std::_Tree_simple_types<::std::pair<::std::string const, ::LevelStorageWriteBatch::BatchEntry>>>>
109 find(::std::string
const& key)
const;
111 MCFOLD ::std::_Tree_iterator<::std::_Tree_val<
112 ::std::_Tree_simple_types<::std::pair<::std::string const, ::LevelStorageWriteBatch::BatchEntry>>>>
113 find(::std::string
const& key);
125 MCAPI
void $putKey(::std::string
const& key, ::std::string_view data, ::DBHelpers::Category category);
127 MCAPI
void $putKey(::std::string
const& key, ::std::string
const& data, ::DBHelpers::Category category);
129 MCAPI
void $putKey(::std::string
const& key, ::std::string&& data, ::DBHelpers::Category category);
131 MCAPI
void $putKey(::std::string
const& key, ::std::shared_ptr<::std::string> data, ::DBHelpers::Category category);
133 MCAPI
void $deleteKey(::std::string
const& key, ::DBHelpers::Category category);
143 MCAPI
static void** $vftable();
Definition LevelStorageWriteBatch.h:45
Definition LevelStorageWriteBatch.h:23