Ejemplo n.º 1
0
        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));
            }
        }
Ejemplo n.º 2
0
 public override void Clear()
 {
     base.Clear();
     this._nodeLabelRange = null;
 }
Ejemplo n.º 3
0
 public LabelScanDocument(NodeLabelRange nodeLabelRange) : base(nodeLabelRange.Id())
 {
     this._nodeLabelRange = nodeLabelRange;
     InUse = true;
 }