Searched refs:isSchemaStore (Results 1 – 7 of 7) sorted by relevance
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/jskitsimpl/distributedkvstore/src/ |
H A D | js_device_kv_store.cpp | 114 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 D | js_single_kv_store.cpp | 96 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 D | js_kv_store.cpp | 144 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 D | js_device_kv_store.cpp | 106 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 D | js_single_kv_store.cpp | 92 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 D | js_kv_store.h | 43 void SetSchemaInfo(bool isSchemaStore);
|
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/jskitsimpl/distributedkvstore/include/ |
H A D | js_single_kv_store.h | 44 void SetSchemaInfo(bool isSchemaStore);
|