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.

Annotations
@deprecated
Deprecated

(Since version 0.19.8) Will be replaced by reactivemongo.api.CollStatsResult

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() @HotSpotIntrinsicCandidate()
  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 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()
  17. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  18. def indexSizes: Array[(String, Int)]
    Annotations
    @inline()
  19. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  20. val lastExtentSize: Option[Int]
  21. val max: Option[Long]
  22. val maxSize: Option[Double]
  23. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  24. val nindexes: Int
  25. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  26. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  27. val ns: String
  28. val numExtents: Option[Int]
  29. val paddingFactor: Option[Double]
  30. def productElementNames: Iterator[String]
    Definition Classes
    Product
  31. val size: Double
  32. val sizePerIndex: List[(String, Int)]
  33. val storageSize: Double
  34. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  35. val systemFlags: Option[Int]
  36. def toString(): String
    Definition Classes
    CollStatsResult → AnyRef → Any
  37. val totalIndexSize: Int
  38. val userFlags: Option[Int]
  39. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  40. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  41. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable]) @Deprecated @deprecated
    Deprecated

    (Since version ) see corresponding Javadoc for more information.

  2. 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