MongoDbDatabaseProgressResponse

data class MongoDbDatabaseProgressResponse(val bytesCopied: Double, val collections: Map<String, MongoDbCollectionProgressResponse>? = null, val documentsCopied: Double, val elapsedTime: String, val errors: Map<String, MongoDbErrorResponse>, val eventsPending: Double, val eventsReplayed: Double, val lastEventTime: String? = null, val lastReplayTime: String? = null, val name: String? = null, val qualifiedName: String? = null, val resultType: String, val state: String, val totalBytes: Double, val totalDocuments: Double)

Describes the progress of a database

Constructors

Link copied to clipboard
constructor(bytesCopied: Double, collections: Map<String, MongoDbCollectionProgressResponse>? = null, documentsCopied: Double, elapsedTime: String, errors: Map<String, MongoDbErrorResponse>, eventsPending: Double, eventsReplayed: Double, lastEventTime: String? = null, lastReplayTime: String? = null, name: String? = null, qualifiedName: String? = null, resultType: String, state: String, totalBytes: Double, totalDocuments: Double)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

The number of document bytes copied during the Copying stage

Link copied to clipboard

The progress of the collections in the database. The keys are the unqualified names of the collections

Link copied to clipboard

The number of documents copied during the Copying stage

Link copied to clipboard

The elapsed time in the format ddd.hh:mm:ss.fffffff (i.e. TimeSpan format)

Link copied to clipboard

The errors and warnings that have occurred for the current object. The keys are the error codes.

Link copied to clipboard

The number of oplog events awaiting replay

Link copied to clipboard

The number of oplog events replayed so far

Link copied to clipboard
val lastEventTime: String? = null

The timestamp of the last oplog event received, or null if no oplog event has been received yet

Link copied to clipboard
val lastReplayTime: String? = null

The timestamp of the last oplog event replayed, or null if no oplog event has been replayed yet

Link copied to clipboard
val name: String? = null

The name of the progress object. For a collection, this is the unqualified collection name. For a database, this is the database name. For the overall migration, this is null.

Link copied to clipboard
val qualifiedName: String? = null

The qualified name of the progress object. For a collection, this is the database-qualified name. For a database, this is the database name. For the overall migration, this is null.

Link copied to clipboard

The type of progress object Expected value is 'Database'.

Link copied to clipboard
Link copied to clipboard

The total number of document bytes on the source at the beginning of the Copying stage, or -1 if the total size was unknown

Link copied to clipboard

The total number of documents on the source at the beginning of the Copying stage, or -1 if the total count was unknown