Searched refs:new_schema (Results 1 – 9 of 9) sorted by relevance
/external/icing/icing/schema/ |
D | schema-store.cc | 72 const SchemaProto& old_schema, const SchemaProto& new_schema) { in SchemaTypeIdsChanged() argument 81 for (int i = 0; i < new_schema.types_size(); ++i) { in SchemaTypeIdsChanged() 82 new_types_and_index.emplace(new_schema.types(i).schema_type(), i); in SchemaTypeIdsChanged() 317 SchemaStore::SetSchema(const SchemaProto& new_schema, in SetSchema() argument 319 return SetSchema(SchemaProto(new_schema), ignore_errors_and_delete_documents); in SetSchema() 323 SchemaStore::SetSchema(SchemaProto&& new_schema, in SetSchema() argument 326 SchemaUtil::Validate(new_schema)); in SetSchema() 344 if (new_schema.SerializeAsString() == old_schema.SerializeAsString()) { in SetSchema() 351 SchemaUtil::ComputeCompatibilityDelta(old_schema, new_schema, in SetSchema() 383 SchemaTypeIdsChanged(old_schema, new_schema); in SetSchema() [all …]
|
D | schema-util_test.cc | 768 SchemaProto new_schema = in TEST() local 781 EXPECT_THAT(SchemaUtil::ComputeCompatibilityDelta(old_schema, new_schema, in TEST() 839 SchemaProto new_schema = in TEST() local 852 EXPECT_THAT(SchemaUtil::ComputeCompatibilityDelta(old_schema, new_schema, in TEST() 884 SchemaProto new_schema = in TEST() local 913 old_schema, new_schema, dependencies_map); in TEST() 977 SchemaProto new_schema = in TEST() local 996 EXPECT_THAT(SchemaUtil::ComputeCompatibilityDelta(old_schema, new_schema, in TEST() 1015 SchemaProto new_schema = in TEST() local 1035 EXPECT_THAT(SchemaUtil::ComputeCompatibilityDelta(old_schema, new_schema, in TEST() [all …]
|
D | schema-store.h | 151 const SchemaProto& new_schema, 154 SchemaProto&& new_schema,
|
D | schema-util.h | 155 const SchemaProto& old_schema, const SchemaProto& new_schema,
|
D | schema-util.cc | 432 const SchemaProto& old_schema, const SchemaProto& new_schema, in ComputeCompatibilityDelta() argument 438 BuildTypeConfigMap(new_schema, &new_type_config_map); in ComputeCompatibilityDelta()
|
/external/icing/icing/ |
D | icing-search-engine.h | 141 SchemaProto&& new_schema, bool ignore_errors_and_delete_documents = false) 150 SetSchemaResultProto SetSchema(const SchemaProto& new_schema,
|
D | icing-search-engine.cc | 493 const SchemaProto& new_schema, bool ignore_errors_and_delete_documents) { in SetSchema() argument 494 return SetSchema(SchemaProto(new_schema), ignore_errors_and_delete_documents); in SetSchema() 498 SchemaProto&& new_schema, bool ignore_errors_and_delete_documents) { in SetSchema() argument 528 std::move(new_schema), ignore_errors_and_delete_documents); in SetSchema()
|
D | icing-search-engine_test.cc | 1569 SchemaProto new_schema; in TEST_F() local 1570 type = new_schema.add_types(); in TEST_F() 1579 EXPECT_THAT(icing.SetSchema(new_schema), EqualsProto(expected_result)); in TEST_F() 1584 EXPECT_THAT(icing.SetSchema(new_schema, in TEST_F() 3932 SchemaProto new_schema; in TEST_F() local 3933 auto type = new_schema.add_types(); in TEST_F() 3936 type = new_schema.add_types(); in TEST_F() 3972 ICING_EXPECT_OK(schema_store->SetSchema(new_schema)); in TEST_F() 6591 SchemaProto new_schema = in TEST_F() local 6618 ICING_EXPECT_OK(schema_store->SetSchema(new_schema)); in TEST_F()
|
/external/icing/icing/store/ |
D | document-store_test.cc | 949 SchemaProto new_schema = in TEST_F() local 954 new_schema, /*ignore_errors_and_delete_documents=*/true)); in TEST_F() 2396 SchemaProto new_schema = in TEST_F() local 2402 schema_store->SetSchema(new_schema, in TEST_F() 2631 SchemaProto new_schema = in TEST_F() local 2638 schema_store->SetSchema(new_schema, in TEST_F()
|