public class RowData extends Object implements KafkaRecord
CellData.| Constructor and Description |
|---|
RowData() |
| Modifier and Type | Method and Description |
|---|---|
void |
addCell(CellData cellData) |
RowData |
copy() |
boolean |
equals(Object o) |
(package private) List<CellData> |
getPrimary() |
boolean |
hasCell(String columnName) |
int |
hashCode() |
org.apache.kafka.connect.data.Struct |
record(org.apache.kafka.connect.data.Schema schema)
return an kafka connect Struct based on the schema passed into the method
|
void |
removeCell(String columnName) |
(package private) static org.apache.kafka.connect.data.Schema |
rowSchema(com.datastax.driver.core.TableMetadata tm)
Assemble the Kafka connect
Schema for the "after" field of the change event
based on the Cassandra table schema. |
String |
toString() |
public void addCell(CellData cellData)
public void removeCell(String columnName)
public boolean hasCell(String columnName)
public org.apache.kafka.connect.data.Struct record(org.apache.kafka.connect.data.Schema schema)
KafkaRecordrecord in interface KafkaRecordschema - of the Structpublic RowData copy()
static org.apache.kafka.connect.data.Schema rowSchema(com.datastax.driver.core.TableMetadata tm)
Schema for the "after" field of the change event
based on the Cassandra table schema.tm - metadata of a table that contains the Cassandra table schemaCopyright © 2021 JBoss by Red Hat. All rights reserved.