Class TermvectorsResponse
java.lang.Object
co.elastic.clients.elasticsearch.core.TermvectorsResponse
- All Implemented Interfaces:
JsonpSerializable
@JsonpDeserializable public class TermvectorsResponse extends java.lang.Object implements JsonpSerializable
- See Also:
- API specification
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
TermvectorsResponse.Builder
Builder forTermvectorsResponse
. -
Field Summary
Fields Modifier and Type Field Description static JsonpDeserializer<TermvectorsResponse>
_DESERIALIZER
Json deserializer forTermvectorsResponse
-
Method Summary
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 TermvectorsResponse
of(java.util.function.Function<TermvectorsResponse.Builder,ObjectBuilder<TermvectorsResponse>> 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
setupTermvectorsResponseDeserializer(ObjectDeserializer<TermvectorsResponse.Builder> op)
java.util.Map<java.lang.String,TermVector>
termVectors()
API name:term_vectors
long
took()
Required - API name:took
java.lang.String
toString()
java.lang.String
type()
API name:_type
long
version()
Required - API name:_version
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Field Details
-
_DESERIALIZER
Json deserializer forTermvectorsResponse
-
-
Method Details
-
of
public static TermvectorsResponse of(java.util.function.Function<TermvectorsResponse.Builder,ObjectBuilder<TermvectorsResponse>> 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
API name:term_vectors
-
took
public final long took()Required - API name:took
-
type
@Nullable public final java.lang.String type()API name:_type
-
version
public final long version()Required - API name:_version
-
serialize
Serialize this object to JSON.- Specified by:
serialize
in interfaceJsonpSerializable
-
serializeInternal
-
toString
public java.lang.String toString()- Overrides:
toString
in classjava.lang.Object
-
setupTermvectorsResponseDeserializer
protected static void setupTermvectorsResponseDeserializer(ObjectDeserializer<TermvectorsResponse.Builder> op)
-