Class Version

java.lang.Object
org.apache.calcite.util.Version
All Implemented Interfaces:
Comparable<Version>

public class Version extends Object implements Comparable<Version>
Version string parsed into major and minor parts.
  • Field Details

  • Method Details

    • of

      public static Version of(String s)
      Creates a Version by parsing a string.
    • of

      public static Version of(int... integers)
      Creates a Version from a sequence of integers.
    • compareTo

      public int compareTo(Version version)
      Specified by:
      compareTo in interface Comparable<Version>