Class Document
java.lang.Object
org.opensearch.client.opensearch.ingest.simulate_pipeline.Document
- All Implemented Interfaces:
ToJsonp
public final class Document extends java.lang.Object implements ToJsonp
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classDocument.BuilderBuilder forDocument. -
Field Summary
Fields Modifier and Type Field Description static JsonpDeserializer<Document>DESERIALIZERJson deserializer for Document -
Constructor Summary
Constructors Modifier Constructor Description protectedDocument(Document.Builder builder) -
Method Summary
Modifier and Type Method Description java.lang.Stringid()API name:_idjava.lang.Stringindex()API name:_indexprotected static voidsetupDocumentDeserializer(DelegatingDeserializer<Document.Builder> op)jakarta.json.JsonValuesource()API name:_sourcevoidtoJsonp(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)Serialize this object to JSON.protected voidtoJsonpInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)
-
Field Details
-
DESERIALIZER
Json deserializer for Document
-
-
Constructor Details
-
Method Details
-
id
@Nullable public java.lang.String id()API name:_id -
index
@Nullable public java.lang.String index()API name:_index -
source
public jakarta.json.JsonValue source()API name:_source -
toJsonp
Serialize this object to JSON. -
toJsonpInternal
-
setupDocumentDeserializer
-