/external/icing/icing/schema/ |
D | schema-util.cc | 74 if (old_property.schema_type() != new_property.schema_type()) { in IsSchemaTypeCompatible() 76 old_property.schema_type(), "->", in IsSchemaTypeCompatible() 77 new_property.schema_type()); in IsSchemaTypeCompatible() 214 std::string_view schema_type(type_config.schema_type()); in BuildTransitiveDependencyGraph() local 215 if (known_types.count(schema_type) > 0) { in BuildTransitiveDependencyGraph() 217 "Field 'schema_type' '", schema_type, "' is already defined")); in BuildTransitiveDependencyGraph() 219 known_types.insert(schema_type); in BuildTransitiveDependencyGraph() 220 unknown_types.erase(schema_type); in BuildTransitiveDependencyGraph() 226 std::string_view property_schema_type(property_config.schema_type()); in BuildTransitiveDependencyGraph() 227 if (property_schema_type == schema_type) { in BuildTransitiveDependencyGraph() [all …]
|
D | section-manager_test.cc | 55 type_config_map_.emplace(email_type.schema_type(), email_type); in SectionManagerTest() 56 type_config_map_.emplace(conversation_type.schema_type(), in SectionManagerTest() 386 document_property->set_schema_type(empty_type.schema_type()); in TEST_F() 396 type_config_map.emplace(type_with_non_string_properties.schema_type(), in TEST_F() 398 type_config_map.emplace(empty_type.schema_type(), empty_type); in TEST_F() 408 type_with_non_string_properties.schema_type(), /*schema_type_id=*/0)); in TEST_F() 409 ICING_ASSERT_OK(schema_type_mapper->Put(empty_type.schema_type(), in TEST_F() 419 .SetSchema(empty_type.schema_type()) in TEST_F() 426 .SetSchema(type_with_non_string_properties.schema_type()) in TEST_F() 461 document_property->set_schema_type(document_type.schema_type()); in TEST_F() [all …]
|
D | schema-store.cc | 77 old_types_and_index.emplace(old_schema.types(i).schema_type(), i); in SchemaTypeIdsChanged() 82 new_types_and_index.emplace(new_schema.types(i).schema_type(), i); in SchemaTypeIdsChanged() 203 type_config_map_.emplace(type_config.schema_type(), type_config); in InitializeDerivedFiles() 220 type_config_map_.emplace(type_config.schema_type(), type_config); in RegenerateDerivedFiles() 224 type_config.schema_type(), schema_type_mapper_->num_keys())); in RegenerateDerivedFiles() 357 for (const auto& schema_type : schema_delta.schema_types_deleted) { in SetSchema() local 362 result.schema_types_deleted_by_name.emplace(schema_type); in SetSchema() 365 GetSchemaTypeId(schema_type)); in SetSchema() 369 for (const auto& schema_type : schema_delta.schema_types_incompatible) { in SetSchema() local 374 result.schema_types_incompatible_by_name.emplace(schema_type); in SetSchema() [all …]
|
D | schema-util.h | 170 std::string_view property_name, std::string_view schema_type = ""); 179 std::string_view schema_type); 188 std::string_view schema_type, std::string_view property_name); 197 std::string_view schema_type, std::string_view property_name); 209 std::string_view schema_type, std::string_view property_name);
|
D | schema-store.h | 165 GetSchemaTypeConfig(std::string_view schema_type) const; 175 std::string_view schema_type) const;
|
D | section-manager.cc | 76 type_config_map.find(property_config.schema_type()); in AssignSections() 81 "Type config not found: ", property_config.schema_type())); in AssignSections()
|
/external/icing/icing/index/iterator/ |
D | doc-hit-info-iterator-filter.cc | 57 for (std::string_view schema_type : options_.schema_types) { in DocHitInfoIteratorFilter() local 58 auto schema_type_id_or = schema_store_.GetSchemaTypeId(schema_type); in DocHitInfoIteratorFilter()
|
/external/icing/icing/ |
D | schema-builder.h | 55 PropertyConfigBuilder& SetDataTypeDocument(std::string_view schema_type, in SetDataTypeDocument() argument 58 property_.set_schema_type(std::string(schema_type)); in SetDataTypeDocument()
|
D | icing-search-engine.h | 172 GetSchemaTypeResultProto GetSchemaType(std::string_view schema_type) 268 DeleteBySchemaTypeResultProto DeleteBySchemaType(std::string_view schema_type)
|
D | icing-search-engine.cc | 618 std::string_view schema_type) { in GetSchemaType() argument 629 auto type_config_or = schema_store_->GetSchemaTypeConfig(schema_type); in GetSchemaType() 728 if (type_field_mask.schema_type() == document.schema()) { in Get() 730 } else if (type_field_mask.schema_type() == in Get() 858 const std::string_view schema_type) { in DeleteBySchemaType() argument 877 document_store_->DeleteBySchemaType(schema_type); in DeleteBySchemaType() 880 << "Failed to delete SchemaType: " << schema_type; in DeleteBySchemaType()
|
D | icing-search-engine_test.cc | 1651 EXPECT_THAT(icing.GetSchemaType(CreateMessageSchema().types(0).schema_type()), in TEST_F() 2906 .SetSchema(schema.types(0).schema_type()) in TEST_F() 2913 .SetSchema(schema.types(1).schema_type()) in TEST_F() 2939 search_spec.add_schema_type_filters(schema.types(0).schema_type()); in TEST_F() 5742 EXPECT_THAT(icing.GetSchemaType(email_schema.types(0).schema_type()).status(), in TEST_F() 5757 EXPECT_THAT(icing.DeleteBySchemaType(email_schema.types(0).schema_type()) in TEST_F()
|
/external/icing/icing/jni/ |
D | icing-search-engine-jni.cc | 161 JNIEnv* env, jclass clazz, jobject object, jstring schema_type) { in Java_com_google_android_icing_IcingSearchEngine_nativeGetSchemaType() argument 166 env->GetStringUTFChars(schema_type, /*isCopy=*/nullptr); in Java_com_google_android_icing_IcingSearchEngine_nativeGetSchemaType() 329 JNIEnv* env, jclass clazz, jobject object, jstring schema_type) { in Java_com_google_android_icing_IcingSearchEngine_nativeDeleteBySchemaType() argument 334 env->GetStringUTFChars(schema_type, /*isCopy=*/nullptr); in Java_com_google_android_icing_IcingSearchEngine_nativeDeleteBySchemaType()
|
/external/icing/proto/icing/proto/ |
D | schema.proto | 44 optional string schema_type = 1; field 142 // MUST have a valid 'schema_type'. 157 // in schema.org, matching the SchemaTypeConfigProto.schema_type of another 159 optional string schema_type = 3; field 261 // Copy of the SchemaTypeConfig proto with the specified schema_type.
|
D | document.proto | 38 // REQUIRED: Type of the Document. This should match the 'schema_type' of 40 // See icing.lib.SchemaTypeConfigProto.schema_type for details. 50 // already defined in the schema for this Document's schema_type.
|
D | search.proto | 265 optional string schema_type = 1; field
|
/external/python/google-api-python-client/googleapiclient/ |
D | discovery.py | 402 def _cast(value, schema_type): argument 415 if schema_type == "string": 420 elif schema_type == "integer": 422 elif schema_type == "number": 424 elif schema_type == "boolean":
|
/external/icing/icing/testing/ |
D | document-generator.h | 92 .SetSchema(type_config.schema_type()) in generateDoc()
|
/external/icing/icing/result/ |
D | result-state.cc | 55 {type_field_mask.schema_type(), ProjectionTree(type_field_mask)}); in ResultState()
|
/external/icing/icing/util/ |
D | document-validator.cc | 153 property_config.schema_type(); in Validate()
|
/external/icing/icing/store/ |
D | document-store.h | 334 DeleteByGroupResult DeleteBySchemaType(std::string_view schema_type);
|
D | document-store.cc | 1213 std::string_view schema_type) { in DeleteBySchemaType() argument 1215 auto schema_type_id_or = schema_store_->GetSchemaTypeId(schema_type); in DeleteBySchemaType() 1220 schema_type)); in DeleteBySchemaType() 1233 "No documents found with schema type '", schema_type, "'")); in DeleteBySchemaType()
|
/external/libchrome/components/policy/core/common/ |
D | schema.cc | 79 const char* schema_type; in SchemaTypeToValueType() member 91 if (kSchemaToValueTypeMap[i].schema_type == type_string) { in SchemaTypeToValueType()
|