コード例 #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));
            }
        }
コード例 #2
0
ファイル: LabelScanDocument.cs プロジェクト: Neo4Net/Neo4Net
 public override void Clear()
 {
     base.Clear();
     this._nodeLabelRange = null;
 }
コード例 #3
0
ファイル: LabelScanDocument.cs プロジェクト: Neo4Net/Neo4Net
 public LabelScanDocument(NodeLabelRange nodeLabelRange) : base(nodeLabelRange.Id())
 {
     this._nodeLabelRange = nodeLabelRange;
     InUse = true;
 }