Esempio n. 1
0
 public virtual void ReDecorateNode(CheckDecorator decorator, NodeRecordCheck newChecker, bool sparseNode)
 {
     if (sparseNode)
     {
         this._sparseNodeChecker = decorator.DecorateNodeChecker(newChecker);
     }
     else
     {
         this._denseNodeChecker = decorator.DecorateNodeChecker(newChecker);
     }
 }
Esempio n. 2
0
 public AbstractStoreProcessor(CheckDecorator decorator)
 {
     this._sparseNodeChecker            = decorator.DecorateNodeChecker(NodeRecordCheck.ForSparseNodes());
     this._denseNodeChecker             = decorator.DecorateNodeChecker(NodeRecordCheck.ForDenseNodes());
     this._relationshipChecker          = decorator.DecorateRelationshipChecker(new RelationshipRecordCheck());
     this._propertyChecker              = decorator.DecoratePropertyChecker(new PropertyRecordCheck());
     this._propertyKeyTokenChecker      = decorator.DecoratePropertyKeyTokenChecker(new PropertyKeyTokenRecordCheck());
     this._relationshipTypeTokenChecker = decorator.DecorateRelationshipTypeTokenChecker(new RelationshipTypeTokenRecordCheck());
     this._labelTokenChecker            = decorator.DecorateLabelTokenChecker(new LabelTokenRecordCheck());
     this._relationshipGroupChecker     = decorator.DecorateRelationshipGroupChecker(new RelationshipGroupRecordCheck());
 }