|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
ObjectPageStore
public abstract class PageStore
RTree data structure.
trunk/gt/modules
(gt-modules.jar
) (Maven report) (SVN head)Field Summary | |
---|---|
protected DataDefinition |
def
|
protected int |
maxNodeEntries
|
protected int |
minNodeEntries
|
static short |
SPLIT_LINEAR
|
static short |
SPLIT_QUADRATIC
|
protected short |
splitAlg
|
Constructor Summary | |
---|---|
PageStore()
|
|
PageStore(DataDefinition def,
int maxNodeEntries,
int minNodeEntries,
short splitAlg)
DOCUMENT ME! |
Method Summary | |
---|---|
abstract void |
close()
DOCUMENT ME! |
abstract Entry |
createEntryPointingNode(Node node)
DOCUMENT ME! |
abstract void |
free(Node node)
Frees resources used by this Node |
DataDefinition |
getDataDefinition()
DOCUMENT ME! |
abstract Node |
getEmptyNode(boolean isLeaf)
DOCUMENT ME! |
int |
getMaxNodeEntries()
DOCUMENT ME! |
int |
getMinNodeEntries()
DOCUMENT ME! |
abstract Node |
getNode(Entry parentEntry,
Node parent)
Returns the Node pointed by this entry and having this Node as parent |
Lock |
getReadLock()
Aquires a read lock to the store |
abstract Node |
getRoot()
DOCUMENT ME! |
short |
getSplitAlgorithm()
DOCUMENT ME! |
Lock |
getWriteLock()
Aquires a write lock to the store |
void |
releaseLock(Lock lock)
DOCUMENT ME! |
abstract void |
setRoot(Node node)
DOCUMENT ME! |
Methods inherited from class Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final short SPLIT_QUADRATIC
public static final short SPLIT_LINEAR
protected DataDefinition def
protected int maxNodeEntries
protected int minNodeEntries
protected short splitAlg
Constructor Detail |
---|
public PageStore()
public PageStore(DataDefinition def, int maxNodeEntries, int minNodeEntries, short splitAlg) throws TreeException
def
- maxNodeEntries
- minNodeEntries
- splitAlg
-
TreeException
UnsupportedOperationException
- DOCUMENT ME!Method Detail |
---|
public abstract Node getRoot()
public abstract void setRoot(Node node) throws TreeException
node
-
TreeException
- DOCUMENT ME!public abstract Node getEmptyNode(boolean isLeaf)
isLeaf
- public abstract Node getNode(Entry parentEntry, Node parent) throws TreeException
parentEntry
- parent
-
TreeException
- DOCUMENT ME!public abstract Entry createEntryPointingNode(Node node)
node
- public int getMaxNodeEntries()
Entry
s per pagepublic int getMinNodeEntries()
Entry
s per pagepublic short getSplitAlgorithm()
public DataDefinition getDataDefinition()
public abstract void free(Node node)
Node
node
- The Node
to freepublic Lock getWriteLock() throws LockTimeoutException
LockTimeoutException
public Lock getReadLock() throws LockTimeoutException
LockTimeoutException
public void releaseLock(Lock lock)
lock
- public abstract void close() throws TreeException
TreeException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |