//JAVA TO C# CONVERTER WARNING: Method 'throws' clauses are not available in C#: //ORIGINAL LINE: public long applyTo(org.neo4j.kernel.api.labelscan.LabelScanWriter writer) throws java.io.IOException public override long ApplyTo(LabelScanWriter writer) { // Keep the write for using it in visit this._writer = writer; StoreScan <IOException> scan = _indexStoreView.visitNodes(ArrayUtils.EMPTY_INT_ARRAY, ALWAYS_TRUE_INT, null, this, true); scan.Run(); return(_count); }
//JAVA TO C# CONVERTER WARNING: Method 'throws' clauses are not available in C#: //ORIGINAL LINE: private void initializeNativeLabelScanStoreWithContent(org.neo4j.io.layout.DatabaseLayout databaseLayout) throws java.io.IOException private void InitializeNativeLabelScanStoreWithContent(DatabaseLayout databaseLayout) { using (Lifespan lifespan = new Lifespan()) { NativeLabelScanStore nativeLabelScanStore = GetNativeLabelScanStore(databaseLayout, false); lifespan.Add(nativeLabelScanStore); using (LabelScanWriter labelScanWriter = nativeLabelScanStore.NewWriter()) { labelScanWriter.Write(NodeLabelUpdate.labelChanges(1, new long[0], new long[] { 1 })); } nativeLabelScanStore.Force(Org.Neo4j.Io.pagecache.IOLimiter_Fields.Unlimited); } }
public LabelIndexWriterStep(StageControl control, Configuration config, LabelScanStore store, NodeStore nodeStore) : base(control, "LABEL INDEX", config, 1) { this._writer = store.NewWriter(); this._nodeStore = nodeStore; }