zoukankan      html  css  js  c++  java
  • elasticsearch-sql-for-druid

    介绍

    elasticsearh-sql 6.7.1 版本对新版本druid 1.2.5+版本支持,原始版本不支持新版本的druid,因后续版本的druid底层类库改动较大。

    软件架构

    问题记录
    • 貌似兼容后不支持 index/type 方式搜索,比如: select * from index/type。但是可以改成 select * from index 使用
    修改内容说明:
    1. SQLParensIdentifierExpr 增加clone
    2. parseTableSourceRest 改成public
    3. MySqlExtractExpr->SQLExtractExpr
    4. MySqlMatchAgainstExpr->SQLMatchAgainstExpr
    5. dbType -> dbTypeName
    后续:
    1. 整理相关包引用和版本
    2. 阅读细节代码重写实现
    使用
    <groupId>org.nlpcn</groupId>
    <artifactId>elasticsearch-sql-for-druid</artifactId>
    <version>6.7.1.0</version>
    </dependency>
    by 车江毅
    开源是一种态度,分享是一种精神,学习仍需坚持,进步仍需努力,.net生态圈因你我更加美好。
  • 相关阅读:
    ios tableviewcontroller
    jsp第十次作业
    jsp第九次作业
    jsp第八次作业
    jsp第七次作业
    jsp第六次作业
    jsp第五次作业
    jsp第四周作业-2
    jsp第四周作业-1
    软件测试第四周作业
  • 原文地址:https://www.cnblogs.com/chejiangyi/p/14862861.html
Copyright © 2011-2022 走看看