共用方式為


MongoDbProgress interface

MongoDB 移轉輸出的基類

屬性

bytesCopied

複製階段期間複製的檔位元組數目

documentsCopied

複製階段期間複製的檔數目

elapsedTime

格式為 [ddd.] 的經過時間。hh:mm:ss[.fffffff] (亦即 TimeSpan 格式)

errors

目前 物件發生的錯誤和警告。 索引鍵是錯誤碼。

eventsPending

等候重新執行的 oplog 事件數目

eventsReplayed

到目前為止重新執行的 oplog 事件數目

lastEventTime

已收到最後一個 oplog 事件的時間戳記,如果沒有收到 oplog 事件,則為 null

lastReplayTime

上次重新執行 oplog 事件的時間戳記,如果沒有重新執行 oplog 事件,則為 null

name

進度物件的名稱。 對於集合,這是不合格的集合名稱。 對於資料庫,這是資料庫名稱。 針對整體移轉,這會是 null。

qualifiedName

進度物件的限定名稱。 對於集合,這是資料庫限定名稱。 對於資料庫,這是資料庫名稱。 針對整體移轉,這會是 null。

resultType

多型鑒別子,指定此物件可以是的不同類型

state
totalBytes

複製階段開始時來源上的檔位元組總數,如果總大小未知,則為 -1

totalDocuments

複製階段開始時來源上的檔總數,如果總計數未知,則為 -1

屬性詳細資料

bytesCopied

複製階段期間複製的檔位元組數目

bytesCopied: number

屬性值

number

documentsCopied

複製階段期間複製的檔數目

documentsCopied: number

屬性值

number

elapsedTime

格式為 [ddd.] 的經過時間。hh:mm:ss[.fffffff] (亦即 TimeSpan 格式)

elapsedTime: string

屬性值

string

errors

目前 物件發生的錯誤和警告。 索引鍵是錯誤碼。

errors: {[propertyName: string]: MongoDbError}

屬性值

{[propertyName: string]: MongoDbError}

eventsPending

等候重新執行的 oplog 事件數目

eventsPending: number

屬性值

number

eventsReplayed

到目前為止重新執行的 oplog 事件數目

eventsReplayed: number

屬性值

number

lastEventTime

已收到最後一個 oplog 事件的時間戳記,如果沒有收到 oplog 事件,則為 null

lastEventTime?: Date

屬性值

Date

lastReplayTime

上次重新執行 oplog 事件的時間戳記,如果沒有重新執行 oplog 事件,則為 null

lastReplayTime?: Date

屬性值

Date

name

進度物件的名稱。 對於集合,這是不合格的集合名稱。 對於資料庫,這是資料庫名稱。 針對整體移轉,這會是 null。

name?: string

屬性值

string

qualifiedName

進度物件的限定名稱。 對於集合,這是資料庫限定名稱。 對於資料庫,這是資料庫名稱。 針對整體移轉,這會是 null。

qualifiedName?: string

屬性值

string

resultType

多型鑒別子,指定此物件可以是的不同類型

resultType: "Collection" | "Database" | "Migration"

屬性值

"Collection" | "Database" | "Migration"

state

state: string

屬性值

string

totalBytes

複製階段開始時來源上的檔位元組總數,如果總大小未知,則為 -1

totalBytes: number

屬性值

number

totalDocuments

複製階段開始時來源上的檔總數,如果總計數未知,則為 -1

totalDocuments: number

屬性值

number