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; }
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; }
private MutableObjectLongMap <IndexBackedConstraintDescriptor> CreatedConstraintIndexesByConstraint() { if (_createdConstraintIndexesByConstraint == null) { _createdConstraintIndexesByConstraint = new ObjectLongHashMap <IndexBackedConstraintDescriptor>(); } return(_createdConstraintIndexesByConstraint); }
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); } }
internal MapDuplicateCheckStrategy(int expectedNumberOfEntries) { this.ValueNodeIdMap = new ObjectLongHashMap <object>(expectedNumberOfEntries); }