net.sf.hajdbc.dialect
Class MckoiDialect

java.lang.Object
  extended by net.sf.hajdbc.dialect.StandardDialect
      extended by net.sf.hajdbc.dialect.MckoiDialect
All Implemented Interfaces:
Dialect

public class MckoiDialect
extends StandardDialect

Dialect for Mckoi.

Author:
Paul Ferraro

Constructor Summary
MckoiDialect()
           
 
Method Summary
protected  String currentTimestampPattern()
           
 String parseInsertTable(String sql)
          Parses a table name from the specified INSERT SQL statement that may contain identity columns.
protected  String sequencePattern()
           
 
Methods inherited from class net.sf.hajdbc.dialect.StandardDialect
alterIdentityColumnFormat, alterSequenceFormat, createForeignKeyConstraintFormat, createUniqueConstraintFormat, currentDatePattern, currentTimePattern, currentTimestampFunction, dateLiteralFormat, dropConstraintFormat, dropForeignKeyConstraintFormat, dropUniqueConstraintFormat, dummyTable, evaluateCurrentDate, evaluateCurrentTime, evaluateCurrentTimestamp, evaluateRand, executeFunction, executeFunctionFormat, executeFunctionSQL, executeQuery, getAlterIdentityColumnSQL, getAlterSequenceSQL, getColumnType, getCreateForeignKeyConstraintSQL, getCreateUniqueConstraintSQL, getDefaultSchemas, getDropForeignKeyConstraintSQL, getDropUniqueConstraintSQL, getIdentifierPattern, getNextSequenceValueSQL, getSequences, getSimpleSQL, getTruncateTableSQL, insertIntoTablePattern, isIdentity, isSelectForUpdate, nextSequenceValueFormat, parse, parseSequence, randomPattern, selectForUpdatePattern, sequenceTableType, timeLiteralFormat, timestampLiteralFormat, truncateTableFormat
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MckoiDialect

public MckoiDialect()
Method Detail

parseInsertTable

public String parseInsertTable(String sql)
Description copied from interface: Dialect
Parses a table name from the specified INSERT SQL statement that may contain identity columns.

Specified by:
parseInsertTable in interface Dialect
Overrides:
parseInsertTable in class StandardDialect
Parameters:
sql - a SQL statement
Returns:
the name of a table, or null if this SQL statement is not an INSERT statement or this dialect does not support identity columns
See Also:
StandardDialect.parseInsertTable(java.lang.String)

sequencePattern

protected String sequencePattern()
Overrides:
sequencePattern in class StandardDialect
See Also:
StandardDialect.sequencePattern()

currentTimestampPattern

protected String currentTimestampPattern()
Overrides:
currentTimestampPattern in class StandardDialect
See Also:
StandardDialect.currentTimestampPattern()