public InputAnonymousInnerClass(InputIterable nodes, InputIterable relationships, IdMapper idMapper, [email protected] badCollector, Input_Estimates estimates) { this._nodes = nodes; this._relationships = relationships; this._idMapper = idMapper; this._badCollector = badCollector; this._estimates = estimates; }
protected internal RelationshipImporter(BatchingNeoStores stores, IdMapper idMapper, DataStatistics typeDistribution, Monitor monitor, Collector badCollector, bool validateRelationshipData, bool doubleRecordUnits) : base(stores, monitor) { this._doubleRecordUnits = doubleRecordUnits; this._relationshipTypeTokenRepository = stores.RelationshipTypeRepository; this._idMapper = idMapper; this._badCollector = badCollector; this._validateRelationshipData = validateRelationshipData; this._relationshipStore = stores.RelationshipStore; this._relationshipRecord = _relationshipStore.newRecord(); this._relationshipIds = new BatchingIdGetter(_relationshipStore); this._typeCounts = typeDistribution.NewClient(); this._prepareIdSequence = PrepareIdSequence.of(doubleRecordUnits).apply(stores.RelationshipStore); _relationshipRecord.InUse = true; }
public override void Prepare(System.Func <long, object> inputIdLookup, Collector collector, ProgressListener progress) { // No need to prepare anything }
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)); }