|
deegree 2.1 (2007/11/08 09:57 build-328-official) | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.deegree.io.quadtree.DBQuadtreeManager
org.deegree.io.quadtree.DBQuadtreeManagerWithNumberId
public class DBQuadtreeManagerWithNumberId
Same as
but uses Integer values as IDs instead of UUIDs.
Field Summary |
---|
Fields inherited from class org.deegree.io.quadtree.DBQuadtreeManager |
---|
backend, column, envelope, indexName, jdbc, maxDepth, owner, qt, table |
Constructor Summary | |
---|---|
DBQuadtreeManagerWithNumberId(JDBCConnection jdbc,
String table,
String column,
String owner)
initializes a QuadtreeManager to access an alread existing Quadtree |
|
DBQuadtreeManagerWithNumberId(JDBCConnection jdbc,
String indexName,
String table,
String column,
String owner,
int maxDepth)
|
|
DBQuadtreeManagerWithNumberId(String driver,
String logon,
String user,
String password,
String encoding,
String table,
String column,
String owner)
initializes a QuadtreeManager to access an alread existing Quadtree |
|
DBQuadtreeManagerWithNumberId(String driver,
String logon,
String user,
String password,
String encoding,
String indexName,
String table,
String column,
String owner,
int maxDepth)
|
Method Summary | |
---|---|
void |
appendShape(String fileName)
appends the features of a shape to an existing datatable and inserts references into the assigned quadtree table. |
protected void |
createDataTable(String fileName)
creates table the shape data shall be stored |
protected void |
createIndexTable(String indexTable)
creates a table that will store the nodes assigned to a specific quadtree index. |
void |
importShape(String fileName)
imports a shape into the database and builds a quadtree on it |
Methods inherited from class org.deegree.io.quadtree.DBQuadtreeManager |
---|
checkForBackend, getDatabaseType, getQuadtree, initQuadtree, initRootNode, insertIndexMetadata, loadQuadtree, setRootEnvelope |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DBQuadtreeManagerWithNumberId(JDBCConnection jdbc, String indexName, String table, String column, String owner, int maxDepth)
jdbc
- database connection infoindexName
- this name will be used to create the table that stores the nodes of a specific
quadtreetable
- name of table the index shall be created forcolumn
- name of column the index shall be created forowner
- owner of the table (optional, database user will be used if set to null )maxDepth
- max depth of the generated quadtree (default = 6 if a value < 2 will be passed)public DBQuadtreeManagerWithNumberId(String driver, String logon, String user, String password, String encoding, String indexName, String table, String column, String owner, int maxDepth)
driver
- database connection driverlogon
- database connection logonuser
- database userpassword
- database user's passwordencoding
- character encoding to be used (if possible)indexName
- this name will be used to create the table that stores the nodes of a specific
quadtreetable
- name of table the index shall be created forcolumn
- name of column the index shall be created forowner
- owner of the table (optional, database user will be used if set to null )maxDepth
- max depth of the generated quadtree (default = 6 if a value < 2 will be passed)public DBQuadtreeManagerWithNumberId(JDBCConnection jdbc, String table, String column, String owner)
jdbc
- database connection infotable
- name of table the index shall be created forcolumn
- name of column the index shall be created forowner
- owner of the table (optional, database user will be used if set to null )public DBQuadtreeManagerWithNumberId(String driver, String logon, String user, String password, String encoding, String table, String column, String owner)
driver
- database connection driverlogon
- database connection logonuser
- database userpassword
- database user's passwordencoding
- character encoding to be used (if possible)table
- name of table the index shall be created forcolumn
- name of column the index shall be created forowner
- owner of the table (optional, database user will be used if set to null )Method Detail |
---|
protected void createDataTable(String fileName) throws IndexException, IOException
createDataTable
in class DBQuadtreeManager
fileName
-
IndexException
IOException
public void importShape(String fileName) throws Exception, IOException
importShape
in class DBQuadtreeManager
fileName
-
Exception
IOException
public void appendShape(String fileName) throws Exception, IOException
you have to consider that the quadtree is just valid for a defined area. if the features to append exceeds this area the quadtree has to be rebuilded.
appendShape
in class DBQuadtreeManager
fileName
-
Exception
IOException
protected void createIndexTable(String indexTable)
createIndexTable
in class DBQuadtreeManager
indexTable
-
|
deegree 2.1 (2007/11/08 09:57 build-328-official) | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
an open source project founded by lat/lon, Bonn, Germany.
For more information visit: http://deegree.sourceforge.net