public class MapperFactory
extends java.lang.Object
implements java.io.Serializable
| Constructor and Description |
|---|
MapperFactory() |
| Modifier and Type | Method and Description |
|---|---|
ChangeStreamRecordMapper |
changeStreamRecordMapper()
Creates and returns a singleton instance of a mapper class capable of transforming a
Struct into a List of ChangeStreamRecord subclasses. |
PartitionMetadataMapper |
partitionMetadataMapper()
Creates and returns a single instance of a mapper class capable of transforming a
Struct into a PartitionMetadata class. |
public ChangeStreamRecordMapper changeStreamRecordMapper()
Struct into a List of ChangeStreamRecord subclasses.
This method is thread safe.
ChangeStreamRecordMapperpublic PartitionMetadataMapper partitionMetadataMapper()
Struct into a PartitionMetadata class.
This method is thread safe.
PartitionMetadataMapper