Uses of Interface
com._1c.g5.v8.xmdb.KeyValueStorage
-
Packages that use KeyValueStorage Package Description com._1c.g5.v8.xmdb com._1c.g5.v8.xmdb.impl -
-
Uses of KeyValueStorage in com._1c.g5.v8.xmdb
Subinterfaces of KeyValueStorage in com._1c.g5.v8.xmdb Modifier and Type Interface Description interfaceTransactionalKVS<K,V>Wrapper around standart KeyValueStorage with transactional features (merge, commit, rollback)Methods in com._1c.g5.v8.xmdb that return KeyValueStorage Modifier and Type Method Description KeyValueStorage<?,byte[]>IndexBuilder. buildIndex(Database db, String name)Build index with current index builder state parameters on specified database with specified name If index with same name already in specified database - it will be overrided.KeyValueStorageKeyValueStorage. clone(int newSegment)Create clone of current index with new segmentIdKeyValueStorageKeyValueStorage. cloneHeader(int newSegment)Clone only header of current index with new segmentIdKeyValueStorageDatabase. getIndex(String name)Get registered index by nameKeyValueStorage<K,V>TransactionalKVS. getPrimaryStorage()Get base indexMethods in com._1c.g5.v8.xmdb with parameters of type KeyValueStorage Modifier and Type Method Description voidDatabase. addIndex(KeyValueStorage kvs, String name)Register kvs index (builded on these database) in descriptions chainvoidKeyValueStorage. merge(KeyValueStorage<K,byte[]> s1, Map<K,byte[]> s2)Merge KVS and Map into current index (first can be this index)voidKeyValueStorage. merge(KeyValueStorage<K,V> s1, KeyValueStorage<K,V> s2)Merge two KVS into current index (first can be this index)voidTransactionalKVS. merge(KeyValueStorage<K,V> updates)Merge updates into base index If updates contain entry with empty (=null) value - key will be removed from base indexvoidTransactionalKVS. mergeCommit(KeyValueStorage<K,V> updates)Merge&commit updates - fastest, but less integrity safe method to bulk update indexstatic TransactionalKVS<?,byte[]>IndexBuilder. wrapTransactional(KeyValueStorage<?,byte[]> kvs, Database database, String name)Wrap existed index to add transactional features -
Uses of KeyValueStorage in com._1c.g5.v8.xmdb.impl
Classes in com._1c.g5.v8.xmdb.impl that implement KeyValueStorage Modifier and Type Class Description classBTreeMap<K,V>B*Tree (values store only in leaf nodes)classTransactionalKVSImpl<K,V>Methods in com._1c.g5.v8.xmdb.impl that return KeyValueStorage Modifier and Type Method Description KeyValueStorageIndexDescriptor. buildIndex(Database db, String name)KeyValueStorageBTreeMap. clone(int newSegment)Create clone of current index with new segmentIdKeyValueStorageTransactionalKVSImpl. clone(int newSegment)KeyValueStorageBTreeMap. cloneHeader(int newSegment)Clone only header of current index with new segmentIdKeyValueStorageTransactionalKVSImpl. cloneHeader(int newSegment)KeyValueStorageDatabaseImpl. getIndex(String name)KeyValueStorageDatabaseInMemory. getIndex(String name)KeyValueStorageIndexDescriptor. getKvs()KeyValueStorageTransactionalKVSImpl. getPrimaryStorage()Methods in com._1c.g5.v8.xmdb.impl with parameters of type KeyValueStorage Modifier and Type Method Description voidDatabaseImpl. addIndex(KeyValueStorage kvs, String name)Insert kvs into descriptorsvoidDatabaseInMemory. addIndex(KeyValueStorage kvs, String name)voidBTreeMap. merge(KeyValueStorage map)voidBTreeMap. merge(KeyValueStorage<K,byte[]> s1, Map<K,byte[]> s2)Merge KVS and Map into current index (first can be this index)voidBTreeMap. merge(KeyValueStorage s1, KeyValueStorage s2)Merge two KVS into current index (first can be this index)voidTransactionalKVSImpl. merge(KeyValueStorage updates)voidTransactionalKVSImpl. merge(KeyValueStorage<K,byte[]> s1, Map<K,byte[]> s2)voidTransactionalKVSImpl. merge(KeyValueStorage s1, KeyValueStorage s2)voidTransactionalKVSImpl. mergeCommit(KeyValueStorage updates)IndexDescriptorIndexDescriptor. setKvs(KeyValueStorage kvs)Constructors in com._1c.g5.v8.xmdb.impl with parameters of type KeyValueStorage Constructor Description TransactionalKVSImpl(KeyValueStorage primaryKVS, Database database, String name)
-