IndexerCurrentState Class
- java.
lang. Object - com.
azure. search. documents. indexes. models. IndexerCurrentState
- com.
Implements
public final class IndexerCurrentState
implements JsonSerializable<IndexerCurrentState>
Represents all of the state that defines and dictates the indexer's current execution.
Constructor Summary
| Constructor | Description |
|---|---|
| IndexerCurrentState() |
Creates an instance of Indexer |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Indexer |
fromJson(JsonReader jsonReader)
Reads an instance of Indexer |
| String |
getAllDocsFinalTrackingState()
Get the all |
| String |
getAllDocsInitialTrackingState()
Get the all |
|
Indexing |
getMode()
Get the mode property: The mode the indexer is running in. |
| List<String> |
getResetDatasourceDocumentIds()
Get the reset |
| String |
getResetDocsFinalTrackingState()
Get the reset |
| String |
getResetDocsInitialTrackingState()
Get the reset |
| List<String> |
getResetDocumentKeys()
Get the reset |
| String |
getResyncFinalTrackingState()
Get the resync |
| String |
getResyncInitialTrackingState()
Get the resync |
|
Json |
toJson(JsonWriter jsonWriter) |
Methods inherited from java.lang.Object
Constructor Details
IndexerCurrentState
public IndexerCurrentState()
Creates an instance of IndexerCurrentState class.
Method Details
fromJson
public static IndexerCurrentState fromJson(JsonReader jsonReader)
Reads an instance of IndexerCurrentState from the JsonReader.
Parameters:
Returns:
Throws:
getAllDocsFinalTrackingState
public String getAllDocsFinalTrackingState()
Get the allDocsFinalTrackingState property: Change tracking state value when indexing finishes on all documents in the datasource.
Returns:
getAllDocsInitialTrackingState
public String getAllDocsInitialTrackingState()
Get the allDocsInitialTrackingState property: Change tracking state used when indexing starts on all documents in the datasource.
Returns:
getMode
public IndexingMode getMode()
Get the mode property: The mode the indexer is running in.
Returns:
getResetDatasourceDocumentIds
public List<String> 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:
getResetDocsFinalTrackingState
public String getResetDocsFinalTrackingState()
Get the resetDocsFinalTrackingState property: Change tracking state value when indexing finishes on select, reset documents in the datasource.
Returns:
getResetDocsInitialTrackingState
public String getResetDocsInitialTrackingState()
Get the resetDocsInitialTrackingState property: Change tracking state used when indexing starts on select, reset documents in the datasource.
Returns:
getResetDocumentKeys
public List<String> 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:
getResyncFinalTrackingState
public String getResyncFinalTrackingState()
Get the resyncFinalTrackingState property: Change tracking state value when indexing finishes on selective options from the datasource.
Returns:
getResyncInitialTrackingState
public String getResyncInitialTrackingState()
Get the resyncInitialTrackingState property: Change tracking state used when indexing starts on selective options from the datasource.
Returns: