org.apache.hive.common.util
Class HiveVersionInfo

java.lang.Object
  extended by org.apache.hive.common.util.HiveVersionInfo

@InterfaceAudience.Private
@InterfaceStability.Unstable
public class HiveVersionInfo
extends Object

HiveVersionInfo.


Constructor Summary
HiveVersionInfo()
           
 
Method Summary
static String getBranch()
          Get the branch on which this originated.
static String getBuildVersion()
          Returns the buildVersion which includes version, revision, user and date.
static String getDate()
          The date that Hive was compiled.
static String getRevision()
          Get the subversion revision number for the root directory
static String getSrcChecksum()
          Get the checksum of the source files from which Hive was built.
static String getUrl()
          Get the subversion URL for the root Hive directory.
static String getUser()
          The user that compiled Hive.
static String getVersion()
          Get the Hive version.
static void main(String[] args)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HiveVersionInfo

public HiveVersionInfo()
Method Detail

getVersion

public static String getVersion()
Get the Hive version.

Returns:
the Hive version string, eg. "0.6.3-dev"

getRevision

public static String getRevision()
Get the subversion revision number for the root directory

Returns:
the revision number, eg. "451451"

getBranch

public static String getBranch()
Get the branch on which this originated.

Returns:
The branch name, e.g. "trunk" or "branches/branch-0.20"

getDate

public static String getDate()
The date that Hive was compiled.

Returns:
the compilation date in unix date format

getUser

public static String getUser()
The user that compiled Hive.

Returns:
the username of the user

getUrl

public static String getUrl()
Get the subversion URL for the root Hive directory.


getSrcChecksum

public static String getSrcChecksum()
Get the checksum of the source files from which Hive was built.


getBuildVersion

public static String getBuildVersion()
Returns the buildVersion which includes version, revision, user and date.


main

public static void main(String[] args)


Copyright © 2013 The Apache Software Foundation