本文整理汇总了Java中org.apache.calcite.avatica.DriverVersion类的典型用法代码示例。如果您正苦于以下问题:Java DriverVersion类的具体用法?Java DriverVersion怎么用?Java DriverVersion使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。
DriverVersion类属于org.apache.calcite.avatica包,在下文中一共展示了DriverVersion类的11个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的Java代码示例。
示例1: createDriverVersion
import org.apache.calcite.avatica.DriverVersion; //导入依赖的package包/类
protected DriverVersion createDriverVersion() {
return DriverVersion.load(
Driver.class,
"org-apache-calcite-jdbc.properties",
"Avatica Remote JDBC Driver",
"unknown version",
"Avatica",
"unknown version");
}
开发者ID:apache,项目名称:calcite-avatica,代码行数:10,代码来源:Driver.java
示例2: createDriverVersion
import org.apache.calcite.avatica.DriverVersion; //导入依赖的package包/类
@Override
protected DriverVersion createDriverVersion() {
return DriverVersion.load(
this.getClass(),
METADATA_PROPERTIES_RESOURCE_PATH,
// Driver name and version:
"Dremio JDBC Driver",
DremioVersionInfo.getVersion(),
// Database product name and version:
"Dremio",
"<Properties resource " + METADATA_PROPERTIES_RESOURCE_PATH + " not loaded>");
}
开发者ID:dremio,项目名称:dremio-oss,代码行数:13,代码来源:DriverImpl.java
示例3: createDriverVersion
import org.apache.calcite.avatica.DriverVersion; //导入依赖的package包/类
@Override
protected DriverVersion createDriverVersion() {
return DriverVersion.load(
this.getClass(),
METADATA_PROPERTIES_RESOURCE_PATH,
// Driver name and version:
"Apache Drill JDBC Driver",
DrillVersionInfo.getVersion(),
// Database product name and version:
"Apache Drill",
"<Properties resource " + METADATA_PROPERTIES_RESOURCE_PATH + " not loaded>");
}
开发者ID:axbaretto,项目名称:drill,代码行数:13,代码来源:DriverImpl.java
示例4: createDriverVersion
import org.apache.calcite.avatica.DriverVersion; //导入依赖的package包/类
protected DriverVersion createDriverVersion() {
return DriverVersion.load(
Driver.class,
"org-apache-calcite-jdbc.properties",
"Calcite JDBC Driver",
"unknown version",
"Calcite",
"unknown version");
}
开发者ID:bitnine-oss,项目名称:octopus,代码行数:10,代码来源:Driver.java
示例5: createDriverVersion
import org.apache.calcite.avatica.DriverVersion; //导入依赖的package包/类
@Override
protected DriverVersion createDriverVersion() {
return DriverVersion.load(
QuarkDriver.class,
"org-apache-calcite-jdbc.properties",
"Quark Thin Client JDBC QuarkDriver",
"unknown version",
"Quark",
"unknown version");
}
开发者ID:qubole,项目名称:quark,代码行数:11,代码来源:QuarkDriver.java
示例6: createDriverVersion
import org.apache.calcite.avatica.DriverVersion; //导入依赖的package包/类
protected DriverVersion createDriverVersion() {
return DriverVersion.load(
QuarkDriver.class,
"org-apache-calcite-jdbc.properties",
"Quark JDBC Driver",
"unknown version",
"Quark",
"unknown version");
}
开发者ID:qubole,项目名称:quark,代码行数:10,代码来源:QuarkDriver.java
示例7: createDriverVersion
import org.apache.calcite.avatica.DriverVersion; //导入依赖的package包/类
protected DriverVersion createDriverVersion() {
return DriverVersion.load(
Driver.class,
"org-apache-calcite-jdbc.properties",
"Calcite JDBC Driver",
"unknown version",
"Calcite",
"unknown version");
}
开发者ID:apache,项目名称:calcite,代码行数:10,代码来源:Driver.java
示例8: testCreateDriverVersion
import org.apache.calcite.avatica.DriverVersion; //导入依赖的package包/类
@Test
public void testCreateDriverVersion() {
DriverVersion driverVersion = driver.createDriverVersion();
assertNotNull(driverVersion);
}
开发者ID:axibase,项目名称:atsd-jdbc,代码行数:6,代码来源:AtsdDriverTest.java
示例9: createDriverVersion
import org.apache.calcite.avatica.DriverVersion; //导入依赖的package包/类
@Override
protected DriverVersion createDriverVersion() {
return DriverVersion.load(Driver.class, "org-apache-kylin-jdbc.properties", "Kylin JDBC Driver", "unknown version", "Kylin", "unknown version");
}
开发者ID:apache,项目名称:kylin,代码行数:5,代码来源:Driver.java
示例10: testVersion
import org.apache.calcite.avatica.DriverVersion; //导入依赖的package包/类
@Test
public void testVersion() {
Driver driver = new DummyDriver();
DriverVersion version = driver.getDriverVersion();
Assert.assertNotEquals("unknown version", version.productVersion);
}
开发者ID:apache,项目名称:kylin,代码行数:7,代码来源:DriverTest.java
示例11: createDriverVersion
import org.apache.calcite.avatica.DriverVersion; //导入依赖的package包/类
protected DriverVersion createDriverVersion() {
return new SplunkDriverVersion();
}
开发者ID:apache,项目名称:calcite,代码行数:4,代码来源:SplunkDriver.java
注:本文中的org.apache.calcite.avatica.DriverVersion类示例整理自Github/MSDocs等源码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。 |
请发表评论