| Package | Description |
|---|---|
| io.debezium.connector.mongodb |
| Modifier and Type | Field and Description |
|---|---|
private CollectionId |
SourceInfo.collectionId
Id of collection the current event applies to.
|
private CollectionId |
MongoDbCollectionSchema.id |
| Modifier and Type | Field and Description |
|---|---|
private Predicate<CollectionId> |
Filters.collectionFilter |
private Map<CollectionId,MongoDbCollectionSchema> |
MongoDbSchema.collections |
private EventDispatcher<CollectionId> |
MongoDbStreamingChangeEventSource.dispatcher |
private EventDispatcher<CollectionId> |
MongoDbSnapshotChangeEventSource.dispatcher |
private EventDispatcher<CollectionId> |
MongoDbChangeEventSourceFactory.dispatcher |
private TopicSelector<CollectionId> |
MongoDbTaskContext.topicSelector |
private TopicSelector<CollectionId> |
MongoDbSchema.topicSelector |
| Modifier and Type | Method and Description |
|---|---|
(package private) CollectionId |
SourceInfo.collectionId() |
static CollectionId |
CollectionId.parse(String replicaSetName,
String str)
Parse the supplied
<database_name>.<collection_name> string. |
| 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.
|
static TopicSelector<CollectionId> |
MongoDbTopicSelector.defaultSelector(String prefix,
String heartbeatPrefix)
Gets the selector for topics for a given prefix, database name, and collection name.
|
TopicSelector<CollectionId> |
MongoDbTaskContext.topicSelector() |
| Modifier and Type | Method and Description |
|---|---|
void |
SourceInfo.collectionEvent(String replicaSetName,
CollectionId collectionId)
|
private void |
MongoDbSnapshotChangeEventSource.createDataEventsForCollection(ChangeEventSource.ChangeEventSourceContext sourceContext,
MongoDbSnapshotChangeEventSource.MongoDbSnapshotContext snapshotContext,
EventDispatcher.SnapshotReceiver snapshotReceiver,
ReplicaSet replicaSet,
CollectionId collectionId,
ConnectionContext.MongoPrimary primaryClient) |
FieldSelector.FieldFilter |
Filters.fieldFilterFor(CollectionId id)
Get the field filter for a given collection identifier.
|
FieldSelector.FieldFilter |
FieldSelector.fieldFilterFor(CollectionId id)
Returns the field filter for the given collection identifier.
|
protected ChangeRecordEmitter |
MongoDbSnapshotChangeEventSource.getChangeRecordEmitter(AbstractSnapshotChangeEventSource.SnapshotContext snapshotContext,
CollectionId collectionId,
org.bson.Document document,
ReplicaSet replicaSet) |
private static String |
MongoDbTopicSelector.getTopicName(CollectionId collectionId,
String prefix,
String delimiter)
Get the name of the topic for a given prefix, database name, and collection name.
|
protected boolean |
Filters.isNotBuiltIn(CollectionId id) |
private void |
SourceInfo.onEvent(String replicaSetName,
CollectionId collectionId,
SourceInfo.Position position) |
void |
ReplicaSetOffsetContext.readEvent(CollectionId collectionId,
Instant timestamp) |
DataCollectionSchema |
MongoDbSchema.schemaFor(CollectionId collectionId) |
| Constructor and Description |
|---|
MongoDbCollectionSchema(CollectionId id,
FieldSelector.FieldFilter fieldFilter,
org.apache.kafka.connect.data.Schema keySchema,
Function<org.bson.Document,Object> keyGenerator,
Envelope envelopeSchema,
org.apache.kafka.connect.data.Schema valueSchema,
Function<org.bson.Document,String> valueGenerator) |
Copyright © 2020 JBoss by Red Hat. All rights reserved.