//JAVA TO C# CONVERTER WARNING: Method 'throws' clauses are not available in C#:
//ORIGINAL LINE: private Command visitIndexDeleteCommand(org.neo4j.storageengine.api.ReadableChannel channel) throws java.io.IOException
        private Command VisitIndexDeleteCommand(ReadableChannel channel)
        {
            IndexCommandHeader header = ReadIndexCommandHeader(channel);

            IndexCommand.DeleteCommand command = new IndexCommand.DeleteCommand();
            command.Init(header.IndexNameId, header.EntityType);
            return(command);
        }
//JAVA TO C# CONVERTER WARNING: Method 'throws' clauses are not available in C#:
//ORIGINAL LINE: private Command visitIndexCreateCommand(org.neo4j.storageengine.api.ReadableChannel channel) throws java.io.IOException
        private Command VisitIndexCreateCommand(ReadableChannel channel)
        {
            IndexCommandHeader           header = ReadIndexCommandHeader(channel);
            IDictionary <string, string> config = read2bMap(channel);

            IndexCommand.CreateCommand command = new IndexCommand.CreateCommand();
            command.Init(header.IndexNameId, header.EntityType, config);
            return(command);
        }
//JAVA TO C# CONVERTER WARNING: Method 'throws' clauses are not available in C#:
//ORIGINAL LINE: private Command visitIndexRemoveCommand(org.neo4j.storageengine.api.ReadableChannel channel) throws java.io.IOException
        private Command VisitIndexRemoveCommand(ReadableChannel channel)
        {
            IndexCommandHeader header   = ReadIndexCommandHeader(channel);
            Number             entityId = header.EntityIdNeedsLong ? channel.Long : channel.Int;
            object             value    = ReadIndexValue(header.ValueType, channel);

            IndexCommand.RemoveCommand command = new IndexCommand.RemoveCommand();
            command.Init(header.IndexNameId, header.EntityType, entityId.longValue(), header.KeyId, value);
            return(command);
        }
//JAVA TO C# CONVERTER WARNING: Method 'throws' clauses are not available in C#:
//ORIGINAL LINE: private Command visitIndexAddRelationshipCommand(org.neo4j.storageengine.api.ReadableChannel channel) throws java.io.IOException
        private Command VisitIndexAddRelationshipCommand(ReadableChannel channel)
        {
            IndexCommandHeader header    = ReadIndexCommandHeader(channel);
            Number             entityId  = header.EntityIdNeedsLong ? channel.Long : channel.Int;
            object             value     = ReadIndexValue(header.ValueType, channel);
            Number             startNode = header.StartNodeNeedsLong ? channel.Long : channel.Int;
            Number             endNode   = header.EndNodeNeedsLong ? channel.Long : channel.Int;

            IndexCommand.AddRelationshipCommand command = new IndexCommand.AddRelationshipCommand();
            command.Init(header.IndexNameId, entityId.longValue(), header.KeyId, value, startNode.longValue(), endNode.longValue());
            return(command);
        }