Пример #1
0
 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>();
 }
Пример #2
0
            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>();
            }
Пример #3
0
 internal ValueTypeListHelper(SchemaCalculator outerInstance, Value v)
 {
     this._outerInstance = outerInstance;
     SeenValueTypes      = new HashSet <string>();
     UpdateValueTypesWith(v);
 }