DocumentKeysOrIds Class

  • java.lang.Object
    • com.azure.search.documents.indexes.models.DocumentKeysOrIds

Implements

public final class DocumentKeysOrIds
implements JsonSerializable<DocumentKeysOrIds>

The type of the keysOrIds.

Constructor Summary

Constructor Description
DocumentKeysOrIds()

Creates an instance of DocumentKeysOrIds class.

Method Summary

Modifier and Type Method and Description
static DocumentKeysOrIds fromJson(JsonReader jsonReader)

Reads an instance of DocumentKeysOrIds from the JsonReader.

List<String> getDatasourceDocumentIds()

Get the datasourceDocumentIds property: datasource document identifiers to be reset.

List<String> getDocumentKeys()

Get the documentKeys property: document keys to be reset.

DocumentKeysOrIds setDatasourceDocumentIds(List<String> datasourceDocumentIds)

Set the datasourceDocumentIds property: datasource document identifiers to be reset.

DocumentKeysOrIds setDatasourceDocumentIds(String[] datasourceDocumentIds)

Set the datasourceDocumentIds property: datasource document identifiers to be reset.

DocumentKeysOrIds setDocumentKeys(List<String> documentKeys)

Set the documentKeys property: document keys to be reset.

DocumentKeysOrIds setDocumentKeys(String[] documentKeys)

Set the documentKeys property: document keys to be reset.

JsonWriter toJson(JsonWriter jsonWriter)

Methods inherited from java.lang.Object

Constructor Details

DocumentKeysOrIds

public DocumentKeysOrIds()

Creates an instance of DocumentKeysOrIds class.

Method Details

fromJson

public static DocumentKeysOrIds fromJson(JsonReader jsonReader)

Reads an instance of DocumentKeysOrIds from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of DocumentKeysOrIds 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 DocumentKeysOrIds.

getDatasourceDocumentIds

public List<String> getDatasourceDocumentIds()

Get the datasourceDocumentIds property: datasource document identifiers to be reset.

Returns:

the datasourceDocumentIds value.

getDocumentKeys

public List<String> getDocumentKeys()

Get the documentKeys property: document keys to be reset.

Returns:

the documentKeys value.

setDatasourceDocumentIds

public DocumentKeysOrIds setDatasourceDocumentIds(List<String> datasourceDocumentIds)

Set the datasourceDocumentIds property: datasource document identifiers to be reset.

Parameters:

datasourceDocumentIds - the datasourceDocumentIds value to set.

Returns:

the DocumentKeysOrIds object itself.

setDatasourceDocumentIds

public DocumentKeysOrIds setDatasourceDocumentIds(String[] datasourceDocumentIds)

Set the datasourceDocumentIds property: datasource document identifiers to be reset.

Parameters:

datasourceDocumentIds - the datasourceDocumentIds value to set.

Returns:

the DocumentKeysOrIds object itself.

setDocumentKeys

public DocumentKeysOrIds setDocumentKeys(List<String> documentKeys)

Set the documentKeys property: document keys to be reset.

Parameters:

documentKeys - the documentKeys value to set.

Returns:

the DocumentKeysOrIds object itself.

setDocumentKeys

public DocumentKeysOrIds setDocumentKeys(String[] documentKeys)

Set the documentKeys property: document keys to be reset.

Parameters:

documentKeys - the documentKeys value to set.

Returns:

the DocumentKeysOrIds object itself.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

Applies to