Package zipkin2.elasticsearch
Class OpensearchVersion
java.lang.Object
zipkin2.elasticsearch.BaseVersion
zipkin2.elasticsearch.OpensearchVersion
- All Implemented Interfaces:
Comparable<OpensearchVersion>
Helps avoid problems comparing versions by number. Ex 2.10 should be > 2.9
-
Field Summary
Modifier and TypeFieldDescriptionstatic final OpensearchVersion
static final OpensearchVersion
static final OpensearchVersion
static final OpensearchVersion
-
Method Summary
Modifier and TypeMethodDescriptionint
compareTo
(OpensearchVersion other) boolean
int
hashCode()
boolean
Does this version of Elasticsearch / OpenSearch still support mapping types?toString()
-
Field Details
-
V1_0
-
V2_0
-
V3_0
-
V4_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<OpensearchVersion>
-
equals
-
hashCode
public int hashCode() -
toString
-