Exemple #1
0
        public NodeDegreeCountStage(Configuration config, RelationshipStore store, NodeRelationshipCache cache, StatsProvider memoryUsageStatsProvider) : base(NAME, null, config, RECYCLE_BATCHES)
        {
            Add(new BatchFeedStep(Control(), config, forwards(0, store.HighId, config), store.RecordSize));
//JAVA TO C# CONVERTER WARNING: Java wildcard generics have no direct equivalent in .NET:
//ORIGINAL LINE: add(new org.neo4j.unsafe.impl.batchimport.staging.ReadRecordsStep<>(control(), config, false, store));
            Add(new ReadRecordsStep <object>(Control(), config, false, store));
            Add(new CalculateDenseNodesStep(Control(), config, cache, memoryUsageStatsProvider));
        }
 public IdMapperPreparationStage(Configuration config, IdMapper idMapper, System.Func <long, object> inputIdLookup, Collector collector, StatsProvider memoryUsageStats) : base(NAME, null, config, 0)
 {
     Add(new IdMapperPreparationStep(Control(), config, idMapper, inputIdLookup, collector, memoryUsageStats));
 }