public override void Check(LabelScanDocument record, CheckerEngine <LabelScanDocument, Org.Neo4j.Consistency.report.ConsistencyReport_LabelScanConsistencyReport> engine, RecordAccess records) { NodeLabelRange range = record.NodeLabelRange; foreach (long nodeId in range.Nodes()) { long[] labels = record.NodeLabelRange.labels(nodeId); //JAVA TO C# CONVERTER WARNING: Java wildcard generics have no direct equivalent in .NET: //ORIGINAL LINE: engine.comparativeCheck(records.node(nodeId), new org.neo4j.consistency.checking.full.NodeInUseWithCorrectLabelsCheck<>(labels, COMPLETE_ALL_TOKENS, true)); engine.ComparativeCheck(records.Node(nodeId), new NodeInUseWithCorrectLabelsCheck <RECORD, ?, REPORT>(labels, COMPLETE_ALL_TOKENS, true)); } }
public override void Clear() { base.Clear(); this._nodeLabelRange = null; }
public LabelScanDocument(NodeLabelRange nodeLabelRange) : base(nodeLabelRange.Id()) { this._nodeLabelRange = nodeLabelRange; InUse = true; }