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
    Constructor
    Description
    Creates an instance of SearchIndexerLimits class.
  • Method Summary

    Modifier and Type
    Method
    Description
    fromJson(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.JsonWriter
    toJson(com.azure.json.JsonWriter jsonWriter)

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods 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

      public Duration getMaxRunTime()
      Get the maxRunTime property: The maximum duration that the indexer is permitted to run for one execution.
      Returns:
      the maxRunTime value.
    • getMaxDocumentExtractionSize

      public Long 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

      public Long 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

      public com.azure.json.JsonWriter toJson(com.azure.json.JsonWriter jsonWriter) throws IOException
      Specified by:
      toJson in interface com.azure.json.JsonSerializable<SearchIndexerLimits>
      Throws:
      IOException
    • fromJson

      public static SearchIndexerLimits fromJson(com.azure.json.JsonReader jsonReader) throws IOException
      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.