case class CollStatsResult(ns: String, count: Int, size: Double, averageObjectSize: Option[Double], storageSize: Double, numExtents: Int, nindexes: Int, lastExtentSize: Option[Int], paddingFactor: Option[Double], systemFlags: Option[Int], userFlags: Option[Int], totalIndexSize: Int, indexSizes: Array[(String, Int)], capped: Boolean, max: Option[Long]) extends Product with Serializable

Various information about a collection.

ns

The fully qualified collection name.

count

The number of documents in this collection.

size

The size in bytes (or in bytes / scale, if any).

averageObjectSize

The average object size in bytes (or in bytes / scale, if any).

storageSize

Preallocated space for the collection.

numExtents

Number of extents (contiguously allocated chunks of datafile space).

nindexes

Number of indexes.

lastExtentSize

Size of the most recently created extent.

paddingFactor

Padding can speed up updates if documents grow.

systemFlags

System flags.

userFlags

User flags.

indexSizes

Size of specific indexes in bytes.

capped

States if this collection is capped.

max

The maximum number of documents of this collection, if capped.

Linear Supertypes
Serializable, Product, Equals, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. CollStatsResult
  2. Serializable
  3. Product
  4. Equals
  5. AnyRef
  6. Any
Implicitly
  1. by any2stringadd
  2. by StringFormat
  3. by Ensuring
  4. by ArrowAssoc
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new CollStatsResult(ns: String, count: Int, size: Double, averageObjectSize: Option[Double], storageSize: Double, numExtents: Int, nindexes: Int, lastExtentSize: Option[Int], paddingFactor: Option[Double], systemFlags: Option[Int], userFlags: Option[Int], totalIndexSize: Int, indexSizes: Array[(String, Int)], capped: Boolean, max: Option[Long])

    ns

    The fully qualified collection name.

    count

    The number of documents in this collection.

    size

    The size in bytes (or in bytes / scale, if any).

    averageObjectSize

    The average object size in bytes (or in bytes / scale, if any).

    storageSize

    Preallocated space for the collection.

    numExtents

    Number of extents (contiguously allocated chunks of datafile space).

    nindexes

    Number of indexes.

    lastExtentSize

    Size of the most recently created extent.

    paddingFactor

    Padding can speed up updates if documents grow.

    systemFlags

    System flags.

    userFlags

    User flags.

    indexSizes

    Size of specific indexes in bytes.

    capped

    States if this collection is capped.

    max

    The maximum number of documents of this collection, if capped.

Value Members

  1. val averageObjectSize: Option[Double]
  2. val capped: Boolean
  3. val count: Int
  4. val indexSizes: Array[(String, Int)]
  5. val lastExtentSize: Option[Int]
  6. val max: Option[Long]
  7. val nindexes: Int
  8. val ns: String
  9. val numExtents: Int
  10. val paddingFactor: Option[Double]
  11. def productElementNames: Iterator[String]
    Definition Classes
    Product
  12. val size: Double
  13. val storageSize: Double
  14. val systemFlags: Option[Int]
  15. val totalIndexSize: Int
  16. val userFlags: Option[Int]