|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.geotools.index.rtree.PageStore org.geotools.index.rtree.database.DatabasePageStore
DOCUMENT ME!
Field Summary | |
protected static int |
DEF_MAX
|
protected static int |
DEF_MIN
|
protected static short |
DEF_SPLIT
|
Fields inherited from class org.geotools.index.rtree.PageStore |
def, maxNodeEntries, minNodeEntries, SPLIT_LINEAR, SPLIT_QUADRATIC, splitAlg |
Constructor Summary | |
DatabasePageStore(javax.sql.DataSource ds,
Dialect dialect,
java.lang.String rtreeName)
Constructor |
|
DatabasePageStore(javax.sql.DataSource ds,
Dialect dialect,
java.lang.String rtreeName,
DataDefinition def)
Constructor |
|
DatabasePageStore(javax.sql.DataSource ds,
Dialect dialect,
java.lang.String rtreeName,
DataDefinition def,
int maxNodeEntries,
int minNodeEntries,
short splitAlg)
Constructor |
Method Summary | |
void |
close()
DOCUMENT ME! |
Entry |
createEntryPointingNode(Node node)
DOCUMENT ME! |
void |
free(Node node)
Frees resources used by this Node |
DataDefinition |
getDataDefinition()
DOCUMENT ME! |
Node |
getEmptyNode(boolean isLeaf)
DOCUMENT ME! |
int |
getMaxNodeEntries()
DOCUMENT ME! |
int |
getMinNodeEntries()
DOCUMENT ME! |
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 |
Node |
getRoot()
DOCUMENT ME! |
short |
getSplitAlgorithm()
DOCUMENT ME! |
Lock |
getWriteLock()
Aquires a write lock to the store |
void |
releaseLock(Lock lock)
DOCUMENT ME! |
void |
setRoot(Node node)
DOCUMENT ME! |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected static final int DEF_MAX
protected static final int DEF_MIN
protected static final short DEF_SPLIT
Constructor Detail |
public DatabasePageStore(javax.sql.DataSource ds, Dialect dialect, java.lang.String rtreeName) throws TreeException
ds
- dialect
- DOCUMENT ME!rtreeName
-
TreeException
- DOCUMENT ME!public DatabasePageStore(javax.sql.DataSource ds, Dialect dialect, java.lang.String rtreeName, DataDefinition def) throws TreeException
ds
- dialect
- DOCUMENT ME!rtreeName
- def
-
TreeException
- DOCUMENT ME!public DatabasePageStore(javax.sql.DataSource ds, Dialect dialect, java.lang.String rtreeName, DataDefinition def, int maxNodeEntries, int minNodeEntries, short splitAlg) throws TreeException
ds
- dialect
- DOCUMENT ME!rtreeName
- def
- maxNodeEntries
- minNodeEntries
- splitAlg
-
TreeException
- DOCUMENT ME!Method Detail |
public Node getRoot()
PageStore
getRoot
in class PageStore
PageStore.getRoot()
public void setRoot(Node node) throws TreeException
PageStore
setRoot
in class PageStore
node
-
TreeException
- DOCUMENT ME!PageStore.setRoot(org.geotools.index.rtree.Node)
public Node getEmptyNode(boolean isLeaf)
PageStore
getEmptyNode
in class PageStore
isLeaf
-
PageStore.getEmptyNode(boolean)
public Node getNode(Entry parentEntry, Node parent) throws TreeException
PageStore
getNode
in class PageStore
parentEntry
- parent
-
TreeException
- DOCUMENT ME!PageStore.getNode(org.geotools.index.rtree.Entry,
org.geotools.index.rtree.Node)
public Entry createEntryPointingNode(Node node)
PageStore
createEntryPointingNode
in class PageStore
node
-
PageStore.createEntryPointingNode(org.geotools.index.rtree.Node)
public int getMaxNodeEntries()
PageStore
getMaxNodeEntries
in class PageStore
Entry
s per pagePageStore.getMaxNodeEntries()
public int getMinNodeEntries()
PageStore
getMinNodeEntries
in class PageStore
Entry
s per pagepublic short getSplitAlgorithm()
PageStore
getSplitAlgorithm
in class PageStore
public DataDefinition getDataDefinition()
PageStore
getDataDefinition
in class PageStore
public void free(Node node)
PageStore
Node
free
in class PageStore
node
- The Node
to freepublic Lock getWriteLock() throws LockTimeoutException
PageStore
getWriteLock
in class PageStore
LockTimeoutException
public Lock getReadLock() throws LockTimeoutException
PageStore
getReadLock
in class PageStore
LockTimeoutException
public void releaseLock(Lock lock)
PageStore
releaseLock
in class PageStore
lock
- public void close() throws TreeException
PageStore
close
in class PageStore
TreeException
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |