public abstract class PatriciaTreeBase extends java.lang.Object implements ITree
| Modifier and Type | Field and Description |
|---|---|
static byte |
HAS_CHILDREN_BIT |
static byte |
HAS_KEY_BIT |
static byte |
HAS_VALUE_BIT |
protected @NotNull jetbrains.exodus.log.Log |
log |
static byte |
MAX_VALID_LOGGABLE_TYPE
Loggable types describing patricia tree nodes.
|
static byte |
NODE_WO_KEY_WO_VALUE_WO_CHILDREN |
static byte |
ROOT_BIT |
static byte |
ROOT_BIT_WITH_BACKREF |
protected long |
size |
protected int |
structureId |
| Modifier | Constructor and Description |
|---|---|
protected |
PatriciaTreeBase(@NotNull jetbrains.exodus.log.Log log,
int structureId) |
| Modifier and Type | Method and Description |
|---|---|
LongIterator |
addressIterator() |
void |
dump(java.io.PrintStream out) |
void |
dump(java.io.PrintStream out,
Dumpable.ToString renderer) |
@Nullable jetbrains.exodus.ByteIterable |
get(@NotNull jetbrains.exodus.ByteIterable key) |
@NotNull DataIterator |
getDataIterator(long address) |
@NotNull jetbrains.exodus.log.Log |
getLog() |
protected @Nullable jetbrains.exodus.tree.patricia.NodeBase |
getNode(@NotNull jetbrains.exodus.ByteIterable key) |
long |
getSize() |
int |
getStructureId() |
boolean |
hasKey(@NotNull jetbrains.exodus.ByteIterable key) |
boolean |
hasPair(@NotNull jetbrains.exodus.ByteIterable key,
@NotNull jetbrains.exodus.ByteIterable value) |
boolean |
isEmpty() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetMutableCopy, getRootAddress, openCursorpublic static final byte MAX_VALID_LOGGABLE_TYPE
public static final byte NODE_WO_KEY_WO_VALUE_WO_CHILDREN
public static final byte HAS_KEY_BIT
public static final byte HAS_VALUE_BIT
public static final byte HAS_CHILDREN_BIT
public static final byte ROOT_BIT
public static final byte ROOT_BIT_WITH_BACKREF
@NotNull protected final @NotNull jetbrains.exodus.log.Log log
protected final int structureId
protected long size
protected PatriciaTreeBase(@NotNull
@NotNull jetbrains.exodus.log.Log log,
int structureId)
@NotNull public @NotNull jetbrains.exodus.log.Log getLog()
@NotNull public @NotNull DataIterator getDataIterator(long address)
getDataIterator in interface ITreepublic int getStructureId()
getStructureId in interface ITree@Nullable
public @Nullable jetbrains.exodus.ByteIterable get(@NotNull
@NotNull jetbrains.exodus.ByteIterable key)
public boolean hasPair(@NotNull
@NotNull jetbrains.exodus.ByteIterable key,
@NotNull
@NotNull jetbrains.exodus.ByteIterable value)
public boolean hasKey(@NotNull
@NotNull jetbrains.exodus.ByteIterable key)
public void dump(java.io.PrintStream out,
Dumpable.ToString renderer)
public LongIterator addressIterator()
addressIterator in interface ITree@Nullable
protected @Nullable jetbrains.exodus.tree.patricia.NodeBase getNode(@NotNull
@NotNull jetbrains.exodus.ByteIterable key)