com.github.drinkjava2.jdialects
Class DDLFeatures

java.lang.Object
  extended by com.github.drinkjava2.jdialects.DDLFeatures

public class DDLFeatures
extends Object

DDL about features, this file is generated by source code generator (see jDiagen project) from Hibernate5.2.9 final

Since:
1.0.2
Author:
Yong Zhu

Field Summary
protected  String addColumnString
           
protected  String addColumnSuffixString
           
protected  String addFKeyRefPkeyString
           
protected  String addForeignKeyConstraintString
           
protected  String addPrimaryKeyConstraintString
           
protected  String columnComment
           
protected  String createCatalogCommand
           
protected  String createMultisetTableString
           
protected  String createPooledSequenceStrings
           
protected  String createSchemaCommand
           
protected  String createSequenceStrings
           
protected  String createTableString
           
protected  String currentSchemaCommand
           
protected  String dropCatalogCommand
           
protected  String dropForeignKeyString
           
protected  String dropSchemaCommand
           
protected  String dropSequenceStrings
           
protected  String dropTableString
           
protected  Boolean hasAlterTable
           
protected  Boolean hasDataTypeInIdentityColumn
           
protected  String identityColumnString
           
protected  String identityColumnStringBigINT
           
protected  String identitySelectString
           
protected  String identitySelectStringBigINT
           
protected  Boolean needDropConstraintsBeforeDropTable
           
static String NOT_SUPPORT
           
protected  String nullColumnString
           
protected  Boolean requiresParensForTupleDistinctCounts
           
protected  String selectSequenceNextValString
           
protected  String sequenceNextValString
           
protected  Boolean supportsColumnCheck
           
protected  Boolean supportsCommentOn
           
protected  Boolean supportsIdentityColumns
           
protected  Boolean supportsIfExistsAfterConstraintName
           
protected  Boolean supportsIfExistsAfterTableName
          For dropping a table, can the phrase "if exists" be applied beforeQuery the table name
protected  Boolean supportsIfExistsBeforeConstraintName
           
protected  Boolean supportsIfExistsBeforeTableName
          For dropping a table, can the phrase "if exists" be applied afterQuery the table name?
protected  Boolean supportsInsertSelectIdentity
           
protected  Boolean supportsPooledSequences
           
protected  Boolean supportsSequences
           
protected  Boolean supportsTableCheck
           
protected  String tableTypeString
           
 
Constructor Summary
DDLFeatures()
           
 
Method Summary
 String getAddColumnString()
           
 String getAddColumnSuffixString()
           
 String getAddFKeyRefPkeyString()
           
 String getAddForeignKeyConstraintString()
           
 String getAddPrimaryKeyConstraintString()
           
 String getColumnComment()
           
 String getCreateCatalogCommand()
           
 String getCreateMultisetTableString()
           
 String getCreatePooledSequenceStrings()
           
 String getCreateSchemaCommand()
           
 String getCreateSequenceStrings()
           
 String getCreateTableString()
           
 String getCurrentSchemaCommand()
           
 String getDropCatalogCommand()
           
 String getDropForeignKeyString()
           
 String getDropSchemaCommand()
           
 String getDropSequenceStrings()
           
 String getDropTableString()
           
 Boolean getHasAlterTable()
           
 Boolean getHasDataTypeInIdentityColumn()
           
 String getIdentityColumnString()
           
 String getIdentityColumnStringBigINT()
           
 String getIdentitySelectString()
           
 String getIdentitySelectStringBigINT()
           
 Boolean getNeedDropConstraintsBeforeDropTable()
           
 String getNullColumnString()
           
 Boolean getRequiresParensForTupleDistinctCounts()
           
 String getSelectSequenceNextValString()
           
 String getSequenceNextValString()
           
 Boolean getSupportsColumnCheck()
           
 Boolean getSupportsCommentOn()
           
 Boolean getSupportsIdentityColumns()
           
 Boolean getSupportsIfExistsAfterConstraintName()
           
 Boolean getSupportsIfExistsAfterTableName()
           
 Boolean getSupportsIfExistsBeforeConstraintName()
           
 Boolean getSupportsIfExistsBeforeTableName()
           
 Boolean getSupportsInsertSelectIdentity()
           
 Boolean getSupportsPooledSequences()
           
 Boolean getSupportsSequences()
           
 Boolean getSupportsTableCheck()
           
 String getTableTypeString()
           
protected static void initDDLFeatures(Dialect dia, DDLFeatures ddl)
           
protected static boolean isValidDDLTemplate(String featureValue)
           
 boolean supportBasicOrPooledSequence()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

NOT_SUPPORT

public static final String NOT_SUPPORT
See Also:
Constant Field Values

addColumnString

protected String addColumnString

addColumnSuffixString

protected String addColumnSuffixString

addForeignKeyConstraintString

protected String addForeignKeyConstraintString

addFKeyRefPkeyString

protected String addFKeyRefPkeyString

addPrimaryKeyConstraintString

protected String addPrimaryKeyConstraintString

columnComment

protected String columnComment

createCatalogCommand

protected String createCatalogCommand

createMultisetTableString

protected String createMultisetTableString

createPooledSequenceStrings

protected String createPooledSequenceStrings

createSchemaCommand

protected String createSchemaCommand

createSequenceStrings

protected String createSequenceStrings

createTableString

protected String createTableString

currentSchemaCommand

protected String currentSchemaCommand

dropCatalogCommand

