SearchServiceCounters Class

  • java.lang.Object
    • com.azure.search.documents.indexes.models.SearchServiceCounters

Implements

public final class SearchServiceCounters
implements JsonSerializable<SearchServiceCounters>

Represents service-level resource counters and quotas.

Method Summary

Modifier and Type Method and Description
static SearchServiceCounters fromJson(JsonReader jsonReader)

Reads an instance of SearchServiceCounters from the JsonReader.

ResourceCounter getAliasCounter()

Get the aliasCounter property: Total number of aliases.

ResourceCounter getDataSourceCounter()

Get the dataSourceCounter property: Total number of data sources.

ResourceCounter getDocumentCounter()

Get the documentCounter property: Total number of documents across all indexes in the service.

ResourceCounter getIndexCounter()

Get the indexCounter property: Total number of indexes.

ResourceCounter getIndexerCounter()

Get the indexerCounter property: Total number of indexers.

ResourceCounter getSkillsetCounter()

Get the skillsetCounter property: Total number of skillsets.

ResourceCounter getStorageSizeCounter()

Get the storageSizeCounter property: Total size of used storage in bytes.

ResourceCounter getSynonymMapCounter()

Get the synonymMapCounter property: Total number of synonym maps.

ResourceCounter getVectorIndexSizeInBytes()

Get the vectorIndexSizeInBytes property: Total memory consumption of all vector indexes within the service, in bytes.

JsonWriter toJson(JsonWriter jsonWriter)

Methods inherited from java.lang.Object

Method Details

fromJson

public static SearchServiceCounters fromJson(JsonReader jsonReader)

Reads an instance of SearchServiceCounters from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of SearchServiceCounters if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.

Throws:

IOException

- If the deserialized JSON object was missing any required properties.

getAliasCounter

public ResourceCounter getAliasCounter()

Get the aliasCounter property: Total number of aliases.

Returns:

the aliasCounter value.

getDataSourceCounter

public ResourceCounter getDataSourceCounter()

Get the dataSourceCounter property: Total number of data sources.

Returns:

the dataSourceCounter value.

getDocumentCounter

public ResourceCounter getDocumentCounter()

Get the documentCounter property: Total number of documents across all indexes in the service.

Returns:

the documentCounter value.

getIndexCounter

public ResourceCounter getIndexCounter()

Get the indexCounter property: Total number of indexes.

Returns:

the indexCounter value.

getIndexerCounter

public ResourceCounter getIndexerCounter()

Get the indexerCounter property: Total number of indexers.

Returns:

the indexerCounter value.

getSkillsetCounter

public ResourceCounter getSkillsetCounter()

Get the skillsetCounter property: Total number of skillsets.

Returns:

the skillsetCounter value.

getStorageSizeCounter

public ResourceCounter getStorageSizeCounter()

Get the storageSizeCounter property: Total size of used storage in bytes.

Returns:

the storageSizeCounter value.

getSynonymMapCounter

public ResourceCounter getSynonymMapCounter()

Get the synonymMapCounter property: Total number of synonym maps.

Returns:

the synonymMapCounter value.

getVectorIndexSizeInBytes

public ResourceCounter getVectorIndexSizeInBytes()

Get the vectorIndexSizeInBytes property: Total memory consumption of all vector indexes within the service, in bytes.

Returns:

the vectorIndexSizeInBytes value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

Applies to