Uses of Interface
com._1c.g5.v8.xmdb.KeyValueStorage
Packages that use KeyValueStorage
-
Uses of KeyValueStorage in com._1c.g5.v8.xmdb
Subinterfaces of KeyValueStorage in com._1c.g5.v8.xmdbModifier and TypeInterfaceDescriptioninterface
TransactionalKVS<K,
V> Wrapper around standart KeyValueStorage with transactional features (merge, commit, rollback)Methods in com._1c.g5.v8.xmdb that return KeyValueStorageModifier and TypeMethodDescriptionKeyValueStorage<?,
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.clone
(int newSegment) Create clone of current index with new segmentIdKeyValueStorage.cloneHeader
(int newSegment) Clone only header of current index with new segmentIdGet registered index by nameTransactionalKVS.getPrimaryStorage()
Get base indexMethods in com._1c.g5.v8.xmdb with parameters of type KeyValueStorageModifier and TypeMethodDescriptionvoid
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 final 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 KeyValueStorageModifier and TypeClassDescriptionclass
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 KeyValueStorageModifier and TypeMethodDescriptionIndexDescriptor.buildIndex
(Database db, String name) BTreeMap.clone
(int newSegment) Create clone of current index with new segmentIdTransactionalKVSImpl.clone
(int newSegment) BTreeMap.cloneHeader
(int newSegment) Clone only header of current index with new segmentIdTransactionalKVSImpl.cloneHeader
(int newSegment) IndexDescriptor.getKvs()
TransactionalKVSImpl.getPrimaryStorage()
Methods in com._1c.g5.v8.xmdb.impl with parameters of type KeyValueStorageModifier and TypeMethodDescriptionvoid
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.setKvs
(KeyValueStorage kvs) Constructors in com._1c.g5.v8.xmdb.impl with parameters of type KeyValueStorageModifierConstructorDescriptionTransactionalKVSImpl
(KeyValueStorage primaryKVS, Database database, String name)