protected String dropCatalogCommand

dropForeignKeyString

protected String dropForeignKeyString

dropSchemaCommand

protected String dropSchemaCommand

dropSequenceStrings

protected String dropSequenceStrings

dropTableString

protected String dropTableString

hasAlterTable

protected Boolean hasAlterTable

hasDataTypeInIdentityColumn

protected Boolean hasDataTypeInIdentityColumn

identityColumnString

protected String identityColumnString

identityColumnStringBigINT

protected String identityColumnStringBigINT

identitySelectString

protected String identitySelectString

identitySelectStringBigINT

protected String identitySelectStringBigINT

needDropConstraintsBeforeDropTable

protected Boolean needDropConstraintsBeforeDropTable

nullColumnString

protected String nullColumnString

requiresParensForTupleDistinctCounts

protected Boolean requiresParensForTupleDistinctCounts

selectSequenceNextValString

protected String selectSequenceNextValString

sequenceNextValString

protected String sequenceNextValString

supportsColumnCheck

protected Boolean supportsColumnCheck

supportsCommentOn

protected Boolean supportsCommentOn

supportsIdentityColumns

protected Boolean supportsIdentityColumns

supportsIfExistsAfterConstraintName

protected Boolean supportsIfExistsAfterConstraintName

supportsIfExistsAfterTableName

protected Boolean supportsIfExistsAfterTableName
For dropping a table, can the phrase "if exists" be applied beforeQuery the table name


supportsIfExistsBeforeConstraintName

protected Boolean supportsIfExistsBeforeConstraintName

supportsIfExistsBeforeTableName

protected Boolean supportsIfExistsBeforeTableName
For dropping a table, can the phrase "if exists" be applied afterQuery the table name?


supportsInsertSelectIdentity

protected Boolean supportsInsertSelectIdentity

supportsPooledSequences

protected Boolean supportsPooledSequences

supportsSequences

protected Boolean supportsSequences

supportsTableCheck

protected Boolean supportsTableCheck

tableTypeString

protected String tableTypeString
Constructor Detail

DDLFeatures

public DDLFeatures()
Method Detail

getAddColumnString

public String getAddColumnString()

getAddColumnSuffixString

public String getAddColumnSuffixString()

getAddForeignKeyConstraintString

public String getAddForeignKeyConstraintString()

getAddFKeyRefPkeyString

public String getAddFKeyRefPkeyString()

getAddPrimaryKeyConstraintString

public String getAddPrimaryKeyConstraintString()

getColumnComment

public String getColumnComment()

getCreateCatalogCommand

public String getCreateCatalogCommand()

getCreateMultisetTableString

public String getCreateMultisetTableString()

getCreatePooledSequenceStrings

public String getCreatePooledSequenceStrings()

getCreateSchemaCommand

public String getCreateSchemaCommand()

getCreateSequenceStrings

public String getCreateSequenceStrings()

getCreateTableString

public String getCreateTableString()

getCurrentSchemaCommand

public String getCurrentSchemaCommand()

getDropCatalogCommand

public String getDropCatalogCommand()

getDropForeignKeyString

public String getDropForeignKeyString()

getDropSchemaCommand

public String getDropSchemaCommand()

getDropSequenceStrings

public String getDropSequenceStrings()

getDropTableString

public String getDropTableString()

getHasAlterTable

public Boolean getHasAlterTable()

getHasDataTypeInIdentityColumn

public Boolean getHasDataTypeInIdentityColumn()

getIdentityColumnString

public String getIdentityColumnString()

getIdentitySelectString

public String getIdentitySelectString()

getNeedDropConstraintsBeforeDropTable

public Boolean getNeedDropConstraintsBeforeDropTable()

getNullColumnString

public String getNullColumnString()

getRequiresParensForTupleDistinctCounts

public Boolean getRequiresParensForTupleDistinctCounts()

getSelectSequenceNextValString

public String getSelectSequenceNextValString()

getSequenceNextValString

public String getSequenceNextValString()

getSupportsColumnCheck

public Boolean getSupportsColumnCheck()

getSupportsCommentOn

public Boolean getSupportsCommentOn()

getSupportsIdentityColumns

public Boolean getSupportsIdentityColumns()

getSupportsIfExistsAfterConstraintName

public Boolean getSupportsIfExistsAfterConstraintName()

getSupportsIfExistsAfterTableName

public Boolean getSupportsIfExistsAfterTableName()

getSupportsIfExistsBeforeConstraintName

public Boolean getSupportsIfExistsBeforeConstraintName()

getSupportsIfExistsBeforeTableName

public Boolean getSupportsIfExistsBeforeTableName()

getSupportsInsertSelectIdentity

public Boolean getSupportsInsertSelectIdentity()

getSupportsPooledSequences

public Boolean getSupportsPooledSequences()

getSupportsSequences

public Boolean getSupportsSequences()

getSupportsTableCheck

public Boolean getSupportsTableCheck()

getTableTypeString

public String getTableTypeString()

getIdentityColumnStringBigINT

public String getIdentityColumnStringBigINT()

getIdentitySelectStringBigINT

public String getIdentitySelectStringBigINT()

isValidDDLTemplate

protected static boolean isValidDDLTemplate(String featureValue)

supportBasicOrPooledSequence

public boolean supportBasicOrPooledSequence()

initDDLFeatures

protected static void initDDLFeatures(Dialect dia,
                                      DDLFeatures ddl)


Copyright © 2018. All rights reserved.