Class TermvectorsResponse
java.lang.Object
org.opensearch.client.opensearch.core.TermvectorsResponse
- All Implemented Interfaces:
JsonpSerializable,PlainJsonSerializable
@JsonpDeserializable
public class TermvectorsResponse
extends Object
implements PlainJsonSerializable
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final JsonpDeserializer<TermvectorsResponse> Json deserializer forTermvectorsResponse -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanfound()Required - API name:foundfinal Stringid()Required - API name:_idfinal Stringindex()Required - API name:_indexstatic TermvectorsResponsevoidserialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) Serialize this object to JSON.protected voidserializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) protected static voidfinal Map<String, TermVector> API name:term_vectorsfinal longtook()Required - API name:tookfinal longversion()Required - API name:_versionMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.opensearch.client.json.PlainJsonSerializable
toJsonString
-
Field Details
-
_DESERIALIZER
Json deserializer forTermvectorsResponse
-
-
Method Details
-
of
public static TermvectorsResponse of(Function<TermvectorsResponse.Builder, ObjectBuilder<TermvectorsResponse>> fn) -
found
public final boolean found()Required - API name:found -
id
Required - API name:_id -
index
Required - API name:_index -
termVectors
API name:term_vectors -
took
public final long took()Required - API name:took -
version
public final long version()Required - API name:_version -
serialize
Serialize this object to JSON.- Specified by:
serializein interfaceJsonpSerializable
-
serializeInternal
-
setupTermvectorsResponseDeserializer
protected static void setupTermvectorsResponseDeserializer(ObjectDeserializer<TermvectorsResponse.Builder> op)
-