TextDocumentBatchStatistics Class
- java.
lang. Object - com.
azure. ai. textanalytics. models. TextDocumentBatchStatistics
- com.
public final class TextDocumentBatchStatistics
If isIncludeStatistics() is set to true
this class will will contain information about the request payload.
Constructor Summary
Constructor | Description |
---|---|
TextDocumentBatchStatistics(int documentCount, int validDocumentCount, int invalidDocumentCount, long transactionCount) |
Creates a |
Method Summary
Modifier and Type | Method and Description |
---|---|
int |
getDocumentCount()
Get the document |
int |
getInvalidDocumentCount()
Get the invalid |
long |
getTransactionCount()
Get the transaction |
int |
getValidDocumentCount()
Get the valid |
Methods inherited from java.lang.Object
Constructor Details
TextDocumentBatchStatistics
public TextDocumentBatchStatistics(int documentCount, int validDocumentCount, int invalidDocumentCount, long transactionCount)
Creates a TextDocumentBatchStatistics
model that describes the statistics of batch text.
Parameters:
Method Details
getDocumentCount
public int getDocumentCount()
Get the documentCount property: Number of documents submitted in the request.
Returns:
getInvalidDocumentCount
public int getInvalidDocumentCount()
Get the invalidDocumentCount property: Number of invalid documents. This includes empty, over-size limit or non-supported languages documents.
Returns:
invalidDocumentCount
value.getTransactionCount
public long getTransactionCount()
Get the transactionCount property: Number of transactions for the request.
Returns:
transactionCount
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:
validDocumentCount
value.Applies to
Azure SDK for Java
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for