All Methods Instance Methods Concrete Methods
| Modifier and Type |
Method and Description |
private void |
assertColumn(Table table,
String name,
String typeName,
int jdbcType,
int length,
int scale,
boolean optional,
boolean generated,
boolean autoIncremented) |
private void |
assertColumn(Table table,
String name,
String typeName,
int jdbcType,
int length,
String charsetName,
boolean optional) |
private void |
assertGlobalVariable(String name,
String expectedValue) |
private void |
assertLocalVariable(String name,
String expectedValue) |
private void |
assertParseEnumAndSetOptions(String typeExpression,
String... expectedValues)
Assert whether the provided typeExpression string after being parsed results in a
list of ENUM or SET options that match exactly to the provided list of
expecetedValues.
|
private void |
assertSessionVariable(String name,
String expectedValue) |
private void |
assertVariable(String name,
String expectedValue) |
private void |
assertVariable(SystemVariables.Scope scope,
String name,
String expectedValue) |
void |
beforeEach() |
void |
parseAddMultiplePartitions() |
void |
parseAddPartition() |
void |
parseAlterEnumColumnWithEmbeddedOrEscapedCharacters() |
void |
parseAlterEnumColumnWithNewCharacterSet() |
void |
parseDdlForDecAndFixed() |
void |
parseDdlForUnscaledDecAndFixed() |
void |
parseDefaultValue() |
void |
parseGeomCollection() |
void |
parsePartitionReorganize() |
void |
parsePartitionWithEngine() |
void |
parseTableWithNegativeDefault() |
void |
parseTableWithPageChecksum() |
void |
parseUserDdlStatements() |
private void |
printEvent(DdlParserListener.Event event) |
private String |
readFile(String classpathResource) |
private String |
readLines(int startingLineNumber,
String classpathResource)
Reads the lines starting with a given line number from the specified file on the classpath.
|
void |
shouldAllowCharacterVarying() |
void |
shouldAllowNonAsciiIdentifiers() |
void |
shouldDropPrimaryKeyColumn() |
void |
shouldHandleQuotes() |
void |
shouldNotGetExceptionOnParseAlterStatementsWithoutCreate() |
void |
shouldNotNullPositionBeforeOrAfterDefaultValue() |
void |
shouldNotUpdateExistingTable() |
void |
shouldParseAlterStatementsAfterCreate() |
void |
shouldParseAlterTableAlterDefaultColumnValue() |
void |
shouldParseAlterTableMultiTableOptions() |
void |
shouldParseAlterTableRename() |
void |
shouldParseAlterTableStatementAddColumns() |
void |
shouldParseAlterTableStatementAddConstraintUniqueKey() |
void |
shouldParseAlterTableStatementThatAddsCharacterSetForColumns() |
void |
shouldParseAlterTableStatementWithColumnNamedColumnWithColumnWord() |
void |
shouldParseAlterTableStatementWithColumnNamedColumnWithoutColumnWord() |
void |
shouldParseAlterTableThatChangesMultipleColumns() |
void |
shouldParseAlterTableUnionStatement() |
void |
shouldParseAlterTableWithDropIndex() |
void |
shouldParseAlterTableWithIndex() |
void |
shouldParseAlterTableWithNewlineFeeds() |
void |
shouldParseAlterViewStatementColumnAliasInnerSelect() |
void |
shouldParseAndIgnoreCreateFunction() |
void |
shouldParseAndIgnoreDeleteStatements() |
void |
shouldParseAndIgnoreInsertStatements() |
void |
shouldParseButIgnoreCreateFunctionC() |
void |
shouldParseButIgnoreCreateFunctionD() |
void |
shouldParseButIgnoreCreateFunctionE() |
void |
shouldParseButIgnoreCreateFunctionF() |
void |
shouldParseButIgnoreCreateFunctionG() |
void |
shouldParseButIgnoreCreateFunctionH() |
void |
shouldParseButIgnoreCreateFunctionWithDefiner() |
void |
shouldParseButIgnoreCreateTriggerWithDefiner() |
void |
shouldParseButNotSetUserVariableWithUnderscoreDelimiter() |
void |
shouldParseButSkipAlterTableWhenTableIsNotKnown() |
void |
shouldParseChangeColumnAndKeepName() |
void |
shouldParseCharacterDatatype() |
void |
shouldParseCheckTableKeywords() |
void |
shouldParseCheckTableSomeOtherKeyword() |
void |
shouldParseCommentWithEngineName() |
void |
shouldParseConstraintCheck() |
void |
shouldParseCreateAndAlterWithOnUpdate() |
void |
shouldParseCreateDatabaseAndTableThatUsesDefaultCharacterSets() |
void |
shouldParseCreateDatabaseAndUseDatabaseStatementsAndHaveCharacterEncodingVariablesUpdated() |
void |
shouldParseCreateStatements() |
void |
shouldParseCreateTableStatementWithCharacterSetForColumns() |
void |
shouldParseCreateTableStatementWithCharacterSetForTable() |
void |
shouldParseCreateTableStatementWithCollate() |
void |
shouldParseCreateTableStatementWithColumnNamedColumn() |
void |
shouldParseCreateTableStatementWithMultipleColumnsForPrimaryKey() |
void |
shouldParseCreateTableStatementWithSignedTypes() |
void |
shouldParseCreateTableStatementWithSingleGeneratedAndPrimaryKeyColumn() |
void |
shouldParseCreateTableStatementWithSingleGeneratedColumnAsPrimaryKey() |
void |
shouldParseCreateTableUnionStatement() |
void |
shouldParseCreateTableWithBitDefault() |
void |
shouldParseCreateTableWithDoublePrecisionKeyword() |
void |
shouldParseCreateTableWithEnumAndSetColumns() |
void |
shouldParseCreateTableWithEnumDefault() |
void |
shouldParseCreateTableWithTextType() |
void |
shouldParseCreateTableWithUnnamedPrimaryKeyConstraint() |
void |
shouldParseCreateUserTable() |
void |
shouldParseCreateViewStatementColumnAlias() |
void |
shouldParseCreateViewStatementColumnAliasInnerSelect() |
void |
shouldParseCreateViewStatementStartSelect() |
void |
shouldParseDefiner() |
void |
shouldParseDropView() |
void |
shouldParseEngineNameWithApostrophes() |
void |
shouldParseEnumOptions() |
void |
shouldParseEscapedEnumOptions() |
void |
shouldParseFloatVariants() |
void |
shouldParseFulltextKeyInCreateTable() |
void |
shouldParseFunctionNamedDatabase() |
void |
shouldParseGeneratedColumn() |
void |
shouldParseGrantStatement() |
void |
shouldParseGrantStatementWithoutSpecifiedHostName() |
void |
shouldParseIntegrationTestSchema() |
void |
shouldParseInternalColumnId() |
void |
shouldParseMultipleStatements() |
void |
shouldParseMySql56InitializationStatements() |
void |
shouldParseMySql57InitializationStatements() |
void |
shouldParseOtherDbDatatypes() |
void |
shouldParseProcedureEmbeddedIfs() |
void |
shouldParseProcedureIfWithParenthesisStart() |
void |
shouldParseProcedureWithCase() |
void |
shouldParseScientificNotationNumber() |
void |
shouldParseSetCharacterSetStatement() |
void |
shouldParseSetNamesStatement() |
void |
shouldParseSetOfGlobalVariable() |
void |
shouldParseSetOfLocalVariable() |
void |
shouldParseSetOfMultipleVariablesWithInferredScope() |
void |
shouldParseSetOfOneVariableStatementWithoutTerminator() |
void |
shouldParseSetOfOneVariableStatementWithTerminator() |
void |
shouldParseSetOfSameVariableWithDifferentScope() |
void |
shouldParseSetOfSessionVariable() |
void |
shouldParseSetOptions() |
void |
shouldParseSomeLinesFromCreateStatements() |
void |
shouldParseStatementForDbz106() |
void |
shouldParseStatementForDbz123() |
void |
shouldParseStatementForDbz142() |
void |
shouldParseStatementForDbz200() |
void |
shouldParseStatementsWithQuotedIdentifiers() |
void |
shouldParseStringSameAsKeyword() |
void |
shouldParseTableMaintenanceStatements() |
void |
shouldParseTestStatements() |
void |
shouldParseThirdPartyStorageEngine() |
void |
shouldParseTicketMonsterLiquibaseStatements() |
void |
shouldParseTimestampDefaultValue() |
void |
shouldParseTimeWithNowDefault() |
void |
shouldParseTruncateStatementsAfterCreate() |
void |
shouldParseVariableWithUnderscoreDelimiter() |
void |
shouldProcessDimensionalBlob() |
void |
shouldProcessSerialDatatype() |
void |
shouldProcessSerialDefaultValue() |
void |
shouldRenameColumnWithoutDefinition() |
void |
shouldSupportBinaryCharset() |
void |
shouldSupportCreateIndexBothAlgoAndLock() |
void |
shouldSupportInstantAlgoOnAlterStatements() |
void |
shouldSupportUtfMb3Charset() |
void |
shouldTreatPrimaryKeyColumnsImplicitlyAsNonNull() |
void |
shouldUpdateAndRenameTable() |
void |
shouldUpdateSchemaForChangedDefaultValue() |
void |
shouldUpdateSchemaForRemovedDefaultValue() |
void |
shouldUseCharacterSetFromCollation() |
void |
shouldUseDatabaseCharacterSet() |
void |
shouldUseFiltersForAlterTable() |
private String |
toIsoString(String timestamp) |