Package io.debezium.relational.ddl
Class SimpleDdlParserListener.EventAssert
- java.lang.Object
-
- io.debezium.relational.ddl.SimpleDdlParserListener.EventAssert
-
- Enclosing class:
- SimpleDdlParserListener
public static final class SimpleDdlParserListener.EventAssert extends Object
-
-
Field Summary
Fields Modifier and Type Field Description private DdlParserListener.Eventactual
-
Constructor Summary
Constructors Constructor Description EventAssert(DdlParserListener.Event actual)
-
Method Summary
-
-
-
Field Detail
-
actual
private final DdlParserListener.Event actual
-
-
Constructor Detail
-
EventAssert
public EventAssert(DdlParserListener.Event actual)
-
-
Method Detail
-
ddlMatches
public SimpleDdlParserListener.EventAssert ddlMatches(String expected)
-
ddlStartsWith
public SimpleDdlParserListener.EventAssert ddlStartsWith(String expected)
-
ddlContains
public SimpleDdlParserListener.EventAssert ddlContains(String expected)
-
tableEvent
protected DdlParserListener.TableEvent tableEvent()
-
alterTableEvent
protected DdlParserListener.TableAlteredEvent alterTableEvent()
-
tableNameIs
public SimpleDdlParserListener.EventAssert tableNameIs(String expected)
-
tableIs
public SimpleDdlParserListener.EventAssert tableIs(TableId expected)
-
ofType
public SimpleDdlParserListener.EventAssert ofType(DdlParserListener.EventType expected)
-
createTableNamed
public SimpleDdlParserListener.EventAssert createTableNamed(String tableName)
-
alterTableNamed
public SimpleDdlParserListener.EventAssert alterTableNamed(String tableName)
-
truncateTableNamed
public SimpleDdlParserListener.EventAssert truncateTableNamed(String tableName)
-
renamedFrom
public SimpleDdlParserListener.EventAssert renamedFrom(String oldName)
-
dropTableNamed
public SimpleDdlParserListener.EventAssert dropTableNamed(String tableName)
-
createViewNamed
public SimpleDdlParserListener.EventAssert createViewNamed(String viewName)
-
alterViewNamed
public SimpleDdlParserListener.EventAssert alterViewNamed(String viewName)
-
dropViewNamed
public SimpleDdlParserListener.EventAssert dropViewNamed(String viewName)
-
isView
public SimpleDdlParserListener.EventAssert isView()
-
isNotView
public SimpleDdlParserListener.EventAssert isNotView()
-
createTable
public SimpleDdlParserListener.EventAssert createTable()
-
alterTable
public SimpleDdlParserListener.EventAssert alterTable()
-
dropTable
public SimpleDdlParserListener.EventAssert dropTable()
-
createIndex
public SimpleDdlParserListener.EventAssert createIndex()
-
dropIndex
public SimpleDdlParserListener.EventAssert dropIndex()
-
truncateTable
public SimpleDdlParserListener.EventAssert truncateTable()
-
-