Searched refs:SchemaAttribute (Results 1 – 10 of 10) sorted by relevance
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/test/unittest/common/common/ |
H A D | distributeddb_schema_unit_test.cpp | 57 void CheckSchemaAttribute(const SchemaAttribute &res, const SchemaAttribute &check) in CheckSchemaAttribute() 69 SchemaAttribute attributeRes; in PreNumDataForParseAndCheckSchemaAttribute003() 75 SchemaAttribute attributeRes1; in PreNumDataForParseAndCheckSchemaAttribute003() 82 SchemaAttribute attributeRes2; in PreNumDataForParseAndCheckSchemaAttribute003() 88 SchemaAttribute attributeRes3; in PreNumDataForParseAndCheckSchemaAttribute003() 94 SchemaAttribute attributeRes4; in PreNumDataForParseAndCheckSchemaAttribute003() 104 SchemaAttribute attributeRes5; in PreStringDataForParseAndCheckSchemaAttribute003() 110 SchemaAttribute attributeRes6; in PreStringDataForParseAndCheckSchemaAttribute003() 120 SchemaAttribute attributeRes7; in PreDoubleDataForParseAndCheckSchemaAttribute003() 126 SchemaAttribute attributeRes8; in PreDoubleDataForParseAndCheckSchemaAttribute003() [all …]
|
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/common/include/ |
H A D | schema_utils.h | 30 … static int ParseAndCheckSchemaAttribute(const std::string &inAttrString, SchemaAttribute &outAttr, 64 …static int ParseSchemaAttribute(std::vector<std::string> &attrContext, SchemaAttribute &outAttr, b… 66 static int TransformDefaultValue(std::string &defaultContent, SchemaAttribute &outAttr); 68 static int TransToDouble(const std::string &defaultContent, SchemaAttribute &outAttr); 70 static int TransToInteger(const std::string &defaultContent, SchemaAttribute &outAttr); 72 static int TransToLong(const std::string &defaultContent, SchemaAttribute &outAttr); 74 static int TransToString(const std::string &defaultContent, SchemaAttribute &outAttr); 76 static int TransToBool(const std::string &defaultContent, SchemaAttribute &outAttr);
|
H A D | schema_object.h | 115 using SchemaDefine = std::map<FieldPath, SchemaAttribute>; 123 SchemaAttribute &outAttr) const; 136 … int CompareSchemaAttribute(const SchemaAttribute &oldAttr, const SchemaAttribute &newAttr) const; 137 …int CompareSchemaDefaultValue(const SchemaAttribute &oldAttr, const SchemaAttribute &newAttr) cons…
|
H A D | ischema.h | 42 struct SchemaAttribute { struct
|
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/common/src/ |
H A D | schema_utils.cpp | 134 int SchemaUtils::TransToBool(const std::string &defaultContent, SchemaAttribute &outAttr) in TransToBool() 148 int SchemaUtils::TransToString(const std::string &defaultContent, SchemaAttribute &outAttr) in TransToString() 162 int SchemaUtils::TransToInteger(const std::string &defaultContent, SchemaAttribute &outAttr) in TransToInteger() 184 int SchemaUtils::TransToLong(const std::string &defaultContent, SchemaAttribute &outAttr) in TransToLong() 207 int SchemaUtils::TransToDouble(const std::string &defaultContent, SchemaAttribute &outAttr) in TransToDouble() 246 int SchemaUtils::TransformDefaultValue(std::string &defaultContent, SchemaAttribute &outAttr) in TransformDefaultValue() 284 int SchemaUtils::ParseAndCheckSchemaAttribute(const std::string &inAttrString, SchemaAttribute &out… in ParseAndCheckSchemaAttribute() 308 int SchemaUtils::ParseSchemaAttribute(std::vector<std::string> &attrContext, SchemaAttribute &outAt… in ParseSchemaAttribute()
|
H A D | schema_object.cpp | 224 const SchemaAttribute &targetAttr = schemaDefine_.at(inPath.size() - 1).at(inPath); in CheckQueryableAndGetFieldType() 549 SchemaAttribute attribute; in ParseCheckSchemaDefine() 582 FieldType inType, SchemaAttribute &outAttr) const in CheckSchemaDefineItemDecideAttribute() 618 outAttr = SchemaAttribute{inType, false, false, false, FieldValue()}; in CheckSchemaDefineItemDecideAttribute() 620 outAttr = SchemaAttribute{inType, false, false, false, FieldValue()}; in CheckSchemaDefineItemDecideAttribute() 816 inline bool IsExtraFieldConformToCompatibility(const SchemaAttribute &inAttr) in IsExtraFieldConformToCompatibility() 851 int SchemaObject::CompareSchemaAttribute(const SchemaAttribute &oldAttr, const SchemaAttribute &new… in CompareSchemaAttribute() 896 int SchemaObject::CompareSchemaDefaultValue(const SchemaAttribute &oldAttr, const SchemaAttribute &… in CompareSchemaDefaultValue() 1020 int CheckValueItem(const SchemaAttribute &refAttr, FieldType typeInValue) in CheckValueItem() 1055 inline bool IsLackingFieldViolateNotNullConstraint(const SchemaAttribute &refAttr) in IsLackingFieldViolateNotNullConstraint() [all …]
|
H A D | flatbuffer_schema.cpp | 607 …SchemaAttribute &fieldInfo = owner_.schemaDefine_[depth][path]; // Create new entry in schemaDefin… in ParseCheckFieldInfo()
|
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/test/fuzztest/parseckeck_fuzzer/ |
H A D | parseckeck_fuzzer.cpp | 82 SchemaAttribute outAttr; in CheckSchemaAttribute()
|
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/common/src/relational/ |
H A D | table_info.cpp | 707 std::map<FieldPath, SchemaAttribute> TableInfo::GetSchemaDefine() const in GetSchemaDefine() 709 std::map<FieldPath, SchemaAttribute> schemaDefine; in GetSchemaDefine() 713 schemaDefine[std::vector { DBCommon::ToLowerCase(fieldName) }] = SchemaAttribute { in GetSchemaDefine()
|
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/common/include/relational/ |
H A D | table_info.h | 112 std::map<FieldPath, SchemaAttribute> GetSchemaDefine() const;
|