Package zipkin2.elasticsearch
Class ElasticsearchVersion
java.lang.Object
zipkin2.elasticsearch.BaseVersion
zipkin2.elasticsearch.ElasticsearchVersion
- All Implemented Interfaces:
Comparable<ElasticsearchVersion>
public final class ElasticsearchVersion
extends BaseVersion
implements Comparable<ElasticsearchVersion>
Helps avoid problems comparing versions by number. Ex 7.10 should be > 7.9
-
Field Summary
Modifier and TypeFieldDescriptionstatic final ElasticsearchVersion
static final ElasticsearchVersion
static final ElasticsearchVersion
static final ElasticsearchVersion
static final ElasticsearchVersion
static final ElasticsearchVersion
-
Method Summary
Modifier and TypeMethodDescriptionint
compareTo
(ElasticsearchVersion other) boolean
int
hashCode()
boolean
Does this version of Elasticsearch / OpenSearch still support mapping types?toString()
-
Field Details
-
V5_0
-
V6_0
-
V6_7
-
V7_0
-
V7_8
-
V9_0
-
-
Method Details
-
supportsTypes
public boolean supportsTypes()Description copied from class:BaseVersion
Does this version of Elasticsearch / OpenSearch still support mapping types?- Specified by:
supportsTypes
in classBaseVersion
- Returns:
- "true" if mapping types are supported, "false" otherwise
-
compareTo
- Specified by:
compareTo
in interfaceComparable<ElasticsearchVersion>
-
equals
-
hashCode
public int hashCode() -
toString
-