IndexStatisticsSummary Class
- java.
lang. Object - com.
azure. search. documents. indexes. models. IndexStatisticsSummary
- com.
Implements
public final class IndexStatisticsSummary
implements JsonSerializable<IndexStatisticsSummary>
Statistics for a given index. Statistics are collected periodically and are not guaranteed to always be up-to-date.
Constructor Summary
| Constructor | Description |
|---|---|
| IndexStatisticsSummary(String name, long documentCount, long storageSize, long vectorIndexSize) |
Creates an instance of Index |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Index |
fromJson(JsonReader jsonReader)
Reads an instance of Index |
| long |
getDocumentCount()
Get the document |
| String |
getName()
Get the name property: The name of the index. |
| long |
getStorageSize()
Get the storage |
| long |
getVectorIndexSize()
Get the vector |
|
Json |
toJson(JsonWriter jsonWriter) |
Methods inherited from java.lang.Object
Constructor Details
IndexStatisticsSummary
public IndexStatisticsSummary(String name, long documentCount, long storageSize, long vectorIndexSize)
Creates an instance of IndexStatisticsSummary class.
Parameters:
Method Details
fromJson
public static IndexStatisticsSummary fromJson(JsonReader jsonReader)
Reads an instance of IndexStatisticsSummary from the JsonReader.
Parameters:
Returns:
Throws:
getDocumentCount
public long getDocumentCount()
Get the documentCount property: The number of documents in the index.
Returns:
getName
public String getName()
Get the name property: The name of the index.
Returns:
getStorageSize
public long getStorageSize()
Get the storageSize property: The amount of storage in bytes consumed by the index.
Returns:
getVectorIndexSize
public long getVectorIndexSize()
Get the vectorIndexSize property: The amount of memory in bytes consumed by vectors in the index.
Returns: