@Override public String getDatabaseProductVersion() throws SQLException { return VersionInfo.getVersion(); }
public String getVersion() { return VersionInfo.getDisplayVersion(); }
/** * Get the branch on which this originated. * @return The branch name, e.g. "trunk" or "branches/branch-0.20" */ public static String getBranch() { return TAJO_VERSION_INFO._getBranch(); }
protected String _getBuildVersion(){ return getVersion() + " from " + _getRevision() + " by " + _getUser() + " source checksum " + _getSrcChecksum(); }
public static void main(String[] args) { LOG.debug("version: "+ getVersion()); System.out.println("Tajo " + getVersion()); System.out.println("Git " + getUrl() + " -r " + getRevision()); System.out.println("Compiled by " + getUser() + " on " + getDate()); System.out.println("Compiled with protoc " + getProtocVersion()); System.out.println("From source with checksum " + getSrcChecksum()); System.out.println("This command was run using " + ClassUtil.findContainingJar(VersionInfo.class)); } }
/** * Returns the display version including all information. * @return */ public static String getDisplayVersion() { StringBuilder displayVersion = new StringBuilder("Tajo ") .append(VersionInfo.getVersion()).append(" (") .append("rev. " + VersionInfo.getRevision().substring(0, 7)) .append(" source checksum ").append(VersionInfo.getSrcChecksum().substring(0, 7)) .append(" compiled by ").append(VersionInfo.getUser()).append(" ") .append(VersionInfo.getDate()).append(")"); return displayVersion.toString(); }
" host = " + hostname, " args = " + Arrays.asList(args), " version = " + org.apache.tajo.util.VersionInfo.getVersion(), " classpath = " + System.getProperty("java.class.path"), " build = " + org.apache.tajo.util.VersionInfo.getUrl() + " -r " + org.apache.tajo.util.VersionInfo.getRevision() + "; compiled by '" + org.apache.tajo.util.VersionInfo.getUser() + "' on " + org.apache.tajo.util.VersionInfo.getDate(), " java = " + System.getProperty("java.version") }
/** * The date that Tajo was compiled. * @return the compilation date in unix date format */ public static String getDate() { return TAJO_VERSION_INFO._getDate(); }
/** * Get the subversion revision number for the root directory * @return the revision number, eg. "451451" */ public static String getRevision() { return TAJO_VERSION_INFO._getRevision(); }
/** * Returns the protoc version used for the build. */ public static String getProtocVersion(){ return TAJO_VERSION_INFO._getProtocVersion(); }
/** * Returns the buildVersion which includes version, * revision, user and date. */ public static String getBuildVersion(){ return TAJO_VERSION_INFO._getBuildVersion(); }
public static void main(String[] args) { LOG.debug("version: "+ getVersion()); System.out.println("Tajo " + getVersion()); System.out.println("Git " + getUrl() + " -r " + getRevision()); System.out.println("Compiled by " + getUser() + " on " + getDate()); System.out.println("Compiled with protoc " + getProtocVersion()); System.out.println("From source with checksum " + getSrcChecksum()); System.out.println("This command was run using " + ClassUtil.findContainingJar(VersionInfo.class)); } }
/** * Returns the display version including all information. * @return */ public static String getDisplayVersion() { StringBuilder displayVersion = new StringBuilder("Tajo ") .append(VersionInfo.getVersion()).append(" (") .append("rev. " + VersionInfo.getRevision().substring(0, 7)) .append(" source checksum ").append(VersionInfo.getSrcChecksum().substring(0, 7)) .append(" compiled by ").append(VersionInfo.getUser()).append(" ") .append(VersionInfo.getDate()).append(")"); return displayVersion.toString(); }
" host = " + hostname, " args = " + Arrays.asList(args), " version = " + org.apache.tajo.util.VersionInfo.getVersion(), " classpath = " + System.getProperty("java.class.path"), " build = " + org.apache.tajo.util.VersionInfo.getUrl() + " -r " + org.apache.tajo.util.VersionInfo.getRevision() + "; compiled by '" + org.apache.tajo.util.VersionInfo.getUser() + "' on " + org.apache.tajo.util.VersionInfo.getDate(), " java = " + System.getProperty("java.version") }
protected String _getBuildVersion(){ return getVersion() + " from " + _getRevision() + " by " + _getUser() + " source checksum " + _getSrcChecksum(); }
/** * The date that Tajo was compiled. * @return the compilation date in unix date format */ public static String getDate() { return TAJO_VERSION_INFO._getDate(); }
/** * Get the subversion revision number for the root directory * @return the revision number, eg. "451451" */ public static String getRevision() { return TAJO_VERSION_INFO._getRevision(); }
/** * Returns the protoc version used for the build. */ public static String getProtocVersion(){ return TAJO_VERSION_INFO._getProtocVersion(); }
/** * Returns the buildVersion which includes version, * revision, user and date. */ public static String getBuildVersion(){ return TAJO_VERSION_INFO._getBuildVersion(); }
@Override public String getDatabaseProductVersion() throws SQLException { return VersionInfo.getVersion(); }