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 interface
TransactionalKVS<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.KeyValueStorage
KeyValueStorage. clone(int newSegment)
Create clone of current index with new segmentIdKeyValueStorage
KeyValueStorage. cloneHeader(int newSegment)
Clone only header of current index with new segmentIdKeyValueStorage
Database. 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 void
Database. addIndex(KeyValueStorage kvs, String name)
Register kvs index (builded on these database) in descriptions chainvoid
KeyValueStorage. merge(KeyValueStorage<K,byte[]> s1, Map<K,byte[]> s2)
Merge KVS and Map into current index (first can be this index)void
KeyValueStorage. merge(KeyValueStorage<K,V> s1, KeyValueStorage<K,V> s2)
Merge two KVS into current index (first can be this index)void
TransactionalKVS. merge(KeyValueStorage<K,V> updates)
Merge updates into base index If updates contain entry with empty (=null) value - key will be removed from base indexvoid
TransactionalKVS. 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 class
BTreeMap<K,V>
B*Tree (values store only in leaf nodes)class
TransactionalKVSImpl<K,V>
Methods in com._1c.g5.v8.xmdb.impl that return KeyValueStorage Modifier and Type Method Description KeyValueStorage
IndexDescriptor. buildIndex(Database db, String name)
KeyValueStorage
BTreeMap. clone(int newSegment)
Create clone of current index with new segmentIdKeyValueStorage
TransactionalKVSImpl. clone(int newSegment)
KeyValueStorage
BTreeMap. cloneHeader(int newSegment)
Clone only header of current index with new segmentIdKeyValueStorage
TransactionalKVSImpl. cloneHeader(int newSegment)
KeyValueStorage
DatabaseImpl. getIndex(String name)
KeyValueStorage
DatabaseInMemory. getIndex(String name)
KeyValueStorage
IndexDescriptor. getKvs()
KeyValueStorage
TransactionalKVSImpl. getPrimaryStorage()
Methods in com._1c.g5.v8.xmdb.impl with parameters of type KeyValueStorage Modifier and Type Method Description void
DatabaseImpl. addIndex(KeyValueStorage kvs, String name)
Insert kvs into descriptorsvoid
DatabaseInMemory. addIndex(KeyValueStorage kvs, String name)
void
BTreeMap. merge(KeyValueStorage map)
void
BTreeMap. merge(KeyValueStorage<K,byte[]> s1, Map<K,byte[]> s2)
Merge KVS and Map into current index (first can be this index)void
BTreeMap. merge(KeyValueStorage s1, KeyValueStorage s2)
Merge two KVS into current index (first can be this index)void
TransactionalKVSImpl. merge(KeyValueStorage updates)
void
TransactionalKVSImpl. merge(KeyValueStorage<K,byte[]> s1, Map<K,byte[]> s2)
void
TransactionalKVSImpl. merge(KeyValueStorage s1, KeyValueStorage s2)
void
TransactionalKVSImpl. mergeCommit(KeyValueStorage updates)
IndexDescriptor
IndexDescriptor. 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)
-