SearchServiceCounters Class
- java.
lang. Object - com.
azure. search. documents. indexes. models. SearchServiceCounters
- com.
Implements
public final class SearchServiceCounters
implements JsonSerializable<SearchServiceCounters>
Represents service-level resource counters and quotas.
Constructor Summary
Constructor | Description |
---|---|
SearchServiceCounters(ResourceCounter documentCounter, ResourceCounter indexCounter, ResourceCounter indexerCounter, ResourceCounter dataSourceCounter, ResourceCounter storageSizeCounter, ResourceCounter synonymMapCounter) |
Creates an instance of Search |
Method Summary
Modifier and Type | Method and Description |
---|---|
static
Search |
fromJson(JsonReader jsonReader)
Reads an instance of Search |
Resource |
getDataSourceCounter()
Get the data |
Resource |
getDocumentCounter()
Get the document |
Resource |
getIndexCounter()
Get the index |
Resource |
getIndexerCounter()
Get the indexer |
Resource |
getSkillsetCounter()
Get the skillset |
Resource |
getStorageSizeCounter()
Get the storage |
Resource |
getSynonymMapCounter()
Get the synonym |
Resource |
getVectorIndexSizeCounter()
Get the vector |
Search |
setSkillsetCounter(ResourceCounter skillsetCounter)
Set the skillset |
Search |
setVectorIndexSizeCounter(ResourceCounter vectorIndexSizeCounter)
Set the vector |
Json |
toJson(JsonWriter jsonWriter) |
Methods inherited from java.lang.Object
Constructor Details
SearchServiceCounters
public SearchServiceCounters(ResourceCounter documentCounter, ResourceCounter indexCounter, ResourceCounter indexerCounter, ResourceCounter dataSourceCounter, ResourceCounter storageSizeCounter, ResourceCounter synonymMapCounter)
Creates an instance of SearchServiceCounters class.
Parameters:
Method Details
fromJson
public static SearchServiceCounters fromJson(JsonReader jsonReader)
Reads an instance of SearchServiceCounters from the JsonReader.
Parameters:
Returns:
Throws:
getDataSourceCounter
public ResourceCounter getDataSourceCounter()
Get the dataSourceCounter property: Total number of data sources.
Returns:
getDocumentCounter
public ResourceCounter getDocumentCounter()
Get the documentCounter property: Total number of documents across all indexes in the service.
Returns:
getIndexCounter
public ResourceCounter getIndexCounter()
Get the indexCounter property: Total number of indexes.
Returns:
getIndexerCounter
public ResourceCounter getIndexerCounter()
Get the indexerCounter property: Total number of indexers.
Returns:
getSkillsetCounter
public ResourceCounter getSkillsetCounter()
Get the skillsetCounter property: Total number of skillsets.
Returns:
getStorageSizeCounter
public ResourceCounter getStorageSizeCounter()
Get the storageSizeCounter property: Total size of used storage in bytes.
Returns:
getSynonymMapCounter
public ResourceCounter getSynonymMapCounter()
Get the synonymMapCounter property: Total number of synonym maps.
Returns:
getVectorIndexSizeCounter
public ResourceCounter getVectorIndexSizeCounter()
Get the vectorIndexSizeCounter property: Total memory consumption of all vector indexes within the service, in bytes.
Returns:
setSkillsetCounter
public SearchServiceCounters setSkillsetCounter(ResourceCounter skillsetCounter)
Set the skillsetCounter property: Total number of skillsets.
Parameters:
Returns:
setVectorIndexSizeCounter
public SearchServiceCounters setVectorIndexSizeCounter(ResourceCounter vectorIndexSizeCounter)
Set the vectorIndexSizeCounter property: Total memory consumption of all vector indexes within the service, in bytes.
Parameters:
Returns:
toJson
Applies to
Azure SDK for Java