Modifier and Type | Method and Description |
---|---|
Key |
QueryField.getSearchKey() |
Modifier and Type | Method and Description |
---|---|
V |
KeyOrderedTree.getBefore(Key key) |
Modifier and Type | Method and Description |
---|---|
void |
Index.insertIntoIndex(Key key)
Inserts the given key into the index, the key is to expected to conform to the index key specification as determined
in the keyinfo.
|
void |
Index.removeFromIndex(Key key)
Remove the given key and its values from the index.
|
void |
Index.updateKey(Key oldKey,
Key newKey)
Update the key payload inside the index, the key is to expected to conform to the index key specification as determined
in the keyinfo.
|
Modifier and Type | Method and Description |
---|---|
Key |
TreeBlock.getFirst() |
Key |
LeaveBlockImpl.getFirst() |
Key |
IndexBlock.getFirst() |
Key |
TreeNode.getKey() |
Key |
RootBlock.getKey(Key key) |
Key |
LeaveBlockImpl.getKey(Key key) |
Key |
LeaveBlock.getKey(Key key) |
Key |
TreeBlock.getLast() |
Key |
LeaveBlockImpl.getLast() |
Key |
IndexBlock.getLast() |
protected Key |
TreeBlock.getMax() |
protected Key |
TreeBlock.getMin() |
Key |
FullIndexIterator.next() |
Modifier and Type | Method and Description |
---|---|
List<Key> |
RootBlock.getKeyRange(Key start,
boolean includeStart,
Key end,
boolean includeEnd) |
List<Key> |
LeaveBlockImpl.getKeyRange(Key start,
boolean includeStart,
Key end,
boolean includeEnd) |
List<Key> |
LeaveBlock.getKeyRange(Key start,
boolean includeStart,
Key end,
boolean includeEnd) |
OrderedBalancedTree<Key,TreeNode> |
TreeBlock.getNodes() |
List<Key> |
RootBlock.getValues() |
List<Key> |
LeaveBlockImpl.getValues() |
List<Key> |
LeaveBlock.getValues() |
Iterator<Key> |
FullIndexIterator.iterator() |
Modifier and Type | Method and Description |
---|---|
void |
LeaveBlockImpl.addKey(Key key) |
protected void |
TreeBlock.addNodes(List<TreeNode> nodes,
Key exclude,
long parentBlock) |
boolean |
RootBlock.contains(Key key) |
boolean |
LeaveBlockImpl.contains(Key key) |
boolean |
LeaveBlock.contains(Key key) |
LeaveBlock |
TreeBlock.findLeaveBlock(LockIntentType intent,
Key key) |
LeaveBlock |
RootBlock.findLeaveBlock(LockIntentType intent,
Key key) |
LeaveBlockImpl |
LeaveBlockImpl.findLeaveBlock(LockIntentType intent,
Key key) |
LeaveBlock |
IndexBlock.findLeaveBlock(LockIntentType intent,
Key key) |
Key |
RootBlock.getKey(Key key) |
Key |
LeaveBlockImpl.getKey(Key key) |
Key |
LeaveBlock.getKey(Key key) |
List<Key> |
RootBlock.getKeyRange(Key start,
boolean includeStart,
Key end,
boolean includeEnd) |
List<Key> |
LeaveBlockImpl.getKeyRange(Key start,
boolean includeStart,
Key end,
boolean includeEnd) |
List<Key> |
LeaveBlock.getKeyRange(Key start,
boolean includeStart,
Key end,
boolean includeEnd) |
protected void |
TreeBlock.insertBlock(Key key,
IndexBlock leftChildBlock,
IndexBlock rightChildBlock) |
void |
BTreeIndex.insertIntoIndex(Key key) |
void |
RootBlock.insertKey(Key key) |
void |
LeaveBlockImpl.insertKey(Key key) |
void |
LeaveBlock.insertKey(Key key) |
protected void |
TreeBlock.removeBlockPointer(Key minBlockValue,
IndexBlock removedBlock) |
protected void |
RootBlock.removeBlockPointer(Key minBlockValue,
IndexBlock removedBlock) |
void |
BTreeIndex.removeFromIndex(Key key) |
void |
RootBlock.removeKey(Key key) |
void |
LeaveBlockImpl.removeKey(Key key) |
void |
LeaveBlock.removeKey(Key key) |
protected void |
LeaveBlockImpl.removeKeyInternal(Key key) |
protected void |
TreeBlock.updateBlockPointer(Key replaceKey,
long leftBlock,
long rightBlock) |
void |
RootBlock.updateKey(Key key) |
void |
LeaveBlockImpl.updateKey(Key key) |
void |
LeaveBlock.updateKey(Key key) |
void |
BTreeIndex.updateKey(Key oldKey,
Key newKey) |
Constructor and Description |
---|
TreeNode(Key key,
long left,
long right) |
Modifier and Type | Method and Description |
---|---|
protected DataBlock |
RootBlockFactory.writeKey(TreeBlock treeBlock,
Key key,
DataBlock dataBlock) |
protected DataBlock |
NodeBlockFactory.writeKey(TreeBlock treeBlock,
Key key,
DataBlock dataBlock) |
Modifier and Type | Interface and Description |
---|---|
interface |
ComparableKey<T extends Key> |
Modifier and Type | Class and Description |
---|---|
class |
AbstractKey |
Modifier and Type | Method and Description |
---|---|
Key |
Key.addKey(KeyNameMapper keyMapper,
String name,
Key key)
This adds a child Key to the key, in case the mapper cannot map will not add to child keys
and just ignore the added key
|
Key |
AbstractKey.addKey(KeyNameMapper keyMapper,
String name,
Key key) |
Key |
Key.cloneKey()
Clone the current key without influencing this instance
|
Key |
Key.cloneKey(boolean includeChildren)
Clone the current key without influencing this instance, whilst leaving the values
|
Key |
Key.getKey(int index)
This retrieves a key at a given index
|
Key |
AbstractKey.getKey(int index) |
Key |
Key.getKey(KeyNameMapper keyMapper,
String name)
This retrieves a specific payload value KeyValue object which contains the Key of the value
|
Key |
AbstractKey.getKey(KeyNameMapper keyMapper,
String name) |
Key[] |
Key.getKeys()
Returns an array of the child keys
|
Key[] |
AbstractKey.getKeys() |
Key |
Key.setKeys(Key[] keys)
Sets directly the children key values
|
Key |
AbstractKey.setKeys(Key[] keys) |
Key |
Key.setKeys(KeyNameMapper keyMapper,
Map<String,Key> keys)
This sets all the key payload values
|
Key |
AbstractKey.setKeys(KeyNameMapper keyMapper,
Map<String,Key> keyFields) |
Modifier and Type | Method and Description |
---|---|
Map<String,Key> |
Key.getKeysByName(KeyNameMapper keyMapper)
This retrieves a map of all the child keys stored in this key
|
Map<String,Key> |
AbstractKey.getKeysByName(KeyNameMapper keyMapper) |
Modifier and Type | Method and Description |
---|---|
Key |
Key.addKey(KeyNameMapper keyMapper,
String name,
Key key)
This adds a child Key to the key, in case the mapper cannot map will not add to child keys
and just ignore the added key
|
Key |
AbstractKey.addKey(KeyNameMapper keyMapper,
String name,
Key key) |
int |
AbstractKey.compareTo(Key o) |
static UUIDKey |
KeyUtil.getDocumentKey(KeyNameMapper keyNameMapper,
Key key) |
Key |
Key.setKeys(Key[] keys)
Sets directly the children key values
|
Key |
AbstractKey.setKeys(Key[] keys) |
Modifier and Type | Method and Description |
---|---|
Key |
Key.setKeys(KeyNameMapper keyMapper,
Map<String,Key> keys)
This sets all the key payload values
|
Key |
AbstractKey.setKeys(KeyNameMapper keyMapper,
Map<String,Key> keyFields) |
Modifier and Type | Method and Description |
---|---|
Key |
WrappedValueKeyFactory.convertKey(Key key) |
Key |
UUIDKeyFactory.convertKey(Key key) |
Key |
StringKeyFactory.convertKey(Key key) |
Key |
LongKeyFactory.convertKey(Key key) |
Key |
KeyFactory.convertKey(Key key) |
Key |
DataKeyFactory.convertKey(Key key) |
Key |
CompositeKeyFactory.convertKey(Key key) |
protected Key |
UUIDKeyFactory.convertToKey(Object value) |
protected Key |
StringKeyFactory.convertToKey(Object value) |
protected Key |
LongKeyFactory.convertToKey(Object value) |
protected Key |
DataKeyFactory.convertToKey(Object value) |
protected abstract Key |
AbstractKeyFactory.convertToKey(Object value) |
Key |
WrappedValueKeyFactory.createEmptyKey() |
Key |
UUIDKeyFactory.createEmptyKey() |
Key |
StringKeyFactory.createEmptyKey() |
Key |
LongKeyFactory.createEmptyKey() |
Key |
KeyFactory.createEmptyKey() |
Key |
DataKeyFactory.createEmptyKey() |
Key |
CompositeKeyFactory.createEmptyKey() |
Key |
WrappedValueKeyFactory.createKey(IndexableItem indexableItem) |
Key |
UUIDKeyFactory.createKey(IndexableItem indexableItem) |
Key |
StringKeyFactory.createKey(IndexableItem indexableItem) |
Key |
LongKeyFactory.createKey(IndexableItem indexableItem) |
Key |
KeyFactory.createKey(IndexableItem indexableItem) |
Key |
DataKeyFactory.createKey(IndexableItem indexableItem) |
Key |
CompositeKeyFactory.createKey(IndexableItem indexableItem) |
Key |
WrappedValueKeyFactory.loadKey(int curPosition,
ByteBuffer byteBuffer) |
Key |
UUIDKeyFactory.loadKey(int curPosition,
ByteBuffer byteBuffer) |
Key |
StringKeyFactory.loadKey(int curPosition,
ByteBuffer byteBuffer) |
Key |
LongKeyFactory.loadKey(int curPosition,
ByteBuffer byteBuffer) |
Key |
KeyFactory.loadKey(int curPosition,
ByteBuffer byteBuffer) |
Key |
DataKeyFactory.loadKey(int curPosition,
ByteBuffer byteBuffer) |
Key |
CompositeKeyFactory.loadKey(int curPosition,
ByteBuffer byteBuffer) |
Modifier and Type | Method and Description |
---|---|
Set<Key> |
WrappedValueKeyFactory.createMultivalueKeys(IndexableItem indexableItem) |
Set<Key> |
KeyFactory.createMultivalueKeys(IndexableItem indexableItem) |
Set<Key> |
CompositeKeyFactory.createMultivalueKeys(IndexableItem indexableItem) |
Set<Key> |
AbstractKeyFactory.createMultivalueKeys(IndexableItem indexableItem) |
Modifier and Type | Method and Description |
---|---|
Key |
WrappedValueKeyFactory.convertKey(Key key) |
Key |
UUIDKeyFactory.convertKey(Key key) |
Key |
StringKeyFactory.convertKey(Key key) |
Key |
LongKeyFactory.convertKey(Key key) |
Key |
KeyFactory.convertKey(Key key) |
Key |
DataKeyFactory.convertKey(Key key) |
Key |
CompositeKeyFactory.convertKey(Key key) |
boolean |
WrappedValueKeyFactory.supportsKey(Key key) |
boolean |
UUIDKeyFactory.supportsKey(Key key) |
boolean |
StringKeyFactory.supportsKey(Key key) |
boolean |
LongKeyFactory.supportsKey(Key key) |
boolean |
KeyFactory.supportsKey(Key key) |
boolean |
DataKeyFactory.supportsKey(Key key) |
boolean |
CompositeKeyFactory.supportsKey(Key key) |
DataBlock |
WrappedValueKeyFactory.writeKey(Key key,
DataBlock dataBlock) |
DataBlock |
UUIDKeyFactory.writeKey(Key key,
DataBlock dataBlock) |
DataBlock |
StringKeyFactory.writeKey(Key key,
DataBlock dataBlock) |
DataBlock |
LongKeyFactory.writeKey(Key key,
DataBlock dataBlock) |
DataBlock |
KeyFactory.writeKey(Key key,
DataBlock dataBlock) |
DataBlock |
DataKeyFactory.writeKey(Key key,
DataBlock dataBlock) |
DataBlock |
CompositeKeyFactory.writeKey(Key key,
DataBlock dataBlock) |
void |
WrappedValueKeyFactory.writeKey(Key key,
int curPosition,
ByteBuffer byteBuffer) |
void |
UUIDKeyFactory.writeKey(Key key,
int curPosition,
ByteBuffer byteBuffer) |
void |
StringKeyFactory.writeKey(Key key,
int curPosition,
ByteBuffer byteBuffer) |
void |
LongKeyFactory.writeKey(Key key,
int curPosition,
ByteBuffer byteBuffer) |
void |
KeyFactory.writeKey(Key key,
int curPosition,
ByteBuffer byteBuffer) |
void |
DataKeyFactory.writeKey(Key key,
int curPosition,
ByteBuffer byteBuffer) |
void |
CompositeKeyFactory.writeKey(Key key,
int curPosition,
ByteBuffer byteBuffer) |
Modifier and Type | Class and Description |
---|---|
class |
AnyKey |
class |
CompositeKey |
class |
DataKey |
class |
LongKey |
class |
StringKey |
class |
UUIDKey
This represents the UUID key class mainly used for object references, this
relies on the UUID implementation of Java (java.util.UUID) but does tries
to prevent usage of the object itself for memory reasons.
|
Modifier and Type | Method and Description |
---|---|
Key |
CompositeKey.addKey(KeyNameMapper keyMapper,
String name,
Key key) |
Key |
UUIDKey.cloneKey() |
Key |
StringKey.cloneKey() |
Key |
LongKey.cloneKey() |
Key |
DataKey.cloneKey() |
Key |
CompositeKey.cloneKey() |
Key |
AnyKey.cloneKey() |
Key |
UUIDKey.cloneKey(boolean includeValues) |
Key |
StringKey.cloneKey(boolean includeValues) |
Key |
LongKey.cloneKey(boolean includeValues) |
Key |
DataKey.cloneKey(boolean includeChildren) |
Key |
CompositeKey.cloneKey(boolean includeChildren) |
Key |
AnyKey.cloneKey(boolean includeChildren) |
Key |
CompositeKey.setKeys(KeyNameMapper keyMapper,
Map<String,Key> keyFields) |
Modifier and Type | Method and Description |
---|---|
Key |
CompositeKey.addKey(KeyNameMapper keyMapper,
String name,
Key key) |
CompareResult |
UUIDKey.compare(Key o,
CompareMethod method) |
CompareResult |
StringKey.compare(Key o,
CompareMethod method) |
CompareResult |
LongKey.compare(Key o,
CompareMethod method) |
CompareResult |
DataKey.compare(Key otherKey,
CompareMethod method) |
CompareResult |
CompositeKey.compare(Key otherKey,
CompareMethod method) |
CompareResult |
AnyKey.compare(Key otherKey,
CompareMethod method) |
int |
DataKey.compareTo(Key o) |
Modifier and Type | Method and Description |
---|---|
Key |
CompositeKey.setKeys(KeyNameMapper keyMapper,
Map<String,Key> keyFields) |
Modifier and Type | Method and Description |
---|---|
Key |
KeyLoadResult.getLoadedKey() |
Key |
KeyInfoImpl.loadKey(int curPosition,
ByteBuffer byteBuffer) |
Key |
KeyInfo.loadKey(int curPosition,
ByteBuffer byteBuffer) |
Modifier and Type | Method and Description |
---|---|
void |
MultiKeyLoaderImpl.enrichKey(IndexableItem indexableItem,
Key key) |
void |
MultiKeyloader.enrichKey(IndexableItem indexableItem,
Key key) |
boolean |
KeyNameMapperImpl.isFullyMapped(Key mappedKey) |
boolean |
KeyNameMapper.isFullyMapped(Key key) |
void |
MultiKeyLoaderImpl.loadKeys(Key targetKey,
int offset,
ByteBuffer keyBuffer) |
void |
MultiKeyloader.loadKeys(Key targetKey,
int offset,
ByteBuffer keyBuffer) |
KeyLoadResult |
MultiKeyLoaderImpl.loadKeys(Key targetKey,
int offset,
DataBlock dataBlock) |
KeyLoadResult |
MultiKeyloader.loadKeys(Key targetKey,
int offset,
DataBlock dataBlock) |
DataBlock |
KeyInfoImpl.writeKey(Key key,
DataBlock dataBlock) |
DataBlock |
KeyInfo.writeKey(Key key,
DataBlock dataBlock) |
void |
KeyInfoImpl.writeKey(Key key,
int curPosition,
ByteBuffer byteBuffer) |
void |
KeyInfo.writeKey(Key key,
int curPosition,
ByteBuffer byteBuffer) |
DataBlock |
MultiKeyLoaderImpl.writeKeys(Key sourceKey,
DataBlock dataBlock) |
DataBlock |
MultiKeyloader.writeKeys(Key sourceKey,
DataBlock dataBlock) |
void |
MultiKeyLoaderImpl.writeKeys(Key sourceKey,
int offset,
ByteBuffer keyBuffer) |
void |
MultiKeyloader.writeKeys(Key sourceKey,
int offset,
ByteBuffer keyBuffer) |
Constructor and Description |
---|
KeyLoadResult(Key loadedKey,
DataBlock endBlock,
int nextOffset) |
Modifier and Type | Method and Description |
---|---|
Key |
IndexSearchResultIteratorImpl.next() |
Modifier and Type | Method and Description |
---|---|
List<Key> |
IndexSearchResultIteratorImpl.getKeys() |
List<Key> |
IndexSearchResultIteratorCollection.getKeys()
Gets a list of keys contained in the iterator
|
Iterator<Key> |
IndexSearchResultIteratorImpl.iterator() |
List<Key> |
IndexSearchResultIteratorImpl.subset(int start,
int limit) |
List<Key> |
IndexSearchResultIteratorCollection.subset(int start,
int limit)
Gets a subset of the collection of keys in the iterator
|
Constructor and Description |
---|
IndexSearchResultIteratorImpl(List<Key> keys,
KeyNameMapper keyNameMapper) |
Modifier and Type | Method and Description |
---|---|
Key |
RangeCondition.getEnd() |
Key |
EqualsCondition.getKey() |
Key |
RangeCondition.getStart() |
Modifier and Type | Method and Description |
---|---|
boolean |
SearchCondition.keyQualifies(Key key) |
boolean |
RangeCondition.keyQualifies(Key key) |
boolean |
NotEqualsCondition.keyQualifies(Key key) |
boolean |
EqualsCondition.keyQualifies(Key key) |
void |
RangeCondition.setEnd(Key end) |
void |
RangeCondition.setStart(Key start) |
Constructor and Description |
---|
EqualsCondition(Key key) |
NotEqualsCondition(Key key) |
RangeCondition(Key start,
boolean inclusiveStart,
Key end,
boolean inclusiveEnd) |
RangeCondition(Key start,
Key end) |
Modifier and Type | Method and Description |
---|---|
static Key |
BagOperationUtil.entityToKey(SimpleEntity entity) |
static Key |
BagOperationUtil.recordToKey(RecordResult recordResult) |
Modifier and Type | Method and Description |
---|---|
static Set<Key> |
BagOperationUtil.createEntityKeys(SimpleEntity entity,
Index index) |
Modifier and Type | Method and Description |
---|---|
static void |
BagOperationUtil.doIndexInsert(Set<Key> keys,
Index index) |
Modifier and Type | Method and Description |
---|---|
protected static Key |
PropertyKeyMapper.mapToKey(Property property) |
Modifier and Type | Method and Description |
---|---|
protected static Set<Key> |
PropertyKeyMapper.mapToKeys(Property property) |
Modifier and Type | Method and Description |
---|---|
boolean |
AbstractBlock.keyQualifies(Key key) |
Copyright © 2015. All rights reserved.