Example #1
0
 internal NodeSetFirstGroupStep(StageControl control, Configuration config, NodeStore nodeStore, ByteArray cache) : base(control, "FIRST", config, 1)
 {
     this._cache      = cache;
     this._batchSize  = config.BatchSize();
     this._nodeStore  = nodeStore;
     this._nodeCursor = nodeStore.OpenPageCursorForReading(0);
     NewBatch();
 }
Example #2
0
 public RelationshipLinkStep(StageControl control, Configuration config, NodeRelationshipCache cache, System.Predicate <RelationshipRecord> filter, int nodeTypes, bool forwards, params StatsProvider[] additionalStatsProvider) : base(control, "LINK", config, additionalStatsProvider)
 {
     this.Cache      = cache;
     this._filter    = filter;
     this._nodeTypes = nodeTypes;
     this._forwards  = forwards;
     this._progress  = FindLinkingProgressStatsProvider();
 }
 public CalculateDenseNodesStep(StageControl control, Configuration config, NodeRelationshipCache cache, params StatsProvider[] statsProviders) : base(control, "CALCULATE", config, statsProviders)
 {
     this._cache = cache;
 }
Example #4
0
 public CacheGroupsStep(StageControl control, Configuration config, RelationshipGroupCache cache, params StatsProvider[] additionalStatsProviders) : base(control, "CACHE", config, 1, additionalStatsProviders)
 {
     this._cache = cache;
 }
Example #5
0
 public LabelIndexWriterStep(StageControl control, Configuration config, LabelScanStore store, NodeStore nodeStore) : base(control, "LABEL INDEX", config, 1)
 {
     this._writer    = store.NewWriter();
     this._nodeStore = nodeStore;
 }
Example #6
0
 public RecordProcessorStep(StageControl control, string name, Configuration config, RecordProcessor <T> processor, bool endOfLine, params StatsProvider[] additionalStatsProviders) : base(control, name, config, 1, additionalStatsProviders)
 {
     this._processor = processor;
     this._endOfLine = endOfLine;
 }
 public ReadGroupRecordsByCacheStep(StageControl control, Configuration config, RecordStore <RelationshipGroupRecord> store, NodeRelationshipCache cache) : base(control, config)
 {
     this._store = store;
     this._cache = cache;
 }