java.lang.Object
co.elastic.clients.elasticsearch._types.query_dsl.LikeDocument
All Implemented Interfaces:
JsonpSerializable

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

  • Method Details

    • of

      public static LikeDocument of​(java.util.function.Function<LikeDocument.Builder,​ObjectBuilder<LikeDocument>> fn)
    • doc

      @Nullable public final JsonData doc()
      API name: doc
    • fields

      public final java.util.List<java.lang.String> fields()
      API name: fields
    • id

      @Nullable public final java.lang.String id()
      API name: _id
    • type

      @Nullable public final java.lang.String type()
      API name: _type
    • index

      @Nullable public final java.lang.String index()
      API name: _index
    • perFieldAnalyzer

      public final java.util.Map<java.lang.String,​java.lang.String> perFieldAnalyzer()
      API name: per_field_analyzer
    • routing

      @Nullable public final java.lang.String routing()
      API name: routing
    • version

      @Nullable public final java.lang.Long version()
      API name: version
    • versionType

      @Nullable public final VersionType versionType()
      API name: version_type
    • serialize

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

      protected void serializeInternal​(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)
    • setupLikeDocumentDeserializer

      protected static void setupLikeDocumentDeserializer​(ObjectDeserializer<LikeDocument.Builder> op)