public static class KeyValueStore.Collection extends Object
| Modifier and Type | Field and Description |
|---|---|
private io.debezium.relational.TableId |
id |
private org.apache.kafka.connect.data.Schema |
keySchema |
private List<org.apache.kafka.connect.data.Schema> |
keySchemas |
private SourceRecordStats |
stats |
private Map<org.apache.kafka.connect.data.Struct,org.apache.kafka.connect.source.SourceRecord> |
valuesByKey |
private org.apache.kafka.connect.data.Schema |
valueSchema |
private List<org.apache.kafka.connect.data.Schema> |
valueSchemas |
| Modifier | Constructor and Description |
|---|---|
protected |
Collection(io.debezium.relational.TableId id) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
add(org.apache.kafka.connect.source.SourceRecord record) |
void |
forEach(Consumer<org.apache.kafka.connect.source.SourceRecord> consumer) |
int |
keySchemaChanges() |
long |
numberOfCreates()
Get the number of
CREATE records added to this collection. |
long |
numberOfDeletes()
Get the number of
DELETE records added to this collection. |
long |
numberOfKeySchemaChanges()
Get the number of changes to the key schema for events in this collection.
|
long |
numberOfReads()
Get the number of
READ records added to this collection. |
long |
numberOfTombstones()
Get the number of tombstone records that were
added to this collection. |
long |
numberOfUpdates()
Get the number of
UPDATE records added to this collection. |
long |
numberOfValueSchemaChanges()
Get the number of changes to the key schema for events in this collection.
|
int |
size() |
io.debezium.relational.TableId |
tableId() |
org.apache.kafka.connect.data.Struct |
value(org.apache.kafka.connect.data.Struct key) |
int |
valueSchemaChanges() |
private final io.debezium.relational.TableId id
private org.apache.kafka.connect.data.Schema keySchema
private org.apache.kafka.connect.data.Schema valueSchema
private final List<org.apache.kafka.connect.data.Schema> keySchemas
private final List<org.apache.kafka.connect.data.Schema> valueSchemas
private final Map<org.apache.kafka.connect.data.Struct,org.apache.kafka.connect.source.SourceRecord> valuesByKey
private final SourceRecordStats stats
public io.debezium.relational.TableId tableId()
public long numberOfKeySchemaChanges()
public long numberOfValueSchemaChanges()
public long numberOfCreates()
CREATE records added to this collection.public long numberOfDeletes()
DELETE records added to this collection.public long numberOfReads()
READ records added to this collection.public long numberOfUpdates()
UPDATE records added to this collection.public long numberOfTombstones()
added to this collection.public int size()
public int keySchemaChanges()
public int valueSchemaChanges()
public org.apache.kafka.connect.data.Struct value(org.apache.kafka.connect.data.Struct key)
public void forEach(Consumer<org.apache.kafka.connect.source.SourceRecord> consumer)
protected void add(org.apache.kafka.connect.source.SourceRecord record)
Copyright © 2016 JBoss by Red Hat. All rights reserved.