public class CellData extends Object implements KafkaRecord
| Modifier and Type | Class and Description |
|---|---|
static class |
CellData.ColumnType
The type of a column in a Cassandra table
|
| Modifier and Type | Field and Description |
|---|---|
static String |
CELL_DELETION_TS_KEY |
static String |
CELL_SET_KEY |
static String |
CELL_VALUE_KEY |
CellData.ColumnType |
columnType |
Object |
deletionTs |
String |
name |
Object |
value |
| Constructor and Description |
|---|
CellData(String name,
Object value,
Object deletionTs,
CellData.ColumnType columnType) |
| Modifier and Type | Method and Description |
|---|---|
(package private) static org.apache.kafka.connect.data.Schema |
cellSchema(com.datastax.driver.core.ColumnMetadata cm,
boolean optional) |
boolean |
equals(Object o) |
int |
hashCode() |
boolean |
isPrimary() |
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
|
String |
toString() |
public static final String CELL_VALUE_KEY
public static final String CELL_DELETION_TS_KEY
public static final String CELL_SET_KEY
public final String name
public final Object value
public final Object deletionTs
public final CellData.ColumnType columnType
public CellData(String name, Object value, Object deletionTs, CellData.ColumnType columnType)
public boolean isPrimary()
public org.apache.kafka.connect.data.Struct record(org.apache.kafka.connect.data.Schema schema)
KafkaRecordrecord in interface KafkaRecordschema - of the Structstatic org.apache.kafka.connect.data.Schema cellSchema(com.datastax.driver.core.ColumnMetadata cm,
boolean optional)
Copyright © 2021 JBoss by Red Hat. All rights reserved.