Example #1
0
//JAVA TO C# CONVERTER WARNING: Method 'throws' clauses are not available in C#:
//ORIGINAL LINE: public org.neo4j.kernel.api.ExplicitIndex relationshipChanges(String indexName) throws org.neo4j.internal.kernel.api.exceptions.explicitindex.ExplicitIndexNotFoundKernelException
        public override ExplicitIndex RelationshipChanges(string indexName)
        {
            if (_relationshipExplicitIndexChanges == null)
            {
                _relationshipExplicitIndexChanges = new Dictionary <string, ExplicitIndex>();
            }
            ExplicitIndex changes = _relationshipExplicitIndexChanges[indexName];

            if (changes == null)
            {
                _relationshipExplicitIndexChanges[indexName] = changes = _txState.relationshipChanges(indexName);
            }
            return(changes);
        }
Example #2
0
//JAVA TO C# CONVERTER WARNING: Method 'throws' clauses are not available in C#:
//ORIGINAL LINE: public org.neo4j.kernel.api.ExplicitIndex nodeChanges(String indexName) throws org.neo4j.internal.kernel.api.exceptions.explicitindex.ExplicitIndexNotFoundKernelException
        public override ExplicitIndex NodeChanges(string indexName)
        {
            if (_nodeExplicitIndexChanges == null)
            {
                _nodeExplicitIndexChanges = new Dictionary <string, ExplicitIndex>();
            }
            ExplicitIndex changes = _nodeExplicitIndexChanges[indexName];

            if (changes == null)
            {
                _nodeExplicitIndexChanges[indexName] = changes = _txState.nodeChanges(indexName);
            }
            return(changes);
        }