Class TextDocumentBatchStatistics
java.lang.Object
com.azure.ai.textanalytics.models.TextDocumentBatchStatistics
If
TextAnalyticsRequestOptions.isIncludeStatistics()
is set to true
this class will will contain
information about the request payload.-
Constructor Summary
ConstructorDescriptionTextDocumentBatchStatistics
(int documentCount, int validDocumentCount, int invalidDocumentCount, long transactionCount) Creates aTextDocumentBatchStatistics
model that describes the statistics of batch text. -
Method Summary
Modifier and TypeMethodDescriptionint
Get the documentCount property: Number of documents submitted in the request.int
Get the invalidDocumentCount property: Number of invalid documents.long
Get the transactionCount property: Number of transactions for the request.int
Get the validDocumentCount property: Number of valid documents.
-
Constructor Details
-
TextDocumentBatchStatistics
public TextDocumentBatchStatistics(int documentCount, int validDocumentCount, int invalidDocumentCount, long transactionCount) Creates aTextDocumentBatchStatistics
model that describes the statistics of batch text.- Parameters:
documentCount
- The number of documents submitted in the request.validDocumentCount
- The number of valid documents. This excludes empty, over-size limit or non-supported languages documents.invalidDocumentCount
- The number of invalid documents. This includes empty, over-size limit or non-supported languages documents.transactionCount
- The number of transactions for the request.
-
-
Method Details
-
getDocumentCount
public int getDocumentCount()Get the documentCount property: Number of documents submitted in the request.- Returns:
- The documentCount value.
-
getValidDocumentCount
public int getValidDocumentCount()Get the validDocumentCount property: Number of valid documents. This excludes empty, over-size limit or non-supported languages documents.- Returns:
- The
validDocumentCount
value.
-
getInvalidDocumentCount
public int getInvalidDocumentCount()Get the invalidDocumentCount property: Number of invalid documents. This includes empty, over-size limit or non-supported languages documents.- Returns:
- the
invalidDocumentCount
value.
-
getTransactionCount
public long getTransactionCount()Get the transactionCount property: Number of transactions for the request.- Returns:
- the
transactionCount
value.
-