Package io.debezium.connector.cassandra
Class CassandraSchemaFactory.CellData
java.lang.Object
io.debezium.connector.cassandra.CassandraSchemaFactory.CellData
- All Implemented Interfaces:
KafkaRecord
- Enclosing class:
CassandraSchemaFactory
Cell-level data about the source event. Each cell contains the name, value and
type of column in a Cassandra table.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumThe type of column in a Cassandra table -
Field Summary
Fields -
Constructor Summary
ConstructorsModifierConstructorDescriptionprivateCellData(String name, Object value, Object deletionTs, CassandraSchemaFactory.CellData.ColumnType columnType) -
Method Summary
Modifier and TypeMethodDescription(package private) static org.apache.kafka.connect.data.SchemacellSchema(org.apache.kafka.connect.data.Schema columnSchema, boolean optional) booleaninthashCode()booleanorg.apache.kafka.connect.data.Structrecord(org.apache.kafka.connect.data.Schema schema) return an kafka connect Struct based on the schema passed into the methodtoString()
-
Field Details
-
CELL_VALUE_KEY
- See Also:
-
CELL_DELETION_TS_KEY
- See Also:
-
CELL_SET_KEY
- See Also:
-
name
-
value
-
deletionTs
-
columnType
-
-
Constructor Details
-
CellData
private CellData(String name, Object value, Object deletionTs, CassandraSchemaFactory.CellData.ColumnType columnType)
-
-
Method Details
-
isPrimary
public boolean isPrimary() -
record
public org.apache.kafka.connect.data.Struct record(org.apache.kafka.connect.data.Schema schema) Description copied from interface:KafkaRecordreturn an kafka connect Struct based on the schema passed into the method- Specified by:
recordin interfaceKafkaRecord- Parameters:
schema- of the Struct- Returns:
- a Struct
-
cellSchema
static org.apache.kafka.connect.data.Schema cellSchema(org.apache.kafka.connect.data.Schema columnSchema, boolean optional) -
equals
-
hashCode
public int hashCode() -
toString
-