Exemple #1
0
//JAVA TO C# CONVERTER WARNING: Method 'throws' clauses are not available in C#:
//ORIGINAL LINE: protected void doCollect(int doc) throws java.io.IOException, org.neo4j.internal.kernel.api.exceptions.KernelException, org.neo4j.kernel.api.exceptions.index.IndexEntryConflictException
        protected internal virtual void DoCollect(int doc)
        {
            Document document = Reader.document(doc);
            long     nodeId   = LuceneDocumentStructure.getNodeId(document);
            Value    value    = Accessor.getNodePropertyValue(nodeId, _propertyKeyId);

            DuplicateCheckStrategy.checkForDuplicate(value, nodeId);
        }
Exemple #2
0
//JAVA TO C# CONVERTER WARNING: Method 'throws' clauses are not available in C#:
//ORIGINAL LINE: protected void doCollect(int doc) throws java.io.IOException, org.neo4j.internal.kernel.api.exceptions.KernelException, org.neo4j.kernel.api.exceptions.index.IndexEntryConflictException
        protected internal override void DoCollect(int doc)
        {
            Document document = Reader.document(doc);
            long     nodeId   = LuceneDocumentStructure.getNodeId(document);

            Value[] values = new Value[_propertyKeyIds.Length];
            for (int i = 0; i < values.Length; i++)
            {
                values[i] = Accessor.getNodePropertyValue(nodeId, _propertyKeyIds[i]);
            }
            DuplicateCheckStrategy.checkForDuplicate(values, nodeId);
        }