2020
11-13
11-13
java操作Apache druid的实例代码
1.添加maven依赖包<dependency><groupId>org.apache.calcite.avatica</groupId><artifactId>avatica-core</artifactId><version>1.15.0</version></dependency>2.编写工具类packagecom.hnu.druid;importorg.apache.calcite.avatica.AvaticaConnection;importorg.apache.calcite.avatica.AvaticaStatement;importorg.springframework.stereotype.Component;importjava.sql.DriverManager;importjava.sql.ResultSet;im...
继续阅读 >