org.geotools.index.rtree.database
Class AbstractDialect

Object
  extended by AbstractDialect
All Implemented Interfaces:
Dialect
Direct Known Subclasses:
MySqlDialect

public abstract class AbstractDialect
extends Object
implements Dialect

DOCUMENT ME!

Author:
Tommaso Nolli
Module:
trunk/gt/modules   (gt-modules.jar) (Maven report) (SVN head)

Field Summary
protected static String CAT_TABLE
           
 
Constructor Summary
AbstractDialect()
           
 
Method Summary
 String getCatalogInsert()
           
 String getCatalogQuery()
           
 String getInsertPage(String tableName)
           
 int getNextPageId(Connection cnn, String tableName)
          This implementation works only in one JVM
 String getSelectPage(String tableName)
           
 String getUpdatePage(String tableName)
           
 
Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface Dialect
getCreateTable
 

Field Detail

CAT_TABLE

protected static final String CAT_TABLE
See Also:
Constant Field Values
Constructor Detail

AbstractDialect

public AbstractDialect()
Method Detail

getCatalogQuery

public String getCatalogQuery()
Specified by:
getCatalogQuery in interface Dialect
See Also:
Dialect.getCatalogQuery()

getCatalogInsert

public String getCatalogInsert()
Specified by:
getCatalogInsert in interface Dialect
See Also:
Dialect.getCatalogInsert()

getNextPageId

public int getNextPageId(Connection cnn,
                         String tableName)
                  throws SQLException
This implementation works only in one JVM

Specified by:
getNextPageId in interface Dialect
Throws:
SQLException
See Also:
Dialect.getNextPageId(java.sql.Connection, java.lang.String)

getSelectPage

public String getSelectPage(String tableName)
Specified by:
getSelectPage in interface Dialect
See Also:
Dialect.getSelectPage(java.lang.String)

getInsertPage

public String getInsertPage(String tableName)
Specified by:
getInsertPage in interface Dialect
See Also:
Dialect.getInsertPage(java.lang.String)

getUpdatePage

public String getUpdatePage(String tableName)
Specified by:
getUpdatePage in interface Dialect
See Also:
Dialect.getUpdatePage(java.lang.String)


Copyright © 1996-2009 Geotools. All Rights Reserved.