|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectgistoolkit.datasources.SimpleDataSource
gistoolkit.datasources.SimpleDBDataSource
gistoolkit.datasources.mysql.MySQLDataSource
gistoolkit.datasources.mysql.ReadOnlyMySQLDataSource
Allows for any sql query to be sent to the database, and returns the data set.
Field Summary |
Fields inherited from class gistoolkit.datasources.SimpleDataSource |
|
Constructor Summary | |
ReadOnlyMySQLDataSource()
Creates new ReadOnlyMySQLDataSource |
Method Summary | |
java.lang.String |
getDatabaseQuery()
return the SQLQuery to use when accessing the data source |
Node |
getNode()
Get the configuration information for this data source |
boolean |
getPreread()
Returns the preread flag. |
Style |
getStyle()
Get the style to use with this datasource. |
static void |
main(java.lang.String[] inArgs)
Testing only |
protected GISDataset |
readShapes(Envelope inEnvelope)
This method returns the shapes from the data source |
void |
setDatabaseQuery(java.lang.String inQuery)
Set the SQL Query to use when accessing the data source |
void |
setNode(Node inNode)
Set the configuration information for this data source |
void |
setPreread(boolean inPreread)
Sets the preread flag to tell this data source to preread the entire contents of the layer, and keep them in memory, essentially caching them, until the data source is disposed. |
Methods inherited from class gistoolkit.datasources.SimpleDBDataSource |
getFilter, getFilterSQL, setFilter |
Methods inherited from class gistoolkit.datasources.SimpleDataSource |
addDataSourceListener, clearCache, commit, delete, doCommit, doDelete, doInsert, doRollback, doUpdate, filterDataset, fireCommit, fireDelete, fireInsert, fireRead, fireRollBack, fireUpdate, getCached, getCacheDataset, getCacheEnvelope, getEnvelope, getFromProjection, getName, getToProjection, getValidShapeTypes, insert, isCachedProjected, isUpdateable, projectBackward, projectForward, queryFromCache, readDataset, readDataset, removeDataSourceListener, rollback, setCache, setCached, setFromProjection, setName, setProjection, setToProjection, update |
Methods inherited from class java.lang.Object |
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public ReadOnlyMySQLDataSource()
Method Detail |
public void setDatabaseQuery(java.lang.String inQuery)
public java.lang.String getDatabaseQuery()
public void setPreread(boolean inPreread)
public boolean getPreread()
protected GISDataset readShapes(Envelope inEnvelope) throws java.lang.Exception
readShapes
in class SimpleDataSource
java.lang.Exception
public Node getNode()
getNode
in interface DataSource
getNode
in class MySQLDataSource
public void setNode(Node inNode) throws java.lang.Exception
setNode
in interface DataSource
setNode
in class MySQLDataSource
java.lang.Exception
public static void main(java.lang.String[] inArgs)
public Style getStyle()
getStyle
in interface DataSource
getStyle
in class SimpleDataSource
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |