IndexStats
in package
FinalYes
Table of Contents
Properties
- $avgDocumentSize : int
- $fieldDistribution : array<string|int, mixed>
- $isIndexing : bool
- $numberOfDocuments : int
- $numberOfEmbeddedDocuments : int
- $numberOfEmbeddings : int
- $rawDocumentDbSize : int
Methods
- __construct() : mixed
- fromArray() : self
- getAvgDocumentSize() : int
- getFieldDistribution() : array<string|int, mixed>
- getNumberOfDocuments() : int
- getNumberOfEmbeddedDocuments() : int
- getNumberOfEmbeddings() : int
- getRawDocumentDbSize() : int
- isIndexing() : bool
Properties
$avgDocumentSize read-only
private
int
$avgDocumentSize
$fieldDistribution read-only
private
array<string|int, mixed>
$fieldDistribution
$isIndexing read-only
private
bool
$isIndexing
$numberOfDocuments read-only
private
int
$numberOfDocuments
$numberOfEmbeddedDocuments read-only
private
int
$numberOfEmbeddedDocuments
$numberOfEmbeddings read-only
private
int
$numberOfEmbeddings
$rawDocumentDbSize read-only
private
int
$rawDocumentDbSize
Methods
__construct()
public
__construct(int $numberOfDocuments, int $rawDocumentDbSize, int $avgDocumentSize, bool $isIndexing, int $numberOfEmbeddings, int $numberOfEmbeddedDocuments, array<string|int, mixed> $fieldDistribution) : mixed
Parameters
- $numberOfDocuments : int
- $rawDocumentDbSize : int
- $avgDocumentSize : int
- $isIndexing : bool
- $numberOfEmbeddings : int
- $numberOfEmbeddedDocuments : int
- $fieldDistribution : array<string|int, mixed>
fromArray()
public
static fromArray(array<string|int, mixed> $data) : self
Parameters
- $data : array<string|int, mixed>
Return values
selfgetAvgDocumentSize()
public
getAvgDocumentSize() : int
Return values
intgetFieldDistribution()
public
getFieldDistribution() : array<string|int, mixed>
Return values
array<string|int, mixed>getNumberOfDocuments()
public
getNumberOfDocuments() : int
Return values
intgetNumberOfEmbeddedDocuments()
public
getNumberOfEmbeddedDocuments() : int
Return values
intgetNumberOfEmbeddings()
public
getNumberOfEmbeddings() : int
Return values
intgetRawDocumentDbSize()
public
getRawDocumentDbSize() : int
Return values
intisIndexing()
public
isIndexing() : bool