org.geotools.index.rtree.database
Class AbstractDialect

java.lang.Object
  extended byorg.geotools.index.rtree.database.AbstractDialect
All Implemented Interfaces:
Dialect
Direct Known Subclasses:
MySqlDialect

public abstract class AbstractDialect
extends java.lang.Object
implements Dialect

DOCUMENT ME!

Author:
Tommaso Nolli

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

Field Detail

CAT_TABLE

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

AbstractDialect

public AbstractDialect()
Method Detail

getCatalogQuery

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

getCatalogInsert

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

getNextPageId

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

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

getSelectPage

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

getInsertPage

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

getUpdatePage

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


Copyright © GeoTools. All Rights Reserved.