Class SearchIndexStatistics
- java.lang.Object
-
- com.azure.search.documents.indexes.models.SearchIndexStatistics
-
public final class SearchIndexStatistics extends Object
Statistics for a given index. Statistics are collected periodically and are not guaranteed to always be up-to-date.
-
-
Constructor Summary
Constructors Constructor Description SearchIndexStatistics(long documentCount, long storageSize)
Creates an instance of SearchIndexStatistics class.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description long
getDocumentCount()
Get the documentCount property: The number of documents in the index.long
getStorageSize()
Get the storageSize property: The amount of storage in bytes consumed by the index.
-
-
-
Method Detail
-
getDocumentCount
public long getDocumentCount()
Get the documentCount property: The number of documents in the index.- Returns:
- the documentCount value.
-
getStorageSize
public long getStorageSize()
Get the storageSize property: The amount of storage in bytes consumed by the index.- Returns:
- the storageSize value.
-
-