public class CellData extends Object implements AvroRecord
| 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.avro.Schema |
cellSchema(com.datastax.driver.core.ColumnMetadata cm) |
boolean |
equals(Object o) |
int |
hashCode() |
boolean |
isPrimary() |
org.apache.avro.generic.GenericRecord |
record(org.apache.avro.Schema schema)
return an Avro GenericRecord 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.avro.generic.GenericRecord record(org.apache.avro.Schema schema)
AvroRecordrecord in interface AvroRecordschema - of the generic recordstatic org.apache.avro.Schema cellSchema(com.datastax.driver.core.ColumnMetadata cm)
Copyright © 2019 JBoss by Red Hat. All rights reserved.