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
ConstructorsConstructorDescriptionTextDocumentBatchStatistics(int documentCount, int validDocumentCount, int invalidDocumentCount, long transactionCount) Creates aTextDocumentBatchStatisticsmodel that describes the statistics of batch text. -
Method Summary
Modifier and TypeMethodDescriptionintGet the documentCount property: Number of documents submitted in the request.intGet the invalidDocumentCount property: Number of invalid documents.longGet the transactionCount property: Number of transactions for the request.intGet the validDocumentCount property: Number of valid documents.
-
Constructor Details
-
TextDocumentBatchStatistics
public TextDocumentBatchStatistics(int documentCount, int validDocumentCount, int invalidDocumentCount, long transactionCount) Creates aTextDocumentBatchStatisticsmodel 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
validDocumentCountvalue.
-
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
invalidDocumentCountvalue.
-
getTransactionCount
public long getTransactionCount()Get the transactionCount property: Number of transactions for the request.- Returns:
- the
transactionCountvalue.
-