public static class DMLEvent.Builder extends ChangeEvent.Builder<DMLEvent.Builder>
isSnapshot, offset| Modifier and Type | Method and Description |
|---|---|
DMLEvent |
build() |
DMLEvent.Builder |
setDatabase(String database) |
DMLEvent.Builder |
setIngestTimestamp(long ingestTimestampMillis) |
DMLEvent.Builder |
setOperation(DMLOperation operation) |
DMLEvent.Builder |
setPreviousRow(io.cdap.cdap.api.data.format.StructuredRecord previousRow) |
DMLEvent.Builder |
setRow(io.cdap.cdap.api.data.format.StructuredRecord row) |
DMLEvent.Builder |
setTable(String table) |
DMLEvent.Builder |
setTransactionId(String transactionId) |
setOffset, setSnapshotpublic DMLEvent.Builder setOperation(DMLOperation operation)
public DMLEvent.Builder setDatabase(String database)
public DMLEvent.Builder setTable(String table)
public DMLEvent.Builder setRow(io.cdap.cdap.api.data.format.StructuredRecord row)
public DMLEvent.Builder setPreviousRow(io.cdap.cdap.api.data.format.StructuredRecord previousRow)
public DMLEvent.Builder setTransactionId(String transactionId)
public DMLEvent.Builder setIngestTimestamp(long ingestTimestampMillis)
public DMLEvent build()
Copyright © 2020 CDAP Licensed under the Apache License, Version 2.0.