diff options
Diffstat (limited to 'icing/schema/schema-util.h')
-rw-r--r-- | icing/schema/schema-util.h | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/icing/schema/schema-util.h b/icing/schema/schema-util.h index 6d0ff73..4f09915 100644 --- a/icing/schema/schema-util.h +++ b/icing/schema/schema-util.h @@ -113,17 +113,17 @@ class SchemaUtil { std::unordered_map<std::string_view, const PropertyConfigProto*> property_config_map; - // Total number of properties that have an indexing config - int32_t num_indexed_properties = 0; + // Properties that have an indexing config + std::unordered_set<std::string_view> indexed_properties; - // Total number of properties that were REQUIRED - int32_t num_required_properties = 0; + // Properties that were REQUIRED + std::unordered_set<std::string_view> required_properties; - // Total number of properties that have joinable config - int32_t num_joinable_properties = 0; + // Properties that have joinable config + std::unordered_set<std::string_view> joinable_properties; - // Total number of properties that have DataType::DOCUMENT - int32_t num_nested_document_properties = 0; + // Properties that have DataType::DOCUMENT + std::unordered_set<std::string_view> nested_document_properties; }; // This function validates: |