Skip to content

新增 QuestDB, ASOF JOIN, SAMPLE, LATEST, PARTITION, FILL 等

Compare
Choose a tag to compare
@TommyLemon TommyLemon released this 16 Mar 10:01
· 37 commits to master since this release

新增支持 QuestDB-高性能实时分析时序数据库;
新增支持 ~ ASOF JOIN, SAMPLE BY, LATEST ON, PARTITION BY, FILL(LINEAR) 等关键词及与语法;
简化 StringUtil 中各种字符串相关方法;
优化代码;

兼容性

AbstractSQLExecutor 中以下 3 个方法都在最后加了 1 个参数 Map<String, String> keyMap,如果你的项目中有 extends AbstractSQLExecutor 的子类并且重写了以上任意一个方法,则都需要在最后加上这个参数:

String getKey(@NotNull SQLConfig<T> config, @NotNull ResultSet rs, @NotNull ResultSetMetaData rsmd, int row, @NotNull JSONObject table, int columnIndex, Map<String, JSONObject> childMap, Map<String, String> keyMap) throws Exception

Object getValue(@NotNull SQLConfig<T> config, @NotNull ResultSet rs, @NotNull ResultSetMetaData rsmd, int row, @NotNull JSONObject table, int columnIndex, String label, Map<String, JSONObject> childMap, Map<String, String> keyMap) throws Exception

JSONObject onPutColumn(@NotNull SQLConfig<T> config, @NotNull ResultSet rs, @NotNull ResultSetMetaData rsmd, int row, @NotNull JSONObject table, int columnIndex, Join join, Map<String, JSONObject> childMap, Map<String, String> keyMap) throws Exception