Package | Description |
---|---|
org.apache.cassandra.utils.btree |
Modifier and Type | Class and Description |
---|---|
static class |
UpdateFunction.Simple<V> |
Modifier and Type | Method and Description |
---|---|
static <K> UpdateFunction<K,K> |
UpdateFunction.noOp() |
Modifier and Type | Method and Description |
---|---|
static <C,I extends C,O extends C> |
BTree.build(BulkIterator<I> source,
int size,
UpdateFunction<I,O> updateF) |
static <C,K extends C,V extends C> |
BTree.build(java.util.Collection<K> source,
UpdateFunction<K,V> updateF)
Deprecated.
|
static <Compare,Existing extends Compare,Insert extends Compare> |
BTree.update(java.lang.Object[] update,
java.lang.Object[] insert,
java.util.Comparator<? super Compare> comparator,
UpdateFunction<Insert,Existing> updateF)
Inserts
insert into update , applying updateF to each new item in insert ,
as well as any matched items in update . |
static <Compare,Existing extends Compare,Insert extends Compare> |
BTree.updateLeaves(java.lang.Object[] unode,
java.lang.Object[] inode,
java.util.Comparator<? super Compare> comparator,
UpdateFunction<Insert,Existing> updateF)
A fast tight-loop variant of updating one btree with another, when both are leaves.
|
Copyright © 2009-2022 The Apache Software Foundation