Uses of Class
io.debezium.connector.mongodb.CollectionId
Packages that use CollectionId
Package
Description
-
Uses of CollectionId in io.debezium.connector.mongodb
Fields in io.debezium.connector.mongodb declared as CollectionIdModifier and TypeFieldDescriptionprivate CollectionIdSourceInfo.collectionIdId of collection the current event applies to.private final CollectionIdMongoDbCollectionSchema.idFields in io.debezium.connector.mongodb with type parameters of type CollectionIdModifier and TypeFieldDescriptionprivate final Predicate<CollectionId>Filters.collectionFilterprivate final ConcurrentMap<CollectionId,MongoDbCollectionSchema> MongoDbSchema.collectionsprivate final EventDispatcher<MongoDbPartition,CollectionId> MongoDbChangeEventSourceFactory.dispatcherprivate final EventDispatcher<MongoDbPartition,CollectionId> MongoDbSnapshotChangeEventSource.dispatcherprivate final EventDispatcher<MongoDbPartition,CollectionId> MongoDbStreamingChangeEventSource.dispatcherprivate final IncrementalSnapshotContext<CollectionId>MongoDbOffsetContext.incrementalSnapshotContextprivate final io.debezium.spi.topic.TopicNamingStrategy<CollectionId>MongoDbSchema.topicNamingStrategyMethods in io.debezium.connector.mongodb that return CollectionIdModifier and TypeMethodDescription(package private) CollectionIdSourceInfo.collectionId()static CollectionIdParse the supplied<database_name>.<collection_name>string.Methods in io.debezium.connector.mongodb that return types with arguments of type CollectionIdModifier and TypeMethodDescriptionFilters.collectionFilter()Get the predicate function that determines whether the given collection is to be included.private Predicate<CollectionId>Filters.createCollectionFilter()static TopicSelector<CollectionId>MongoDbTopicSelector.defaultSelector(String prefix, String heartbeatPrefix) Deprecated.Gets the selector for topics for a given prefix, database name, and collection name.MongoDbConnector.getMatchingCollections(Configuration config) io.debezium.spi.topic.TopicNamingStrategy<CollectionId>MongoDbTaskContext.getTopicNamingStrategy()Methods in io.debezium.connector.mongodb with parameters of type CollectionIdModifier and TypeMethodDescriptionvoidSourceInfo.collectionEvent(CollectionId collectionId, long wallTime) Get aStructrepresentation of the source partition and offset information where we have last read.private voidMongoDbSnapshotChangeEventSource.createDataEventsForCollection(ChangeEventSource.ChangeEventSourceContext sourceContext, MongoDbSnapshotChangeEventSource.MongoDbSnapshotContext snapshotContext, EventDispatcher.SnapshotReceiver<MongoDbPartition> snapshotReceiver, CollectionId collectionId, MongoDbConnection mongo, Map<String, String> snapshotFilterQueryForCollection) MongoDbSnapshotChangeEventSource.determineSnapshotQuery(Map<String, String> snapshotFilterQueryForCollection, CollectionId collectionId) FieldSelector.fieldFilterFor(CollectionId id) Returns the field filter for the given collection identifier.Filters.fieldFilterFor(CollectionId id) Get the field filter for a given collection identifier.private ChangeRecordEmitter<MongoDbPartition>MongoDbSnapshotChangeEventSource.getChangeRecordEmitter(AbstractSnapshotChangeEventSource.SnapshotContext<MongoDbPartition, MongoDbOffsetContext> snapshotContext, CollectionId collectionId, org.bson.BsonDocument document) MongoDbConnectorConfig.getSnapshotFilterQueryForCollection(CollectionId collectionId) private static StringMongoDbTopicSelector.getTopicName(CollectionId collectionId, String prefix, String delimiter) Deprecated.Get the name of the topic for a given prefix, database name, and collection name.private booleanFilters.isNotBuiltIn(CollectionId id) private voidSourceInfo.onEvent(CollectionId collectionId, SourceInfo.Position position, long wallTime) voidMongoDbOffsetContext.readEvent(CollectionId collectionId, Instant timestamp) MongoDbSchema.schemaFor(CollectionId collectionId) Method parameters in io.debezium.connector.mongodb with type arguments of type CollectionIdModifier and TypeMethodDescriptionMongoDbTaskContext.getConnection(EventDispatcher<MongoDbPartition, CollectionId> dispatcher, MongoDbPartition partition) Obtains instances ofMongoDbConnectionwhich should be used in event sourcesConstructors in io.debezium.connector.mongodb with parameters of type CollectionIdModifierConstructorDescriptionMongoDbCollectionSchema(CollectionId id, FieldSelector.FieldFilter fieldFilter, org.apache.kafka.connect.data.Schema keySchema, Function<org.bson.BsonDocument, Object> keyGenerator, Envelope envelopeSchema, org.apache.kafka.connect.data.Schema valueSchema, Function<org.bson.BsonDocument, String> valueGenerator) Constructor parameters in io.debezium.connector.mongodb with type arguments of type CollectionIdModifierConstructorDescriptionMongoDbChangeEventSourceFactory(MongoDbConnectorConfig configuration, ErrorHandler errorHandler, EventDispatcher<MongoDbPartition, CollectionId> dispatcher, Clock clock, MongoDbTaskContext taskContext, MongoDbSchema schema, MongoDbStreamingChangeEventSourceMetrics streamingMetrics, SnapshotterService snapshotterService) MongoDbOffsetContext(SourceInfo sourceInfo, TransactionContext transactionContext, IncrementalSnapshotContext<CollectionId> incrementalSnapshotContext) MongoDbSchema(Filters filters, io.debezium.spi.topic.TopicNamingStrategy<CollectionId> topicNamingStrategy, org.apache.kafka.connect.data.Schema sourceSchema, SchemaNameAdjuster schemaNameAdjuster) MongoDbSnapshotChangeEventSource(MongoDbConnectorConfig connectorConfig, MongoDbTaskContext taskContext, EventDispatcher<MongoDbPartition, CollectionId> dispatcher, Clock clock, SnapshotProgressListener<MongoDbPartition> snapshotProgressListener, ErrorHandler errorHandler, NotificationService<MongoDbPartition, MongoDbOffsetContext> notificationService, SnapshotterService snapshotterService) MongoDbStreamingChangeEventSource(MongoDbConnectorConfig connectorConfig, MongoDbTaskContext taskContext, EventDispatcher<MongoDbPartition, CollectionId> dispatcher, ErrorHandler errorHandler, Clock clock, MongoDbStreamingChangeEventSourceMetrics streamingMetrics, SnapshotterService snapshotterService) -
Uses of CollectionId in io.debezium.connector.mongodb.connection
Methods in io.debezium.connector.mongodb.connection that return types with arguments of type CollectionIdModifier and TypeMethodDescriptionMongoDbConnection.collections()Get the identifiers of all the collections, applying the current collection filter configuration.Method parameters in io.debezium.connector.mongodb.connection with type arguments of type CollectionIdModifier and TypeMethodDescriptionstatic MongoDbConnectionMongoDbConnections.create(Configuration configuration, EventDispatcher<MongoDbPartition, CollectionId> dispatcher, MongoDbPartition partition) CreatesMongoDbConnectionwith error handler provided byMongoDbConnections.eventSourcingErrorHandler(EventDispatcher, MongoDbPartition)MongoDbConnections.eventSourcingErrorHandler(EventDispatcher<MongoDbPartition, CollectionId> dispatcher, MongoDbPartition partition) CreatesMongoDbConnection.ErrorHandlerthat Logs the error Notifies dispatcher in case of of authorisation error Rethrows the error asDebeziumException -
Uses of CollectionId in io.debezium.connector.mongodb.snapshot
Fields in io.debezium.connector.mongodb.snapshot declared as CollectionIdModifier and TypeFieldDescriptionprivate final CollectionIdMongoDbDeleteWindowCloser.collectionIdprivate final CollectionIdMongoDbInsertWindowCloser.collectionIdprivate final CollectionIdMongoDbIncrementalSnapshotChangeEventSource.signallingCollectionIdFields in io.debezium.connector.mongodb.snapshot with type parameters of type CollectionIdModifier and TypeFieldDescriptionprotected IncrementalSnapshotContext<CollectionId>MongoDbIncrementalSnapshotChangeEventSource.contextprotected EventDispatcher<MongoDbPartition,CollectionId> MongoDbIncrementalSnapshotChangeEventSource.dispatcherMethods in io.debezium.connector.mongodb.snapshot with parameters of type CollectionIdModifier and TypeMethodDescriptionprivate WatermarkWindowCloserMongoDbIncrementalSnapshotChangeEventSource.getWatermarkWindowCloser(CommonConnectorConfig connectorConfig, MongoDbConnection mongoDbConnection, CollectionId collectionId) Method parameters in io.debezium.connector.mongodb.snapshot with type arguments of type CollectionIdModifier and TypeMethodDescriptionprotected voidMongoDbIncrementalSnapshotChangeEventSource.postReadChunk(IncrementalSnapshotContext<CollectionId> context) protected voidMongoDbIncrementalSnapshotChangeEventSource.preReadChunk(IncrementalSnapshotContext<CollectionId> context) protected voidMongoDbIncrementalSnapshotChangeEventSource.sendEvent(EventDispatcher<MongoDbPartition, CollectionId> dispatcher, MongoDbPartition partition, MongoDbOffsetContext offsetContext, Object[] row) protected voidMongoDbIncrementalSnapshotChangeEventSource.setContext(IncrementalSnapshotContext<CollectionId> context) Constructors in io.debezium.connector.mongodb.snapshot with parameters of type CollectionIdModifierConstructorDescriptionMongoDbDeleteWindowCloser(MongoDbConnection mongoDbConnection, CollectionId collectionId, MongoDbIncrementalSnapshotChangeEventSource incrementalSnapshotChangeEventSource) MongoDbInsertWindowCloser(MongoDbConnection jdbcConnection, CollectionId collectionId) Constructor parameters in io.debezium.connector.mongodb.snapshot with type arguments of type CollectionIdModifierConstructorDescriptionMongoDbIncrementalSnapshotChangeEventSource(MongoDbConnectorConfig config, MongoDbTaskContext taskContext, EventDispatcher<MongoDbPartition, CollectionId> dispatcher, MongoDbSchema collectionSchema, Clock clock, SnapshotProgressListener<MongoDbPartition> progressListener, DataChangeEventListener<MongoDbPartition> dataChangeEventListener, NotificationService<MongoDbPartition, ? extends OffsetContext> notificationService)