//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) { IDictionary <string, string> configuration = _indexConfigStore.get(typeof(Relationship), indexName); if (configuration == null) { throw new ExplicitIndexNotFoundKernelException("Relationship index '" + indexName + " not found"); } string providerName = configuration[Org.Neo4j.Graphdb.index.IndexManager_Fields.PROVIDER]; IndexImplementation provider = _providerLookup.getProviderByName(providerName); ExplicitIndexProviderTransaction transaction = _transactions[providerName]; if (transaction == null) { _transactions[providerName] = transaction = provider.NewTransaction(this); } return(transaction.RelationshipIndex(indexName, configuration)); }
//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) { IDictionary <string, string> configuration = _indexConfigStore.get(typeof(Node), indexName); if (configuration == null) { throw new ExplicitIndexNotFoundKernelException("Node index '" + indexName + " not found"); } string providerName = configuration[Org.Neo4j.Graphdb.index.IndexManager_Fields.PROVIDER]; IndexImplementation provider = _providerLookup.getProviderByName(providerName); ExplicitIndexProviderTransaction transaction = _transactions.computeIfAbsent(providerName, k => provider.NewTransaction(this)); return(transaction.NodeIndex(indexName, configuration)); }