Class TermvectorsResponse

All Implemented Interfaces:

public class TermvectorsResponse
extends java.lang.Object
implements JsonpSerializable
See Also:
API specification
  • Field Details

  • 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

      public final java.util.Map<java.lang.String,​TermVector> 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

      public void serialize​( generator, JsonpMapper mapper)
      Serialize this object to JSON.
      Specified by:
      serialize in interface JsonpSerializable
    • serializeInternal

      protected void serializeInternal​( generator, JsonpMapper mapper)
    • setupTermvectorsResponseDeserializer

      protected static void setupTermvectorsResponseDeserializer​(ObjectDeserializer<TermvectorsResponse.Builder> op)