public class RowData extends Object implements AvroRecord
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() |
private static org.apache.avro.Schema |
nullableCellSchema(com.datastax.driver.core.ColumnMetadata cm) |
org.apache.avro.generic.GenericRecord |
record(org.apache.avro.Schema schema)
return an Avro GenericRecord based on the schema passed into the method
|
void |
removeCell(String columnName) |
(package private) static org.apache.avro.Schema |
rowSchema(com.datastax.driver.core.TableMetadata tm)
Assemble the Avro
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.avro.generic.GenericRecord record(org.apache.avro.Schema schema)
AvroRecordrecord in interface AvroRecordschema - of the generic recordpublic RowData copy()
static org.apache.avro.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 schemaprivate static org.apache.avro.Schema nullableCellSchema(com.datastax.driver.core.ColumnMetadata cm)
Copyright © 2019 JBoss by Red Hat. All rights reserved.