internal NodeMappings(SchemaCalculator outerInstance, int labelCount) { this._outerInstance = outerInstance; LabelSetToPropertyKeys = new Dictionary <SortedLabels, MutableIntSet>(labelCount); LabelIdToLabelName = new Dictionary <int, string>(labelCount); LabelSetANDNodePropertyKeyIdToValueType = new Dictionary <Pair <SortedLabels, int>, ValueTypeListHelper>(); NullableLabelSets = new HashSet <SortedLabels>(); }
internal readonly ISet <int> NullableRelationshipTypes; // used for types without properties -> all properties are viewed as nullable internal RelationshipMappings(SchemaCalculator outerInstance, int relationshipTypeCount) { this._outerInstance = outerInstance; RelationshipTypIdToRelationshipName = new Dictionary <int, string>(relationshipTypeCount); RelationshipTypeIdToPropertyKeys = new Dictionary <int, MutableIntSet>(relationshipTypeCount); RelationshipTypeIdANDPropertyTypeIdToValueType = new Dictionary <Pair <int, int>, ValueTypeListHelper>(); NullableRelationshipTypes = new HashSet <int>(); }
internal ValueTypeListHelper(SchemaCalculator outerInstance, Value v) { this._outerInstance = outerInstance; SeenValueTypes = new HashSet <string>(); UpdateValueTypesWith(v); }