c

reactivemongo.api.commands

CollStatsResult

case class CollStatsResult(ns: String, count: Int, size: Double, averageObjectSize: Option[Double], storageSize: Double, numExtents: Option[Int], nindexes: Int, lastExtentSize: Option[Int], paddingFactor: Option[Double], systemFlags: Option[Int], userFlags: Option[Int], totalIndexSize: Int, sizePerIndex: List[(String, Int)], capped: Boolean, max: Option[Long], maxSize: Option[Double] = None) 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, only for mmapv1 storage engine).

nindexes

Number of indexes.

lastExtentSize

Size of the most recently created extent (only for mmapv1 storage engine).

paddingFactor

Padding can speed up updates if documents grow (only for mmapv1 storage engine).

systemFlags

System flags.

userFlags

User flags.

capped

States if this collection is capped.

max

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

maxSize

The maximum size in bytes (or in bytes / scale, if any) 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: Option[Int], nindexes: Int, lastExtentSize: Option[Int], paddingFactor: Option[Double], systemFlags: Option[Int], userFlags: Option[Int], totalIndexSize: Int, sizePerIndex: List[(String, Int)], capped: Boolean, max: Option[Long], maxSize: Option[Double] = None)

    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, only for mmapv1 storage engine).

    nindexes

    Number of indexes.

    lastExtentSize

    Size of the most recently created extent (only for mmapv1 storage engine).

    paddingFactor

    Padding can speed up updates if documents grow (only for mmapv1 storage engine).

    systemFlags

    System flags.

    userFlags

    User flags.

    capped

    States if this collection is capped.

    max

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

    maxSize

    The maximum size in bytes (or in bytes / scale, if any) of this collection, if capped.

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. def +(other: String): String
    Implicit
    This member is added by an implicit conversion from CollStatsResult toany2stringadd[CollStatsResult] performed by method any2stringadd in scala.Predef.
    Definition Classes
    any2stringadd
  4. def ->[B](y: B): (CollStatsResult, B)
    Implicit
    This member is added by an implicit conversion from CollStatsResult toArrowAssoc[CollStatsResult] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc
    Annotations
    @inline()
  5. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  6. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  7. val averageObjectSize: Option[Double]
  8. val capped: Boolean
  9. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  10. val count: Int
  11. def ensuring(cond: (CollStatsResult) => Boolean, msg: => Any): CollStatsResult
    Implicit
    This member is added by an implicit conversion from CollStatsResult toEnsuring[CollStatsResult] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  12. def ensuring(cond: (CollStatsResult) => Boolean): CollStatsResult
    Implicit
    This member is added by an implicit conversion from CollStatsResult toEnsuring[CollStatsResult] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  13. def ensuring(cond: Boolean, msg: => Any): CollStatsResult
    Implicit
    This member is added by an implicit conversion from CollStatsResult toEnsuring[CollStatsResult] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  14. def ensuring(cond: Boolean): CollStatsResult
    Implicit
    This member is added by an implicit conversion from CollStatsResult toEnsuring[CollStatsResult] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  15. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  16. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  17. def formatted(fmtstr: String): String
    Implicit
    This member is added by an implicit conversion from CollStatsResult toStringFormat[CollStatsResult] performed by method StringFormat in scala.Predef.
    Definition Classes
    StringFormat
    Annotations
    @inline()
  18. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  19. def indexSizes: Array[(String, Int)]
    Annotations
    @inline()
  20. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  21. val lastExtentSize: Option[Int]
  22. val max: Option[Long]
  23. val maxSize: Option[Double]
  24. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  25. val nindexes: Int
  26. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  27. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  28. val ns: String
  29. val numExtents: Option[Int]
  30. val paddingFactor: Option[Double]
  31. def productElementNames: Iterator[String]
    Definition Classes
    Product
  32. val size: Double
  33. val sizePerIndex: List[(String, Int)]
  34. val storageSize: Double
  35. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  36. val systemFlags: Option[Int]
  37. def toString(): String
    Definition Classes
    CollStatsResult → AnyRef → Any
  38. val totalIndexSize: Int
  39. val userFlags: Option[Int]
  40. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  41. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  42. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()

Deprecated Value Members

  1. def [B](y: B): (CollStatsResult, B)
    Implicit
    This member is added by an implicit conversion from CollStatsResult toArrowAssoc[CollStatsResult] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc
    Annotations
    @deprecated
    Deprecated

    (Since version 2.13.0) Use -> instead. If you still wish to display it as one character, consider using a font with programming ligatures such as Fira Code.

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from AnyRef

Inherited from Any

Inherited by implicit conversion any2stringadd fromCollStatsResult to any2stringadd[CollStatsResult]

Inherited by implicit conversion StringFormat fromCollStatsResult to StringFormat[CollStatsResult]

Inherited by implicit conversion Ensuring fromCollStatsResult to Ensuring[CollStatsResult]

Inherited by implicit conversion ArrowAssoc fromCollStatsResult to ArrowAssoc[CollStatsResult]

Ungrouped