| Package | Description |
|---|---|
| io.debezium.connector.mongodb |
| Modifier and Type | Field and Description |
|---|---|
private CollectionId |
RecordMakers.RecordsForCollection.collectionId |
| Modifier and Type | Field and Description |
|---|---|
private Predicate<CollectionId> |
Filters.collectionFilter |
private Map<CollectionId,RecordMakers.RecordsForCollection> |
RecordMakers.recordMakerByCollectionId |
| Modifier and Type | Method and Description |
|---|---|
CollectionId |
RecordMakers.RecordsForCollection.collectionId()
Get the identifier of the collection to which this producer applies.
|
static CollectionId |
CollectionId.parse(String str)
Parse the supplied string, extracting the first 3 parts into a Collection.
|
| Modifier and Type | Method and Description |
|---|---|
Predicate<CollectionId> |
Filters.collectionFilter()
Get the predicate function that determines whether the given collection is to be included.
|
List<CollectionId> |
ConnectionContext.MongoPrimary.collections()
Use the primary to get the identifiers of all the collections in the replica set, applying the current
collection filter configuration.
|
| Modifier and Type | Method and Description |
|---|---|
protected long |
Replicator.copyCollection(CollectionId collectionId,
long timestamp)
Copy the collection, sending to the recorder a record for each document.
|
protected long |
Replicator.copyCollection(com.mongodb.MongoClient primary,
CollectionId collectionId,
long timestamp)
Copy the collection, sending to the recorder a record for each document.
|
RecordMakers.RecordsForCollection |
RecordMakers.forCollection(CollectionId collectionId)
Obtain the record maker for the given table, using the specified columns and sending records to the given consumer.
|
String |
TopicSelector.getTopic(CollectionId collectionId)
Get the name of the topic for the given server name and database name.
|
protected boolean |
Filters.isNotBuiltIn(CollectionId id) |
org.apache.kafka.connect.data.Struct |
SourceInfo.lastOffsetStruct(String replicaSetName,
CollectionId collectionId)
|
int |
RecordMakers.RecordsForCollection.recordObject(CollectionId id,
org.bson.Document object,
long timestamp)
Generate and record one or more source records to describe the given object.
|
| Constructor and Description |
|---|
RecordsForCollection(CollectionId collectionId,
SourceInfo source,
String topicName,
SchemaNameAdjuster adjuster,
Function<org.bson.Document,String> valueTransformer,
BlockingConsumer<org.apache.kafka.connect.source.SourceRecord> recorder,
boolean emitTombstonesOnDelete) |
Copyright © 2018 JBoss by Red Hat. All rights reserved.