Home
last modified time | relevance | path

Searched refs:isSchemaStore (Results 1 – 7 of 7) sorted by relevance

/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/jskitsimpl/distributedkvstore/src/
H A Djs_device_kv_store.cpp114 bool isSchemaStore = reinterpret_cast<JsDeviceKVStore*>(ctxt->native)->IsSchemaStore(); in Get() local
117 ctxt->value = isSchemaStore ? value.ToString() : JSUtil::Blob2VariantValue(value); in Get()
211 auto isSchemaStore = reinterpret_cast<JsDeviceKVStore*>(ctxt->native)->IsSchemaStore(); in GetEntries() local
212 ctxt->status = JSUtil::SetValue(env, ctxt->entries, result, isSchemaStore); in GetEntries()
H A Djs_single_kv_store.cpp96 void JsSingleKVStore::SetSchemaInfo(bool isSchemaStore) in SetSchemaInfo() argument
98 isSchemaStore_ = isSchemaStore; in SetSchemaInfo()
199 bool isSchemaStore = reinterpret_cast<JsSingleKVStore *>(ctxt->native)->IsSchemaStore(); in Put() local
201 …DistributedKv::Value value = isSchemaStore ? DistributedKv::Blob(std::get<std::string>(ctxt->value… in Put()
346 auto isSchemaStore = reinterpret_cast<JsSingleKVStore *>(ctxt->native)->IsSchemaStore(); in PutBatch() local
347 JSUtil::StatusMsg statusMsg = JSUtil::GetValue(env, argv[0], ctxt->entries, isSchemaStore); in PutBatch()
906 bool isSchemaStore = reinterpret_cast<JsSingleKVStore*>(ctxt->native)->IsSchemaStore(); in Get() local
909 ctxt->value = isSchemaStore ? value.ToString() : JSUtil::Blob2VariantValue(value); in Get()
995 auto isSchemaStore = reinterpret_cast<JsSingleKVStore*>(ctxt->native)->IsSchemaStore(); in GetEntries() local
996 ctxt->status = JSUtil::SetValue(env, ctxt->entries, result, isSchemaStore); in GetEntries()
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/jskitsimpl/distributeddata/src/
H A Djs_kv_store.cpp144 bool isSchemaStore = reinterpret_cast<JsKVStore *>(ctxt->native)->IsSchemaStore(); in Put() local
146 …DistributedKv::Value value = isSchemaStore ? DistributedKv::Blob(std::get<std::string>(ctxt->value… in Put()
258 auto isSchemaStore = reinterpret_cast<JsKVStore*>(ctxt->native)->IsSchemaStore(); in PutBatch() local
259 ctxt->status = JSUtil::GetValue(env, argv[0], ctxt->entries, isSchemaStore); in PutBatch()
641 void JsKVStore::SetSchemaInfo(bool isSchemaStore) in SetSchemaInfo() argument
643 isSchemaStore_ = isSchemaStore; in SetSchemaInfo()
H A Djs_device_kv_store.cpp106 bool isSchemaStore = reinterpret_cast<JsDeviceKVStore*>(ctxt->native)->IsSchemaStore(); in Get() local
110 ctxt->value = isSchemaStore ? value.ToString() : JSUtil::Blob2VariantValue(value); in Get()
231 auto isSchemaStore = reinterpret_cast<JsDeviceKVStore*>(ctxt->native)->IsSchemaStore(); in GetEntries() local
232 ctxt->status = JSUtil::SetValue(env, ctxt->entries, result, isSchemaStore); in GetEntries()
H A Djs_single_kv_store.cpp92 bool isSchemaStore = reinterpret_cast<JsSingleKVStore*>(ctxt->native)->IsSchemaStore(); in Get() local
95 ctxt->value = isSchemaStore ? value.ToString() : JSUtil::Blob2VariantValue(value); in Get()
186 auto isSchemaStore = reinterpret_cast<JsSingleKVStore*>(ctxt->native)->IsSchemaStore(); in GetEntries() local
187 ctxt->status = JSUtil::SetValue(env, ctxt->entries, result, isSchemaStore); in GetEntries()
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/jskitsimpl/distributeddata/include/
H A Djs_kv_store.h43 void SetSchemaInfo(bool isSchemaStore);
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/jskitsimpl/distributedkvstore/include/
H A Djs_single_kv_store.h44 void SetSchemaInfo(bool isSchemaStore);