Home
last modified time | relevance | path

Searched refs:old_property (Results 1 – 1 of 1) sorted by relevance

/external/icing/icing/schema/
Dschema-util.cc40 bool IsCardinalityCompatible(const PropertyConfigProto& old_property, in IsCardinalityCompatible() argument
42 if (old_property.cardinality() < new_property.cardinality()) { in IsCardinalityCompatible()
47 PropertyConfigProto::Cardinality::Code_Name(old_property.cardinality()), in IsCardinalityCompatible()
56 bool IsDataTypeCompatible(const PropertyConfigProto& old_property, in IsDataTypeCompatible() argument
58 if (old_property.data_type() != new_property.data_type()) { in IsDataTypeCompatible()
64 PropertyConfigProto::DataType::Code_Name(old_property.data_type()), in IsDataTypeCompatible()
72 bool IsSchemaTypeCompatible(const PropertyConfigProto& old_property, in IsSchemaTypeCompatible() argument
74 if (old_property.schema_type() != new_property.schema_type()) { in IsSchemaTypeCompatible()
76 old_property.schema_type(), "->", in IsSchemaTypeCompatible()
83 bool IsPropertyCompatible(const PropertyConfigProto& old_property, in IsPropertyCompatible() argument
[all …]