Class

reactivemongo.api.commands

CollStatsResult

Related Doc: package commands

Permalink

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, indexSizes: Array[(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.

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.

maxSize

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

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

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, indexSizes: Array[(String, Int)], capped: Boolean, max: Option[Long], maxSize: Option[Double] = None)

    Permalink

    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.

    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.

    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

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. def +(other: String): String

    Permalink
    Implicit information
    This member is added by an implicit conversion from CollStatsResult to any2stringadd[CollStatsResult] performed by method any2stringadd in scala.Predef.
    Definition Classes
    any2stringadd
  4. def ->[B](y: B): (CollStatsResult, B)

    Permalink
    Implicit information
    This member is added by an implicit conversion from CollStatsResult to ArrowAssoc[CollStatsResult] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc
    Annotations
    @inline()
  5. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  6. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  7. val averageObjectSize: Option[Double]

    Permalink

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

  8. val capped: Boolean

    Permalink

    States if this collection is capped.

  9. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  10. val count: Int

    Permalink

    The number of documents in this collection.

  11. def ensuring(cond: (CollStatsResult) ⇒ Boolean, msg: ⇒ Any): CollStatsResult

    Permalink
    Implicit information
    This member is added by an implicit conversion from CollStatsResult to Ensuring[CollStatsResult] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  12. def ensuring(cond: (CollStatsResult) ⇒ Boolean): CollStatsResult

    Permalink
    Implicit information
    This member is added by an implicit conversion from CollStatsResult to Ensuring[CollStatsResult] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  13. def ensuring(cond: Boolean, msg: ⇒ Any): CollStatsResult

    Permalink
    Implicit information
    This member is added by an implicit conversion from CollStatsResult to Ensuring[CollStatsResult] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  14. def ensuring(cond: Boolean): CollStatsResult

    Permalink
    Implicit information
    This member is added by an implicit conversion from CollStatsResult to Ensuring[CollStatsResult] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  15. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  16. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  17. def formatted(fmtstr: String): String

    Permalink
    Implicit information
    This member is added by an implicit conversion from CollStatsResult to StringFormat[CollStatsResult] performed by method StringFormat in scala.Predef.
    Definition Classes
    StringFormat
    Annotations
    @inline()
  18. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  19. val indexSizes: Array[(String, Int)]

    Permalink

    Size of specific indexes in bytes.

  20. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  21. val lastExtentSize: Option[Int]

    Permalink

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

  22. val max: Option[Long]

    Permalink

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

  23. val maxSize: Option[Double]

    Permalink

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

  24. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  25. val nindexes: Int

    Permalink

    Number of indexes.

  26. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  27. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  28. val ns: String

    Permalink

    The fully qualified collection name.

  29. val numExtents: Option[Int]

    Permalink

    Number of extents (contiguously allocated chunks of datafile space, only for mmapv1 storage engine).

  30. val paddingFactor: Option[Double]

    Permalink

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

  31. val size: Double

    Permalink

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

  32. val storageSize: Double

    Permalink

    Preallocated space for the collection.

  33. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  34. val systemFlags: Option[Int]

    Permalink

    System flags.

  35. val totalIndexSize: Int

    Permalink
  36. val userFlags: Option[Int]

    Permalink

    User flags.

  37. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  38. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  39. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  40. def [B](y: B): (CollStatsResult, B)

    Permalink
    Implicit information
    This member is added by an implicit conversion from CollStatsResult to ArrowAssoc[CollStatsResult] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc

Deprecated Value Members

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

    Permalink
    Annotations
    @deprecated
    Deprecated

    (Since version 0.11.10) Use copy with maxSize

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from AnyRef

Inherited from Any

Inherited by implicit conversion any2stringadd from CollStatsResult to any2stringadd[CollStatsResult]

Inherited by implicit conversion StringFormat from CollStatsResult to StringFormat[CollStatsResult]

Inherited by implicit conversion Ensuring from CollStatsResult to Ensuring[CollStatsResult]

Inherited by implicit conversion ArrowAssoc from CollStatsResult to ArrowAssoc[CollStatsResult]

Ungrouped