LookupDocument Class

  • java.lang.Object
    • com.azure.search.documents.models.LookupDocument

Implements

public final class LookupDocument
implements JsonSerializable<LookupDocument>

A document retrieved via a document lookup operation.

Method Summary

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

Reads an instance of LookupDocument from the JsonReader.

Map<String,Object> getAdditionalProperties()

Get the additionalProperties property: A document retrieved via a document lookup operation.

JsonWriter toJson(JsonWriter jsonWriter)

Methods inherited from java.lang.Object

Method Details

fromJson

public static LookupDocument fromJson(JsonReader jsonReader)

Reads an instance of LookupDocument from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

getAdditionalProperties

public Map<String,Object> getAdditionalProperties()

Get the additionalProperties property: A document retrieved via a document lookup operation.

Returns:

the additionalProperties value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

Applies to