using System.Collections; using System.Collections.Generic; namespace ln.bson.storage.index { public interface IBsonIndex : IEnumerable> { void Query(QueryOperator queryOperator, byte[] value, ISet resultSet); public void AddValue(long key, BsonValue bsonValue); public void AddValue(long key, byte[] value); public void RemoveValue(long key); public void ReplaceValue(long oldKey, long newKey, BsonValue newValue); public void Clear(); } }