Search in sources :

Example 1 with BuildInformation

use of io.questdb.BuildInformation in project questdb by bluestreak01.

the class BuildFunctionFactory method createInstance.

private StrFunction createInstance(final CairoConfiguration configuration) {
    final BuildInformation buildInformation = configuration.getBuildInformation();
    final CharSequence information = "Build Information: QuestDB " + buildInformation.getQuestDbVersion() + ", JDK " + buildInformation.getJdkVersion() + ", Commit Hash " + buildInformation.getCommitHash();
    return new StrConstant(information);
}
Also used : BuildInformation(io.questdb.BuildInformation) StrConstant(io.questdb.griffin.engine.functions.constants.StrConstant)

Aggregations

BuildInformation (io.questdb.BuildInformation)1 StrConstant (io.questdb.griffin.engine.functions.constants.StrConstant)1