Class MultiGetOperation

All Implemented Interfaces:

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

  • Method Details

    • of

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

      public final java.lang.String id()
      Required - API name: _id
    • index

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

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

      @Nullable public final SourceConfig source()
      API name: _source
    • storedFields

      public final java.util.List<java.lang.String> storedFields()
      API name: stored_fields
    • type

      @Nullable public final java.lang.String type()
      API name: _type
    • 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​( generator, JsonpMapper mapper)
      Serialize this object to JSON.
      Specified by:
      serialize in interface JsonpSerializable
    • serializeInternal

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

      protected static void setupMultiGetOperationDeserializer​(ObjectDeserializer<MultiGetOperation.Builder> op)