Ejemplo n.º 1
0
 internal RelationshipCounts(StoreAccess storeAccess, MutableObjectLongMap <CountsKey> counts, System.Predicate <RelationshipRecord> countUpdateCondition, OwningRecordCheck <RelationshipRecord, ConsistencyReport_RelationshipConsistencyReport> inner)
 {
     this.NodeStore            = storeAccess.RawNeoStores.NodeStore;
     this.Counts               = counts;
     this.CountUpdateCondition = countUpdateCondition;
     this.Inner = inner;
 }
Ejemplo n.º 2
0
 internal NodeCounts(RecordStore <NodeRecord> nodeStore, MutableObjectLongMap <CountsKey> counts, System.Predicate <NodeRecord> countUpdateCondition, OwningRecordCheck <NodeRecord, ConsistencyReport_NodeConsistencyReport> inner)
 {
     this.NodeStore            = nodeStore;
     this.Counts               = counts;
     this.CountUpdateCondition = countUpdateCondition;
     this.Inner = inner;
 }
Ejemplo n.º 3
0
 private MutableObjectLongMap <IndexBackedConstraintDescriptor> CreatedConstraintIndexesByConstraint()
 {
     if (_createdConstraintIndexesByConstraint == null)
     {
         _createdConstraintIndexesByConstraint = new ObjectLongHashMap <IndexBackedConstraintDescriptor>();
     }
     return(_createdConstraintIndexesByConstraint);
 }
Ejemplo n.º 4
0
 private IndexMap(MutableLongObjectMap <IndexProxy> indexesById, IDictionary <SchemaDescriptor, IndexProxy> indexesByDescriptor, MutableObjectLongMap <SchemaDescriptor> indexIdsByDescriptor, MutableLongObjectMap <IndexBackedConstraintDescriptor> uniquenessConstraintsById)
 {
     this._indexesById                      = indexesById;
     this._indexesByDescriptor              = indexesByDescriptor;
     this._indexIdsByDescriptor             = indexIdsByDescriptor;
     this._uniquenessConstraintsById        = uniquenessConstraintsById;
     this._descriptorsByLabelThenProperty   = new SchemaDescriptorLookupSet <SchemaDescriptor>();
     this._descriptorsByReltypeThenProperty = new SchemaDescriptorLookupSet <SchemaDescriptor>();
     foreach (SchemaDescriptor schema in indexesByDescriptor.Keys)
     {
         AddDescriptorToLookups(schema);
     }
     this._constraintsByLabelThenProperty   = new SchemaDescriptorLookupSet <IndexBackedConstraintDescriptor>();
     this._constraintsByRelTypeThenProperty = new SchemaDescriptorLookupSet <IndexBackedConstraintDescriptor>();
     foreach (IndexBackedConstraintDescriptor constraint in uniquenessConstraintsById.values())
     {
         AddConstraintToLookups(constraint);
     }
 }
Ejemplo n.º 5
0
 internal MapDuplicateCheckStrategy(int expectedNumberOfEntries)
 {
     this.ValueNodeIdMap = new ObjectLongHashMap <object>(expectedNumberOfEntries);
 }