Class ElasticsearchVersionInfo

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

@JsonpDeserializable public class ElasticsearchVersionInfo extends Object implements JsonpSerializable
See Also:
  • Field Details

  • Method Details

    • of

    • buildDate

      public final DateTime buildDate()
      Required - The Elasticsearch Git commit's date.

      API name: build_date

    • buildFlavor

      public final String buildFlavor()
      Required - The build flavor. For example, default.

      API name: build_flavor

    • buildHash

      public final String buildHash()
      Required - The Elasticsearch Git commit's SHA hash.

      API name: build_hash

    • buildSnapshot

      public final boolean buildSnapshot()
      Required - Indicates whether the Elasticsearch build was a snapshot.

      API name: build_snapshot

    • buildType

      public final String buildType()
      Required - The build type that corresponds to how Elasticsearch was installed. For example, docker, rpm, or tar.

      API name: build_type

    • luceneVersion

      public final String luceneVersion()
      Required - The version number of Elasticsearch's underlying Lucene software.

      API name: lucene_version

    • minimumIndexCompatibilityVersion

      public final String minimumIndexCompatibilityVersion()
      Required - The minimum index version with which the responding node can read from disk.

      API name: minimum_index_compatibility_version

    • minimumWireCompatibilityVersion

      public final String minimumWireCompatibilityVersion()
      Required - The minimum node version with which the responding node can communicate. Also the minimum version from which you can perform a rolling upgrade.

      API name: minimum_wire_compatibility_version

    • number

      public final String number()
      Required - The Elasticsearch version number.

      ::: IMPORTANT: For Serverless deployments, this static value is always 8.11.0 and is used solely for backward compatibility with legacy clients. Serverless environments are versionless and automatically upgraded, so this value can be safely ignored.

      API name: number

    • 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)
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • setupElasticsearchVersionInfoDeserializer

      protected static void setupElasticsearchVersionInfoDeserializer(ObjectDeserializer<ElasticsearchVersionInfo.Builder> op)