Exemple #1
0
 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;
 }
Exemple #2
0
        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());
        }
Exemple #3
0
 public PropertyCreator(PropertyStore propertyStore, PropertyTraverser traverser) : this(propertyStore.StringStore, propertyStore.ArrayStore, propertyStore, traverser, propertyStore.AllowStorePointsAndTemporal())
 {
 }
Exemple #4
0
 public PropertyDeleter(PropertyTraverser traverser)
 {
     this._traverser = traverser;
 }