public static class IndexSegment.ImmutableNodeFactory.ImmutableNode extends Node
UnsupportedOperationExceptionfor the public mutator API but does not try to override all low-level mutation behaviors.
btree, DEBUG, log, parent, referenceCount, self
|Modifier||Constructor and Description|
|Modifier and Type||Method and Description|
Deletes the persistence capable object.
Insert or update a value.
Recursive search locates the appropriate leaf and removes the entry for the key.
childIterator, childIterator, data, dump, findChild, getChild, getChildAddr, getChildCount, getChildEntryCount, getChildRef, getDelegate, getIndexOf, getKeyCount, getKeys, getLeftSibling, getMaximumVersionTimestamp, getMinimumVersionTimestamp, getRightMostChild, getRightSibling, getSpannedTupleCount, hasVersionTimestamps, indexOf, insertChild, isCoded, isLeaf, isReadOnly, keyAt, lookup, maxKeys, merge, minKeys, postOrderIterator, postOrderNodeIterator, prefetchChildLeaves, prefetchRightSibling, rangeCheckChildIndex, rangeCheckSpannedTupleIndex, redistributeKeys, removeChild, split, toString, updateEntryCount, updateMinMaxVersionTimestamp, valueAt
assertInvariants, assertKeysMonotonic, copyKey, copyOnWrite, copyOnWrite, dump, dump, entryIterator, getBranchingFactor, getParent, isLeftMostNode, isRightMostNode, join, keyAsString, postOrderNodeIterator, postOrderNodeIterator, rangeIterator
getIdentity, indent, isDeleted, isDirty, isPersistent, setDirty, setIdentity, toShortString
public void delete()
public Tuple insert(byte key, byte val, boolean deleted, boolean putIfAbsent, long timestamp, Tuple tuple)
key- The key (non-null).
val- The value (may be null).
trueiff the entry is to marked as deleted (delete markers must be supported for if this is true).
true, a pre-existing entry for the key will NOT be replaced (unless it is a deleted tuple, which is the same as if there was no entry under the key). This should ONLY be true when the top-level method is
putIfAbsent. Historical code paths should specify false for an unconditional mutation. See BLZG-1539.
timestamp- The timestamp associated with the version (the value is ignored unless version metadata is being maintained).
tuple- A tuple that may be used to obtain the data and metadata for the pre-existing index entry overwritten by the insert operation (optional).
Note: It is an error to call this method if delete markers are in use.
key- The search key.
tuple- A tuple that may be used to obtain the data and metadata for the pre-existing index entry that was either removed by the remove operation (optional).
Copyright © 2006–2016 SYSTAP, LLC DBA Blazegraph. All rights reserved.