public class HsqlDbSQLGeneratorImpl extends SQLGeneratorImpl implements HsqlDbSQLGenerator
Default implementation of an SQL generator for HsqlDb schemas.
| Constructor and Description |
|---|
HsqlDbSQLGeneratorImpl() |
| Modifier and Type | Method and Description |
|---|---|
protected java.lang.String |
getCreateTableHeader(Table pTable) |
protected boolean |
isForeignKeyPartOfCreateTable()
Returns whether a
CREATE TABLE statement may contain
a FOREIGN KEY clause. |
protected boolean |
isNonUniqueIndexPartOfCreateTable()
Returns whether a
CREATE TABLE statement may contain
an INDEX clause. |
protected boolean |
isPrimaryKeyPartOfCreateTable()
Returns whether a
CREATE TABLE statement may contain
a PRIMARY KEY clause. |
protected boolean |
isPrimaryKeyUniqueIndex()
Returns whether the primary key requires special handling
(in which case
SQLGeneratorImpl.isPrimaryKeyPartOfCreateTable() and
SQLGeneratorImpl.createPrimaryKeyAsPartOfCreateTable(Table) are used)
or nor (in which case SQLGeneratorImpl.isUniqueIndexPartOfCreateTable()
and SQLGeneratorImpl.createIndexAsPartOfCreateTable(Index) apply). |
protected boolean |
isUniqueIndexPartOfCreateTable()
Returns whether a
CREATE TABLE statement may contain
a UNIQUE clause. |
createForeignKeyAsPartOfCreateTable, createIndexAsPartOfCreateTable, createPrimaryKeyAsPartOfCreateTable, getBooleanConstraint, getBooleanConstraintPart, getBooleanConstraintType, getCase, getColumnAlias, getColumnAlias, getCombinedConstraint, getConstraint, getConstraint, getCreate, getCreate, getCreate, getCreate, getCreate, getCreate, getCreate, getDeleteQuery, getDrop, getDrop, getDrop, getDrop, getDrop, getDrop, getEscapedString, getExpression, getFunction, getIndent, getInsertQuery, getJoinAlias, getLineTerminator, getOrderColumn, getParts, getQuery, getSelectQuery, getSelectQuery, getSelectQueryConstraints, getSelectQueryFromClause, getSelectQueryOrderClause, getSelectQueryResultColumns, getStatementTerminator, getTableAlias, getTypeName, getUpdateQuery, getValue, getWhereClause, getWhereClause, isQualifiedColumn, isTableAliasUsingAs, newStatement, newStatementMetaData, newStatementMetaData, newStatementMetaData, newStatementMetaData, setLineTerminator, setStatementTerminatorclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetConstraint, getCreate, getCreate, getCreate, getCreate, getCreate, getCreate, getDrop, getDrop, getDrop, getDrop, getDrop, getDrop, getLineTerminator, getQuery, getStatementTerminator, getWhereClause, setLineTerminator, setStatementTerminatorprotected boolean isPrimaryKeyUniqueIndex()
SQLGeneratorImplReturns whether the primary key requires special handling
(in which case SQLGeneratorImpl.isPrimaryKeyPartOfCreateTable() and
SQLGeneratorImpl.createPrimaryKeyAsPartOfCreateTable(Table) are used)
or nor (in which case SQLGeneratorImpl.isUniqueIndexPartOfCreateTable()
and SQLGeneratorImpl.createIndexAsPartOfCreateTable(Index) apply).
isPrimaryKeyUniqueIndex in class SQLGeneratorImplprotected boolean isPrimaryKeyPartOfCreateTable()
SQLGeneratorImplReturns whether a CREATE TABLE statement may contain
a PRIMARY KEY clause.
isPrimaryKeyPartOfCreateTable in class SQLGeneratorImplprotected boolean isUniqueIndexPartOfCreateTable()
SQLGeneratorImplReturns whether a CREATE TABLE statement may contain
a UNIQUE clause.
isUniqueIndexPartOfCreateTable in class SQLGeneratorImplprotected boolean isNonUniqueIndexPartOfCreateTable()
SQLGeneratorImplReturns whether a CREATE TABLE statement may contain
an INDEX clause.
isNonUniqueIndexPartOfCreateTable in class SQLGeneratorImplprotected boolean isForeignKeyPartOfCreateTable()
SQLGeneratorImplReturns whether a CREATE TABLE statement may contain
a FOREIGN KEY clause.
isForeignKeyPartOfCreateTable in class SQLGeneratorImplprotected java.lang.String getCreateTableHeader(Table pTable)
getCreateTableHeader in class SQLGeneratorImpl