Class MultiTermVectorsResult
- java.lang.Object
-
- org.opensearch.client.opensearch.core.mtermvectors.MultiTermVectorsResult
-
- All Implemented Interfaces:
JsonpSerializable
,PlainJsonSerializable
@JsonpDeserializable public class MultiTermVectorsResult extends java.lang.Object implements PlainJsonSerializable
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
MultiTermVectorsResult.Builder
Builder forMultiTermVectorsResult
.
-
Field Summary
Fields Modifier and Type Field Description static JsonpDeserializer<MultiTermVectorsResult>
_DESERIALIZER
Json deserializer forMultiTermVectorsResult
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
found()
Required - API name:found
java.lang.String
id()
Required - API name:id
java.lang.String
index()
Required - API name:index
static MultiTermVectorsResult
of(java.util.function.Function<MultiTermVectorsResult.Builder,ObjectBuilder<MultiTermVectorsResult>> fn)
void
serialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)
Serialize this object to JSON.protected void
serializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)
protected static void
setupMultiTermVectorsResultDeserializer(ObjectDeserializer<MultiTermVectorsResult.Builder> op)
java.util.Map<java.lang.String,TermVector>
termVectors()
Required - API name:term_vectors
long
took()
Required - API name:took
long
version()
Required - API name:version
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.opensearch.client.json.PlainJsonSerializable
toJsonString
-
-
-
-
Field Detail
-
_DESERIALIZER
public static final JsonpDeserializer<MultiTermVectorsResult> _DESERIALIZER
Json deserializer forMultiTermVectorsResult
-
-
Method Detail
-
of
public static MultiTermVectorsResult of(java.util.function.Function<MultiTermVectorsResult.Builder,ObjectBuilder<MultiTermVectorsResult>> fn)
-
found
public final boolean found()
Required - API name:found
-
id
public final java.lang.String id()
Required - API name:id
-
index
public final java.lang.String index()
Required - API name:index
-
termVectors
public final java.util.Map<java.lang.String,TermVector> termVectors()
Required - API name:term_vectors
-
took
public final long took()
Required - API name:took
-
version
public final long version()
Required - API name:version
-
serialize
public void serialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)
Serialize this object to JSON.- Specified by:
serialize
in interfaceJsonpSerializable
-
serializeInternal
protected void serializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)
-
setupMultiTermVectorsResultDeserializer
protected static void setupMultiTermVectorsResultDeserializer(ObjectDeserializer<MultiTermVectorsResult.Builder> op)
-
-