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
피드백
https://aka.ms/ContentUserFeedback
출시 예정: 2024년 내내 콘텐츠에 대한 피드백 메커니즘으로 GitHub 문제를 단계적으로 폐지하고 이를 새로운 피드백 시스템으로 바꿀 예정입니다. 자세한 내용은 다음을 참조하세요.다음에 대한 사용자 의견 제출 및 보기