public static class DDLEvent.Builder extends ChangeEvent.Builder<DDLEvent.Builder>
isSnapshot, offset| Modifier and Type | Method and Description |
|---|---|
DDLEvent |
build() |
DDLEvent.Builder |
setDatabase(String database) |
DDLEvent.Builder |
setOperation(DDLOperation operation) |
DDLEvent.Builder |
setPrevTable(String prevTable) |
DDLEvent.Builder |
setPrimaryKey(List<String> primaryKey) |
DDLEvent.Builder |
setSchema(io.cdap.cdap.api.data.schema.Schema schema) |
DDLEvent.Builder |
setTable(String table) |
setOffset, setSnapshotpublic DDLEvent.Builder setOperation(DDLOperation operation)
public DDLEvent.Builder setSchema(io.cdap.cdap.api.data.schema.Schema schema)
public DDLEvent.Builder setDatabase(String database)
public DDLEvent.Builder setPrevTable(String prevTable)
public DDLEvent.Builder setTable(String table)
public DDLEvent.Builder setPrimaryKey(List<String> primaryKey)
public DDLEvent build()
Copyright © 2020 CDAP Licensed under the Apache License, Version 2.0.