Class SearchIndexerLimits
java.lang.Object
com.azure.search.documents.indexes.models.SearchIndexerLimits
- All Implemented Interfaces:
com.azure.json.JsonSerializable<SearchIndexerLimits>
public final class SearchIndexerLimits
extends Object
implements com.azure.json.JsonSerializable<SearchIndexerLimits>
The SearchIndexerLimits model.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic SearchIndexerLimitsfromJson(com.azure.json.JsonReader jsonReader) Reads an instance of SearchIndexerLimits from the JsonReader.Get the maxDocumentContentCharactersToExtract property: The maximum number of characters that will be extracted from a document picked up for indexing.Get the maxDocumentExtractionSize property: The maximum size of a document, in bytes, which will be considered valid for indexing.Get the maxRunTime property: The maximum duration that the indexer is permitted to run for one execution.com.azure.json.JsonWritertoJson(com.azure.json.JsonWriter jsonWriter) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.azure.json.JsonSerializable
toJson, toJson, toJsonBytes, toJsonString
-
Constructor Details
-
SearchIndexerLimits
public SearchIndexerLimits()Creates an instance of SearchIndexerLimits class.
-
-
Method Details
-
getMaxRunTime
Get the maxRunTime property: The maximum duration that the indexer is permitted to run for one execution.- Returns:
- the maxRunTime value.
-
getMaxDocumentExtractionSize
Get the maxDocumentExtractionSize property: The maximum size of a document, in bytes, which will be considered valid for indexing.- Returns:
- the maxDocumentExtractionSize value.
-
getMaxDocumentContentCharactersToExtract
Get the maxDocumentContentCharactersToExtract property: The maximum number of characters that will be extracted from a document picked up for indexing.- Returns:
- the maxDocumentContentCharactersToExtract value.
-
toJson
- Specified by:
toJsonin interfacecom.azure.json.JsonSerializable<SearchIndexerLimits>- Throws:
IOException
-
fromJson
Reads an instance of SearchIndexerLimits from the JsonReader.- Parameters:
jsonReader- The JsonReader being read.- Returns:
- An instance of SearchIndexerLimits if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.
- Throws:
IOException- If an error occurs while reading the SearchIndexerLimits.
-