internal RecordStorageCommandCreationContext(NeoStores neoStores, int denseNodeThreshold, int idBatchSize) { this._neoStores = neoStores; this._idBatches = new RenewableBatchIdSequences(neoStores, idBatchSize); this._loaders = new Loaders(neoStores); RelationshipGroupGetter relationshipGroupGetter = new RelationshipGroupGetter(_idBatches.idGenerator(StoreType.RELATIONSHIP_GROUP)); this._relationshipCreator = new RelationshipCreator(relationshipGroupGetter, denseNodeThreshold); PropertyTraverser propertyTraverser = new PropertyTraverser(); this._propertyDeleter = new PropertyDeleter(propertyTraverser); this._relationshipDeleter = new RelationshipDeleter(relationshipGroupGetter, _propertyDeleter); this._propertyCreator = new PropertyCreator(new StandardDynamicRecordAllocator(_idBatches.idGenerator(StoreType.PROPERTY_STRING), neoStores.PropertyStore.StringStore.RecordDataSize), new StandardDynamicRecordAllocator(_idBatches.idGenerator(StoreType.PROPERTY_ARRAY), neoStores.PropertyStore.ArrayStore.RecordDataSize), _idBatches.idGenerator(StoreType.PROPERTY), propertyTraverser, neoStores.PropertyStore.allowStorePointsAndTemporal()); }
internal RelationshipDeleter(RelationshipGroupGetter relGroupGetter, PropertyDeleter propertyChainDeleter) { this._relGroupGetter = relGroupGetter; this._propertyChainDeleter = propertyChainDeleter; }
public RelationshipCreator(RelationshipGroupGetter relGroupGetter, int denseNodeThreshold) { this._relGroupGetter = relGroupGetter; this._denseNodeThreshold = denseNodeThreshold; }