internal PropertyCreator(DynamicRecordAllocator stringRecordAllocator, DynamicRecordAllocator arrayRecordAllocator, IdSequence propertyRecordIdGenerator, PropertyTraverser traverser, bool allowStorePointsAndTemporal) { this._stringRecordAllocator = stringRecordAllocator; this._arrayRecordAllocator = arrayRecordAllocator; this._propertyRecordIdGenerator = propertyRecordIdGenerator; this._traverser = traverser; this._allowStorePointsAndTemporal = allowStorePointsAndTemporal; }
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()); }
public PropertyCreator(PropertyStore propertyStore, PropertyTraverser traverser) : this(propertyStore.StringStore, propertyStore.ArrayStore, propertyStore, traverser, propertyStore.AllowStorePointsAndTemporal()) { }
public PropertyDeleter(PropertyTraverser traverser) { this._traverser = traverser; }