Class IndexerCurrentState
java.lang.Object
com.azure.search.documents.indexes.models.IndexerCurrentState
- All Implemented Interfaces:
com.azure.json.JsonSerializable<IndexerCurrentState>
public final class IndexerCurrentState
extends Object
implements com.azure.json.JsonSerializable<IndexerCurrentState>
Represents all of the state that defines and dictates the indexer's current execution.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic IndexerCurrentStatefromJson(com.azure.json.JsonReader jsonReader) Reads an instance of IndexerCurrentState from the JsonReader.Get the allDocsFinalChangeTrackingState property: Change tracking state value when indexing finishes on all documents in the datasource.Get the allDocsInitialChangeTrackingState property: Change tracking state used when indexing starts on all documents in the datasource.getMode()Get the mode property: The mode the indexer is running in.Get the resetDatasourceDocumentIds property: The list of datasource document ids that have been reset.Get the resetDocsFinalChangeTrackingState property: Change tracking state value when indexing finishes on select, reset documents in the datasource.Get the resetDocsInitialChangeTrackingState property: Change tracking state used when indexing starts on select, reset documents in the datasource.Get the resetDocumentKeys property: The list of document keys that have been reset.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
-
IndexerCurrentState
public IndexerCurrentState()Creates an instance of IndexerCurrentState class.
-
-
Method Details
-
getMode
Get the mode property: The mode the indexer is running in.- Returns:
- the mode value.
-
getAllDocsInitialChangeTrackingState
Get the allDocsInitialChangeTrackingState property: Change tracking state used when indexing starts on all documents in the datasource.- Returns:
- the allDocsInitialChangeTrackingState value.
-
getAllDocsFinalChangeTrackingState
Get the allDocsFinalChangeTrackingState property: Change tracking state value when indexing finishes on all documents in the datasource.- Returns:
- the allDocsFinalChangeTrackingState value.
-
getResetDocsInitialChangeTrackingState
Get the resetDocsInitialChangeTrackingState property: Change tracking state used when indexing starts on select, reset documents in the datasource.- Returns:
- the resetDocsInitialChangeTrackingState value.
-
getResetDocsFinalChangeTrackingState
Get the resetDocsFinalChangeTrackingState property: Change tracking state value when indexing finishes on select, reset documents in the datasource.- Returns:
- the resetDocsFinalChangeTrackingState value.
-
getResetDocumentKeys
Get the resetDocumentKeys property: The list of document keys that have been reset. The document key is the document's unique identifier for the data in the search index. The indexer will prioritize selectively re-ingesting these keys.- Returns:
- the resetDocumentKeys value.
-
getResetDatasourceDocumentIds
Get the resetDatasourceDocumentIds property: The list of datasource document ids that have been reset. The datasource document id is the unique identifier for the data in the datasource. The indexer will prioritize selectively re-ingesting these ids.- Returns:
- the resetDatasourceDocumentIds value.
-
toJson
- Specified by:
toJsonin interfacecom.azure.json.JsonSerializable<IndexerCurrentState>- Throws:
IOException
-
fromJson
Reads an instance of IndexerCurrentState from the JsonReader.- Parameters:
jsonReader- The JsonReader being read.- Returns:
- An instance of IndexerCurrentState 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 IndexerCurrentState.
-