Package org.apache.pinot.common.version
Class PinotVersion
- java.lang.Object
-
- org.apache.pinot.common.version.PinotVersion
-
public class PinotVersion extends Object
Reads thepinot-version.propertiesfile to extract the project version that this code was compiled against.
-
-
Field Summary
Fields Modifier and Type Field Description static StringVERSIONThe compile version of Pinot (e.g.static StringVERSION_METRIC_NAMEA sanitized version string with all dots replaced with underscores, which is necessary for Prometheus to be able to properly handle the version.
-
-
-
Field Detail
-
VERSION
public static final String VERSION
The compile version of Pinot (e.g.0.12.0). Note that this relies on Maven Filtering to properly work, which means that if you access this in a local, non-maven build this will resolve toUNKNOWN.
-
VERSION_METRIC_NAME
public static final String VERSION_METRIC_NAME
A sanitized version string with all dots replaced with underscores, which is necessary for Prometheus to be able to properly handle the version.
-
-