A B C D E G H I K L M N O P R S T V W
All Classes All Packages
All Classes All Packages
All Classes All Packages
A
- add(int, V) - Method in class com.github.basking2.sdsai.dsds.PagedList
- add(V) - Method in class com.github.basking2.sdsai.dsds.PagedList
- addAll(int, Collection<? extends V>) - Method in class com.github.basking2.sdsai.dsds.PagedList
- addAll(Collection<? extends V>) - Method in class com.github.basking2.sdsai.dsds.PagedList
- afterMax() - Method in class com.github.basking2.sdsai.dsds.node.NodeLocation
-
This creates a NodeLocation that is positioned in an imaginary node that exists after the last node in the tree.
B
- beforeMin() - Method in class com.github.basking2.sdsai.dsds.node.NodeLocation
-
This creates a NodeLocation that is positioned in an imaginary node that exists before the first node in the tree.
- bTree(USERKEY, NodeStore<USERKEY, STOREKEY, VALUE>) - Static method in class com.github.basking2.sdsai.dsds.node.tx.DataStructureFactory
- bTree(USERKEY, NodeStore<USERKEY, STOREKEY, VALUE>, int) - Static method in class com.github.basking2.sdsai.dsds.node.tx.DataStructureFactory
- BTree<K,STOREKEY,V> - Class in com.github.basking2.sdsai.dsds
- BTree(K, NodeStore<K, STOREKEY, V>) - Constructor for class com.github.basking2.sdsai.dsds.BTree
- BTree(K, NodeStore<K, STOREKEY, V>, int) - Constructor for class com.github.basking2.sdsai.dsds.BTree
-
Attempt to retrieve the root node stored at the
rootKeyor, if none is found, construct a new empty root node withminData*2as the size of themaxDatavalue to theNode's constructors. - BTreeLocation<USERKEY,STOREKEY> - Class in com.github.basking2.sdsai.dsds
-
A recursive reprentation of a point in an in-order traversal of a B-Tree.
- BTreeLocation(BTreeLocation<USERKEY, STOREKEY>) - Constructor for class com.github.basking2.sdsai.dsds.BTreeLocation
-
Copy constructor.
- BTreeLocation(BTreeLocation<USERKEY, STOREKEY>, Node<USERKEY, STOREKEY>, int) - Constructor for class com.github.basking2.sdsai.dsds.BTreeLocation
- BTreeLocation(NodeStore<USERKEY, STOREKEY, ?>, Node<USERKEY, STOREKEY>, int) - Constructor for class com.github.basking2.sdsai.dsds.BTreeLocation
- BTreeMap<K,V> - Interface in com.github.basking2.sdsai.dsds
- BTreeSelection<USERKEY,STOREKEY> - Class in com.github.basking2.sdsai.dsds
-
Construct a BTreeSelection from a lower key to an upper key
(lower,upper]. - BTreeSelection(BTree<USERKEY, STOREKEY, ?>, USERKEY, USERKEY) - Constructor for class com.github.basking2.sdsai.dsds.BTreeSelection
-
Build a new selection from
begintoendexclusive. - BTreeSelection(BTreeLocation<USERKEY, STOREKEY>, BTreeLocation<USERKEY, STOREKEY>) - Constructor for class com.github.basking2.sdsai.dsds.BTreeSelection
-
Build a new selection from
begintoendexclusive. - buildStringKeyStore(Function<byte[], InputStream>, Function<byte[], OutputStream>, Consumer<byte[]>) - Static method in class com.github.basking2.sdsai.dsds.io.IONodeStoreFactory
- buildTx(TransactionalNodeStore<USERKEY, STOREKEY, VALUE>) - Method in interface com.github.basking2.sdsai.dsds.node.tx.TransactionalNodeStore.SubTx
-
The callback routine that builds up a subtransaction.
C
- CachedReadOperation<KEY,VALUE> - Class in com.github.basking2.sdsai.dsds.node.tx
-
This operation holds a result.
- CachedReadOperation(KEY, VALUE) - Constructor for class com.github.basking2.sdsai.dsds.node.tx.CachedReadOperation
- call(Node<USERKEY, STOREKEY>) - Method in interface com.github.basking2.sdsai.dsds.node.NodeFunction
- clear() - Method in class com.github.basking2.sdsai.dsds.BTree
-
Clears the datastructure by doing a depth-first node traversal to delete all the user data and the node data from the
NodeStore. - clear() - Method in class com.github.basking2.sdsai.dsds.PagedList
- com.github.basking2.sdsai.dsds - package com.github.basking2.sdsai.dsds
-
The DSDS package is the Document Store Data Structure package.
- com.github.basking2.sdsai.dsds.fs - package com.github.basking2.sdsai.dsds.fs
-
Filesystem based directory storage.
- com.github.basking2.sdsai.dsds.io - package com.github.basking2.sdsai.dsds.io
- com.github.basking2.sdsai.dsds.node - package com.github.basking2.sdsai.dsds.node
-
This package is the base of the Document Store Datastructures implemnted in the package
org.sdsai.dsds. - com.github.basking2.sdsai.dsds.node.tx - package com.github.basking2.sdsai.dsds.node.tx
- commit() - Method in class com.github.basking2.sdsai.dsds.node.tx.TransactionalNodeStore
-
Execute all operations in this transaction.
- compareTo(BTreeLocation<USERKEY, STOREKEY>) - Method in class com.github.basking2.sdsai.dsds.BTreeLocation
- contains(Object) - Method in class com.github.basking2.sdsai.dsds.PagedList
- containsAll(Collection<?>) - Method in class com.github.basking2.sdsai.dsds.PagedList
- containsKey(Object) - Method in class com.github.basking2.sdsai.dsds.BTree
-
Check the
NodeStorefor the given key. - containsValue(Object) - Method in class com.github.basking2.sdsai.dsds.BTree
- convert(K) - Method in class com.github.basking2.sdsai.dsds.fs.DirectoryNodeStore
-
Convert user keys to store keys.
- convert(USERKEY) - Method in class com.github.basking2.sdsai.dsds.io.IONodeStore
-
By default this returns the key parameter.
- convert(USERKEY) - Method in interface com.github.basking2.sdsai.dsds.node.NodeStore
-
Convert user keys to store keys.
- convert(USERKEY) - Method in class com.github.basking2.sdsai.dsds.node.tx.TransactionalNodeStore
-
Convert user keys to store keys.
D
- DataStructureFactory - Class in com.github.basking2.sdsai.dsds.node.tx
-
Build transactional datastructures using
Proxy. - delete() - Method in class com.github.basking2.sdsai.dsds.node.tx.Operation
-
Delete this operation.
- delete(byte[]) - Method in interface com.github.basking2.sdsai.dsds.io.IONodeStore.NodeAccessor
- descend() - Method in class com.github.basking2.sdsai.dsds.BTreeLocation
- descend() - Method in class com.github.basking2.sdsai.dsds.node.NodeLocation
- descend(int) - Method in class com.github.basking2.sdsai.dsds.BTreeLocation
-
Push the current state and step into the given child.
- descend(int) - Method in class com.github.basking2.sdsai.dsds.node.NodeLocation
- destroy() - Method in class com.github.basking2.sdsai.dsds.BTree
-
Whereas clearing will destroy all but the root node, this method calls
BTree.clear()and deletes the root node key. - destroy() - Method in class com.github.basking2.sdsai.dsds.PagedList
-
Clear this list with
PagedList.clear()and then delete the empty head node. - DirectoryNodeStore<K extends java.io.Serializable,D extends java.io.Serializable> - Class in com.github.basking2.sdsai.dsds.fs
-
A trivial storage class that puts all nodes into a single directory with filenames represented by the hex-encoding of their key names.
- DirectoryNodeStore(File) - Constructor for class com.github.basking2.sdsai.dsds.fs.DirectoryNodeStore
- DirectoryNodeStore(String) - Constructor for class com.github.basking2.sdsai.dsds.fs.DirectoryNodeStore
- doExecute() - Method in class com.github.basking2.sdsai.dsds.node.tx.CachedReadOperation
- doExecute() - Method in class com.github.basking2.sdsai.dsds.node.tx.Operation
-
Implementing classes should implement this method.
E
- eachDepthFirst(NodeFunction<K, STOREKEY>) - Method in class com.github.basking2.sdsai.dsds.BTree
-
Recrusively depth-first execute
NodeFunction.call(Node)on each. - eachPage(NodeFunction<STOREKEY, STOREKEY>) - Method in class com.github.basking2.sdsai.dsds.PagedList
- eachPage(NodeFunction<STOREKEY, STOREKEY>, STOREKEY) - Method in class com.github.basking2.sdsai.dsds.PagedList
- entrySet() - Method in class com.github.basking2.sdsai.dsds.BTree
- equals(Object) - Method in class com.github.basking2.sdsai.dsds.BTree
- equals(Object) - Method in class com.github.basking2.sdsai.dsds.PagedList
- execute() - Method in class com.github.basking2.sdsai.dsds.node.tx.Operation
-
Execute this operation if
Operation.delete()has not been called on it.
G
- generateKey(Node<K, File>, D) - Method in class com.github.basking2.sdsai.dsds.fs.DirectoryNodeStore
-
Generate a key to store a node or data element.
- generateKey(Node<USERKEY, byte[]>, InputStream) - Method in class com.github.basking2.sdsai.dsds.io.IONodeStore
- generateKey(Node<USERKEY, STOREKEY>, VALUE) - Method in interface com.github.basking2.sdsai.dsds.node.NodeStore
-
Generate a key to store a node or data element.
- generateKey(Node<USERKEY, STOREKEY>, VALUE) - Method in class com.github.basking2.sdsai.dsds.node.tx.TransactionalNodeStore
-
Generate a key to store a node or data element.
- get(int) - Method in class com.github.basking2.sdsai.dsds.PagedList
- get(Object) - Method in class com.github.basking2.sdsai.dsds.BTree
-
Retrieve the object from the
NodeStore. - getAncestors() - Method in class com.github.basking2.sdsai.dsds.node.Node
- getAncestorsCap() - Method in class com.github.basking2.sdsai.dsds.node.Node
- getChildCap() - Method in class com.github.basking2.sdsai.dsds.node.Node
- getChildren() - Method in class com.github.basking2.sdsai.dsds.node.Node
- getData() - Method in class com.github.basking2.sdsai.dsds.node.Node
- getData() - Method in class com.github.basking2.sdsai.dsds.PagedListLocation
-
Return the data element stored in the node at
PagedListLocation.getIndex(). - getDataCap() - Method in class com.github.basking2.sdsai.dsds.node.Node
- getEnd() - Method in class com.github.basking2.sdsai.dsds.BTree
- getEndNode() - Method in class com.github.basking2.sdsai.dsds.BTree
- getIndex() - Method in class com.github.basking2.sdsai.dsds.PagedListLocation
- getIterator() - Method in class com.github.basking2.sdsai.dsds.BTree
-
Return a
BTreeLocationwrapped in an iterator. - getKey() - Method in class com.github.basking2.sdsai.dsds.BTreeLocation
-
Return the current STOREKEY to the user data.
- getKey() - Method in class com.github.basking2.sdsai.dsds.node.tx.Operation
-
Return a unique identifier that allows for tracking of this operation.
- getKey() - Method in class com.github.basking2.sdsai.dsds.PagedListLocation
- getLocation(K) - Method in class com.github.basking2.sdsai.dsds.BTree
- getNode() - Method in class com.github.basking2.sdsai.dsds.BTreeLocation
-
Return the current Node.
- getNode() - Method in class com.github.basking2.sdsai.dsds.node.NodeLocation
- getNode() - Method in class com.github.basking2.sdsai.dsds.PagedListLocation
- getNodeIterator() - Method in class com.github.basking2.sdsai.dsds.BTree
- getReverseIterator() - Method in class com.github.basking2.sdsai.dsds.BTree
-
Return a
BTreeLocationwrapped in an iterator. - getReverseNodeIterator() - Method in class com.github.basking2.sdsai.dsds.BTree
- getStart() - Method in class com.github.basking2.sdsai.dsds.BTree
- getStartNode() - Method in class com.github.basking2.sdsai.dsds.BTree
- getValue() - Method in class com.github.basking2.sdsai.dsds.node.tx.Operation
-
Return the value of this operation if it is successful.
- go(int) - Method in class com.github.basking2.sdsai.dsds.BTreeLocation
-
Set the index to this value and return this.
H
- hashCode() - Method in class com.github.basking2.sdsai.dsds.BTree
-
Return the hash code of the
BTree.rootKeyused to create this tree. - hasNext() - Method in class com.github.basking2.sdsai.dsds.BTreeLocation
- hasNext() - Method in class com.github.basking2.sdsai.dsds.node.NodeLocation
- hasPrev() - Method in class com.github.basking2.sdsai.dsds.BTreeLocation
- hasPrev() - Method in class com.github.basking2.sdsai.dsds.node.NodeLocation
I
- index - Variable in class com.github.basking2.sdsai.dsds.BTreeLocation
- index(int) - Method in class com.github.basking2.sdsai.dsds.PagedListLocation
-
Set the index / position of this PagedListLocation and return this.
- indexOf(Object) - Method in class com.github.basking2.sdsai.dsds.PagedList
- IONodeStore<USERKEY> - Class in com.github.basking2.sdsai.dsds.io
-
An implementation of
NodeStorethat stores and returns streams of data. - IONodeStore(IONodeStore.NodeAccessor<USERKEY>) - Constructor for class com.github.basking2.sdsai.dsds.io.IONodeStore
- IONodeStore.NodeAccessor<USERKEY> - Interface in com.github.basking2.sdsai.dsds.io
-
How a
IONodeStoreaccessesNodedata. - IONodeStoreFactory - Class in com.github.basking2.sdsai.dsds.io
- IONodeStoreFactory() - Constructor for class com.github.basking2.sdsai.dsds.io.IONodeStoreFactory
- isAncestorsFull() - Method in class com.github.basking2.sdsai.dsds.node.Node
- isChildrenFull() - Method in class com.github.basking2.sdsai.dsds.node.Node
- isDataFull() - Method in class com.github.basking2.sdsai.dsds.node.Node
- isDeleted() - Method in class com.github.basking2.sdsai.dsds.node.tx.Operation
-
Return if this operation is deleted.
- isEmpty() - Method in class com.github.basking2.sdsai.dsds.BTree
-
Return true if the fetched root node has no data in it.
- isEmpty() - Method in class com.github.basking2.sdsai.dsds.node.Node
-
Return true of this node has no data.
- isEmpty() - Method in class com.github.basking2.sdsai.dsds.PagedList
- isLeaf() - Method in class com.github.basking2.sdsai.dsds.node.Node
-
Return true if this node has no children.
- isRoot() - Method in class com.github.basking2.sdsai.dsds.node.Node
-
Return true of this node has no ancestors.
- iterator() - Method in class com.github.basking2.sdsai.dsds.BTreeSelection
- iterator() - Method in class com.github.basking2.sdsai.dsds.PagedList
K
L
- lastIndexOf(Object) - Method in class com.github.basking2.sdsai.dsds.PagedList
- left() - Method in class com.github.basking2.sdsai.dsds.node.NodeLocation
-
Return this node with the index positioned on the left.
- leftChild() - Method in class com.github.basking2.sdsai.dsds.BTreeLocation
- leftData() - Method in class com.github.basking2.sdsai.dsds.BTreeLocation
- listIterator() - Method in class com.github.basking2.sdsai.dsds.PagedList
- listIterator(int) - Method in class com.github.basking2.sdsai.dsds.PagedList
- loadData(byte[]) - Method in class com.github.basking2.sdsai.dsds.io.IONodeStore
- loadData(File) - Method in class com.github.basking2.sdsai.dsds.fs.DirectoryNodeStore
-
Load the user's data.
- loadData(STOREKEY) - Method in interface com.github.basking2.sdsai.dsds.node.NodeStore
-
Load the user's data.
- loadData(STOREKEY) - Method in class com.github.basking2.sdsai.dsds.node.tx.TransactionalNodeStore
-
Load the user's data.
- loadNode(byte[]) - Method in class com.github.basking2.sdsai.dsds.io.IONodeStore
- loadNode(File) - Method in class com.github.basking2.sdsai.dsds.fs.DirectoryNodeStore
-
Load a node object from
NodeStore. - loadNode(STOREKEY) - Method in interface com.github.basking2.sdsai.dsds.node.NodeStore
-
Load a node object from
NodeStore. - loadNode(STOREKEY) - Method in class com.github.basking2.sdsai.dsds.node.tx.TransactionalNodeStore
-
Load a node object from
NodeStore. - loadUserKey(byte[]) - Method in interface com.github.basking2.sdsai.dsds.io.IONodeStore.NodeAccessor
M
- map(USERKEY, NodeStore<USERKEY, STOREKEY, VALUE>) - Static method in class com.github.basking2.sdsai.dsds.node.tx.DataStructureFactory
- max() - Method in class com.github.basking2.sdsai.dsds.BTreeLocation
-
Return the maximum location for this subtree location.
- max() - Method in class com.github.basking2.sdsai.dsds.node.NodeLocation
- min() - Method in class com.github.basking2.sdsai.dsds.BTreeLocation
-
Return the minimum location for this subtree location.
- min() - Method in class com.github.basking2.sdsai.dsds.node.NodeLocation
N
- next() - Method in class com.github.basking2.sdsai.dsds.BTreeLocation
-
May never be called unless
BTreeLocation.hasNext()is true. - next() - Method in class com.github.basking2.sdsai.dsds.node.NodeLocation
- next() - Method in class com.github.basking2.sdsai.dsds.PagedListLocation
- nextKey() - Method in class com.github.basking2.sdsai.dsds.PagedListLocation
- node - Variable in class com.github.basking2.sdsai.dsds.BTreeLocation
- Node<USERKEY,STOREKEY> - Class in com.github.basking2.sdsai.dsds.node
-
The basic object that is persisted to a large distributed storage via a
NodeStore. - Node() - Constructor for class com.github.basking2.sdsai.dsds.node.Node
-
Create a Node that can store a single ancestor, child, and data object.
- Node(int) - Constructor for class com.github.basking2.sdsai.dsds.node.Node
-
Create a Node that can store a number of children, one data keys and one ancestor.
- Node(int, int) - Constructor for class com.github.basking2.sdsai.dsds.node.Node
-
Create a Node that can store a number of children and data keys and has only one ancestor.
- Node(int, int, int) - Constructor for class com.github.basking2.sdsai.dsds.node.Node
-
Create a Node.
- NodeFunction<USERKEY,STOREKEY> - Interface in com.github.basking2.sdsai.dsds.node
- NodeLocation<USERKEY,STOREKEY> - Class in com.github.basking2.sdsai.dsds.node
-
A view of
Nodeobjects arranged as a tree with no back links. - NodeLocation(NodeStore<USERKEY, STOREKEY, ?>, Node<USERKEY, STOREKEY>, int) - Constructor for class com.github.basking2.sdsai.dsds.node.NodeLocation
- NodeLocation(NodeStore<USERKEY, STOREKEY, ?>, NodeLocation<USERKEY, STOREKEY>, Node<USERKEY, STOREKEY>, int) - Constructor for class com.github.basking2.sdsai.dsds.node.NodeLocation
- nodeStore - Variable in class com.github.basking2.sdsai.dsds.BTreeLocation
- NodeStore<USERKEY,STOREKEY,VALUE> - Interface in com.github.basking2.sdsai.dsds.node
-
The bridge code from Java objects to stored documents.
- NodeStoreException - Exception in com.github.basking2.sdsai.dsds.node
- NodeStoreException() - Constructor for exception com.github.basking2.sdsai.dsds.node.NodeStoreException
- NodeStoreException(String) - Constructor for exception com.github.basking2.sdsai.dsds.node.NodeStoreException
- NodeStoreException(String, Throwable) - Constructor for exception com.github.basking2.sdsai.dsds.node.NodeStoreException
- NodeStoreException(Throwable) - Constructor for exception com.github.basking2.sdsai.dsds.node.NodeStoreException
- NodeStoreNodeNotFoundException - Exception in com.github.basking2.sdsai.dsds.node
- NodeStoreNodeNotFoundException() - Constructor for exception com.github.basking2.sdsai.dsds.node.NodeStoreNodeNotFoundException
- NodeStoreNodeNotFoundException(String) - Constructor for exception com.github.basking2.sdsai.dsds.node.NodeStoreNodeNotFoundException
- NodeStoreNodeNotFoundException(String, Throwable) - Constructor for exception com.github.basking2.sdsai.dsds.node.NodeStoreNodeNotFoundException
- NodeStoreNodeNotFoundException(Throwable) - Constructor for exception com.github.basking2.sdsai.dsds.node.NodeStoreNodeNotFoundException
- NodeUtil - Class in com.github.basking2.sdsai.dsds.node
- NodeUtil() - Constructor for class com.github.basking2.sdsai.dsds.node.NodeUtil
O
- Operation<KEY,VALUE> - Class in com.github.basking2.sdsai.dsds.node.tx
-
An Operation is write, read, or other activity on a
NodeStorewhich is included in aTransactionalNodeStore. - Operation() - Constructor for class com.github.basking2.sdsai.dsds.node.tx.Operation
-
Create a new operation with key and value set to null.
- Operation(KEY, VALUE) - Constructor for class com.github.basking2.sdsai.dsds.node.tx.Operation
-
Create a new operation with key and value set to the given parameters.
P
- pagedList(STOREKEY, NodeStore<STOREKEY, STOREKEY, VALUE>) - Static method in class com.github.basking2.sdsai.dsds.node.tx.DataStructureFactory
- pagedList(STOREKEY, NodeStore<STOREKEY, STOREKEY, VALUE>, int) - Static method in class com.github.basking2.sdsai.dsds.node.tx.DataStructureFactory
- PagedList<STOREKEY,V> - Class in com.github.basking2.sdsai.dsds
-
A circularly linked list in which each list element many data elements.
- PagedList(STOREKEY, NodeStore<STOREKEY, STOREKEY, V>) - Constructor for class com.github.basking2.sdsai.dsds.PagedList
- PagedList(STOREKEY, NodeStore<STOREKEY, STOREKEY, V>, int) - Constructor for class com.github.basking2.sdsai.dsds.PagedList
- PagedListLocation<STOREKEY> - Class in com.github.basking2.sdsai.dsds
-
This is mostly a wrapper around
Nodebut also includes some meta information about where in the page of data represented by a Node in PagedList. - PagedListLocation(NodeStore<STOREKEY, STOREKEY, ?>, STOREKEY) - Constructor for class com.github.basking2.sdsai.dsds.PagedListLocation
- PagedListLocation(NodeStore<STOREKEY, STOREKEY, ?>, STOREKEY, Node<STOREKEY, STOREKEY>) - Constructor for class com.github.basking2.sdsai.dsds.PagedListLocation
- PagedListLocation(NodeStore<STOREKEY, STOREKEY, ?>, STOREKEY, Node<STOREKEY, STOREKEY>, int) - Constructor for class com.github.basking2.sdsai.dsds.PagedListLocation
- pageIterator() - Method in class com.github.basking2.sdsai.dsds.PagedList
- prev - Variable in class com.github.basking2.sdsai.dsds.BTreeLocation
-
The previous state (not the previous tree node).
- prev() - Method in class com.github.basking2.sdsai.dsds.BTreeLocation
- prev() - Method in class com.github.basking2.sdsai.dsds.node.NodeLocation
- prev() - Method in class com.github.basking2.sdsai.dsds.PagedListLocation
- prevKey() - Method in class com.github.basking2.sdsai.dsds.PagedListLocation
- put(K, V) - Method in class com.github.basking2.sdsai.dsds.BTree
-
Put the value into the BTree stored in the
NodeStore. - putAll(Map<? extends K, ? extends V>) - Method in class com.github.basking2.sdsai.dsds.BTree
-
Calls
Map.entrySet()andBTree.put(K, V)s each elment. - putKey(K) - Method in class com.github.basking2.sdsai.dsds.BTree
-
This function encodes and writes the key into the data structure.
- putKey(K) - Method in interface com.github.basking2.sdsai.dsds.BTreeMap
-
This function encodes and writes the key into the data structure.
R
- reader(byte[]) - Method in interface com.github.basking2.sdsai.dsds.io.IONodeStore.NodeAccessor
- readNode(InputStream, Function<byte[], USERKEY>, Function<byte[], STOREKEY>) - Static method in class com.github.basking2.sdsai.dsds.node.NodeUtil
-
Load a node from an input stream.
- remove() - Method in class com.github.basking2.sdsai.dsds.PagedListLocation
-
Calls store on the nodeStore with the current key and node.
- remove(int) - Method in class com.github.basking2.sdsai.dsds.PagedList
- remove(Object) - Method in class com.github.basking2.sdsai.dsds.BTree
-
Removes the object from the
NodeStoreand restructures the BTree. - remove(Object) - Method in class com.github.basking2.sdsai.dsds.PagedList
- removeAll(Collection<?>) - Method in class com.github.basking2.sdsai.dsds.PagedList
- removeData(byte[]) - Method in class com.github.basking2.sdsai.dsds.io.IONodeStore
- removeData(File) - Method in class com.github.basking2.sdsai.dsds.fs.DirectoryNodeStore
-
Remove the given data key.
- removeData(STOREKEY) - Method in interface com.github.basking2.sdsai.dsds.node.NodeStore
-
Remove the given data key.
- removeData(STOREKEY) - Method in class com.github.basking2.sdsai.dsds.node.tx.TransactionalNodeStore
-
Remove the given data key.
- removeNode(byte[]) - Method in class com.github.basking2.sdsai.dsds.io.IONodeStore
- removeNode(File) - Method in class com.github.basking2.sdsai.dsds.fs.DirectoryNodeStore
-
Remove the given node key.
- removeNode(STOREKEY) - Method in interface com.github.basking2.sdsai.dsds.node.NodeStore
-
Remove the given node key.
- removeNode(STOREKEY) - Method in class com.github.basking2.sdsai.dsds.node.tx.TransactionalNodeStore
-
Remove the given node key.
- retainAll(Collection<?>) - Method in class com.github.basking2.sdsai.dsds.PagedList
- reversePageIterator() - Method in class com.github.basking2.sdsai.dsds.PagedList
- right() - Method in class com.github.basking2.sdsai.dsds.node.NodeLocation
-
Return this node with the index positioned on the Right.
- rightChild() - Method in class com.github.basking2.sdsai.dsds.BTreeLocation
- rightData() - Method in class com.github.basking2.sdsai.dsds.BTreeLocation
- rollback() - Method in class com.github.basking2.sdsai.dsds.node.tx.TransactionalNodeStore
-
Rollback and clear all internal structures of this transaction.
S
- select(K, K) - Method in class com.github.basking2.sdsai.dsds.BTree
-
Select an inclusive range from lower to upper.
- set(int, V) - Method in class com.github.basking2.sdsai.dsds.PagedList
- setAncestorCap(int) - Method in class com.github.basking2.sdsai.dsds.node.Node
- setAncestors(List<STOREKEY>) - Method in class com.github.basking2.sdsai.dsds.node.Node
- setChildCap(int) - Method in class com.github.basking2.sdsai.dsds.node.Node
- setChildren(List<STOREKEY>) - Method in class com.github.basking2.sdsai.dsds.node.Node
- setData(List<USERKEY>) - Method in class com.github.basking2.sdsai.dsds.node.Node
- setDataCap(int) - Method in class com.github.basking2.sdsai.dsds.node.Node
- setKey(STOREKEY) - Method in class com.github.basking2.sdsai.dsds.PagedListLocation
-
Set the key at which this node is stored.
- setSubtreeHasNext() - Method in class com.github.basking2.sdsai.dsds.BTreeLocation
-
Set hasNext using local information about if there is another available datalement in this subtree.
- setSubtreeHasPrev() - Method in class com.github.basking2.sdsai.dsds.BTreeLocation
-
Set hasPrev using local node information only.
- size() - Method in class com.github.basking2.sdsai.dsds.BTree
-
Iterate through the entire datastrucuture and counts each element.
- size() - Method in class com.github.basking2.sdsai.dsds.PagedList
- size() - Method in class com.github.basking2.sdsai.dsds.PagedListLocation
- store() - Method in class com.github.basking2.sdsai.dsds.PagedListLocation
-
Calls store on the nodeStore with the current key and node.
- store(byte[], Node<USERKEY, byte[]>) - Method in class com.github.basking2.sdsai.dsds.io.IONodeStore
- store(byte[], InputStream) - Method in class com.github.basking2.sdsai.dsds.io.IONodeStore
- store(File, Node<K, File>) - Method in class com.github.basking2.sdsai.dsds.fs.DirectoryNodeStore
-
Store the given node.
- store(File, D) - Method in class com.github.basking2.sdsai.dsds.fs.DirectoryNodeStore
-
Store user data.
- store(STOREKEY, Node<USERKEY, STOREKEY>) - Method in interface com.github.basking2.sdsai.dsds.node.NodeStore
-
Store the given node.
- store(STOREKEY, Node<USERKEY, STOREKEY>) - Method in class com.github.basking2.sdsai.dsds.node.tx.TransactionalNodeStore
-
Store the given node.
- store(STOREKEY, VALUE) - Method in interface com.github.basking2.sdsai.dsds.node.NodeStore
-
Store user data.
- store(STOREKEY, VALUE) - Method in class com.github.basking2.sdsai.dsds.node.tx.TransactionalNodeStore
-
Store user data.
- storeNode(OutputStream, Node<USERKEY, STOREKEY>, Function<USERKEY, byte[]>, Function<STOREKEY, byte[]>) - Static method in class com.github.basking2.sdsai.dsds.node.NodeUtil
- storeUserKey(USERKEY) - Method in interface com.github.basking2.sdsai.dsds.io.IONodeStore.NodeAccessor
- subList(int, int) - Method in class com.github.basking2.sdsai.dsds.PagedList
- subTransaction(TransactionalNodeStore.SubTx<USERKEY, STOREKEY, VALUE>) - Method in class com.github.basking2.sdsai.dsds.node.tx.TransactionalNodeStore
-
Give the user a sub-transaction which is merged into this transaction when
buildTx(TransactionalNodeStore)returns. - subtreeHasNext - Variable in class com.github.basking2.sdsai.dsds.BTreeLocation
- subtreeHasPrev - Variable in class com.github.basking2.sdsai.dsds.BTreeLocation
T
- toArray() - Method in class com.github.basking2.sdsai.dsds.PagedList
- toArray(T[]) - Method in class com.github.basking2.sdsai.dsds.PagedList
- toString() - Method in class com.github.basking2.sdsai.dsds.BTreeSelection
- toString() - Method in class com.github.basking2.sdsai.dsds.node.Node
- TransactionalNodeStore<USERKEY,STOREKEY,VALUE> - Class in com.github.basking2.sdsai.dsds.node.tx
-
This represents a transaction against a
NodeStore. - TransactionalNodeStore(NodeStore<USERKEY, STOREKEY, VALUE>) - Constructor for class com.github.basking2.sdsai.dsds.node.tx.TransactionalNodeStore
- TransactionalNodeStore(NodeStore<USERKEY, STOREKEY, VALUE>, TransactionalNodeStore<USERKEY, STOREKEY, VALUE>) - Constructor for class com.github.basking2.sdsai.dsds.node.tx.TransactionalNodeStore
-
Create a new transaction that operates against the given
NodeStore. - TransactionalNodeStore.SubTx<USERKEY,STOREKEY,VALUE> - Interface in com.github.basking2.sdsai.dsds.node.tx
-
An interface to provide a callback for doing operations on sub-
TransactionalNodeStores.
V
- values() - Method in class com.github.basking2.sdsai.dsds.BTree
-
Iterate through then entire datastructure and retrieves each element.
W
- writer(byte[]) - Method in interface com.github.basking2.sdsai.dsds.io.IONodeStore.NodeAccessor
All Classes All Packages