All Implemented Interfaces:

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

  • Method Details

    • of

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

      public final int generation()
      Required - API name: generation
    • id

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

      public final long numDocs()
      Required - API name: num_docs
    • userData

      public final java.util.Map<java.lang.String,​java.lang.String> userData()
      Required - API name: user_data
    • 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)
    • setupShardCommitDeserializer

      protected static void setupShardCommitDeserializer​(ObjectDeserializer<ShardCommit.Builder> op)