org.apache.hive.common
Annotation Type HiveVersionAnnotation


@Retention(value=RUNTIME)
@Target(value=PACKAGE)
@InterfaceStability.Unstable
public @interface HiveVersionAnnotation

HiveVersionAnnotation.


Required Element Summary
 String branch
          Get the branch from which this was compiled.
 String date
          Get the date when Hive was compiled.
 String revision
          Get the subversion revision.
 String srcChecksum
          Get a checksum of the source files from which Hive was compiled.
 String url
          Get the url for the subversion repository.
 String user
          Get the username that compiled Hive.
 String version
          Get the Hive version
 

Element Detail

version

public abstract String version
Get the Hive version

Returns:
the version string "0.6.3-dev"

user

public abstract String user
Get the username that compiled Hive.


date

public abstract String date
Get the date when Hive was compiled.

Returns:
the date in unix 'date' format

url

public abstract String url
Get the url for the subversion repository.


revision

public abstract String revision
Get the subversion revision.

Returns:
the revision number as a string (eg. "451451")

branch

public abstract String branch
Get the branch from which this was compiled.

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

srcChecksum

public abstract String srcChecksum
Get a checksum of the source files from which Hive was compiled.

Returns:
a string that uniquely identifies the source


Copyright © 2013 The Apache Software Foundation