MongoDbDatabaseInfoResponse

data class MongoDbDatabaseInfoResponse(val averageDocumentSize: Double, val collections: List<MongoDbCollectionInfoResponse>, val dataSize: Double, val documentCount: Double, val name: String, val qualifiedName: String, val supportsSharding: Boolean)

Describes a database within a MongoDB data source

Constructors

Link copied to clipboard
constructor(averageDocumentSize: Double, collections: List<MongoDbCollectionInfoResponse>, dataSize: Double, documentCount: Double, name: String, qualifiedName: String, supportsSharding: Boolean)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

The average document size, or -1 if the average size is unknown

Link copied to clipboard

A list of supported collections in a MongoDB database

Link copied to clipboard

The estimated total data size, in bytes, or -1 if the size is unknown.

Link copied to clipboard

The estimated total number of documents, or -1 if the document count is unknown

Link copied to clipboard

The unqualified name of the database or collection

Link copied to clipboard

The qualified name of the database or collection. For a collection, this is the database-qualified name.

Link copied to clipboard

Whether the database has sharding enabled. Note that the migration task will enable sharding on the target if necessary.