Browse Source

查询语句支持脚本

master
richie 4 years ago
parent
commit
427d74fd97
  1. BIN
      build/install/fine-plugin-com.fr.plugin.db.es.v10-1.5.5.zip
  2. BIN
      build/libs/fine-plugin-com.fr.plugin.db.es.v10-1.5.5.jar
  3. BIN
      build/temp/plugin/HdrHistogram-2.1.9.jar
  4. BIN
      build/temp/plugin/accessors-smart-1.2.jar
  5. BIN
      build/temp/plugin/aggs-matrix-stats-client-7.5.1.jar
  6. BIN
      build/temp/plugin/asm-5.0.4.jar
  7. BIN
      build/temp/plugin/commons-codec-1.11.jar
  8. BIN
      build/temp/plugin/commons-logging-1.1.3.jar
  9. BIN
      build/temp/plugin/compiler-0.9.6.jar
  10. BIN
      build/temp/plugin/elasticsearch-7.5.1.jar
  11. BIN
      build/temp/plugin/elasticsearch-cli-7.5.1.jar
  12. BIN
      build/temp/plugin/elasticsearch-core-7.5.1.jar
  13. BIN
      build/temp/plugin/elasticsearch-geo-7.5.1.jar
  14. BIN
      build/temp/plugin/elasticsearch-rest-client-7.5.1.jar
  15. BIN
      build/temp/plugin/elasticsearch-rest-high-level-client-7.5.1.jar
  16. BIN
      build/temp/plugin/elasticsearch-secure-sm-7.5.1.jar
  17. BIN
      build/temp/plugin/elasticsearch-ssl-config-7.5.1.jar
  18. BIN
      build/temp/plugin/elasticsearch-x-content-7.5.1.jar
  19. BIN
      build/temp/plugin/fine-plugin-com.fr.plugin.db.es.v10-1.5.5.jar
  20. BIN
      build/temp/plugin/finekit-10.0-20200909.jar
  21. BIN
      build/temp/plugin/hppc-0.8.1.jar
  22. BIN
      build/temp/plugin/httpasyncclient-4.1.4.jar
  23. BIN
      build/temp/plugin/httpclient-4.5.10.jar
  24. BIN
      build/temp/plugin/httpcore-4.4.12.jar
  25. BIN
      build/temp/plugin/httpcore-nio-4.4.12.jar
  26. BIN
      build/temp/plugin/jackson-core-2.8.11.jar
  27. BIN
      build/temp/plugin/jackson-dataformat-cbor-2.8.11.jar
  28. BIN
      build/temp/plugin/jackson-dataformat-smile-2.8.11.jar
  29. BIN
      build/temp/plugin/jackson-dataformat-yaml-2.8.11.jar
  30. BIN
      build/temp/plugin/jna-4.5.1.jar
  31. BIN
      build/temp/plugin/joda-time-2.10.3.jar
  32. BIN
      build/temp/plugin/jopt-simple-5.0.2.jar
  33. BIN
      build/temp/plugin/json-path-2.4.0.jar
  34. BIN
      build/temp/plugin/json-smart-2.3.jar
  35. BIN
      build/temp/plugin/lang-mustache-client-7.5.1.jar
  36. BIN
      build/temp/plugin/log4j-api-2.11.1.jar
  37. BIN
      build/temp/plugin/lucene-analyzers-common-8.3.0.jar
  38. BIN
      build/temp/plugin/lucene-backward-codecs-8.3.0.jar
  39. BIN
      build/temp/plugin/lucene-core-8.3.0.jar
  40. BIN
      build/temp/plugin/lucene-grouping-8.3.0.jar
  41. BIN
      build/temp/plugin/lucene-highlighter-8.3.0.jar
  42. BIN
      build/temp/plugin/lucene-join-8.3.0.jar
  43. BIN
      build/temp/plugin/lucene-memory-8.3.0.jar
  44. BIN
      build/temp/plugin/lucene-misc-8.3.0.jar
  45. BIN
      build/temp/plugin/lucene-queries-8.3.0.jar
  46. BIN
      build/temp/plugin/lucene-queryparser-8.3.0.jar
  47. BIN
      build/temp/plugin/lucene-sandbox-8.3.0.jar
  48. BIN
      build/temp/plugin/lucene-spatial-8.3.0.jar
  49. BIN
      build/temp/plugin/lucene-spatial-extras-8.3.0.jar
  50. BIN
      build/temp/plugin/lucene-spatial3d-8.3.0.jar
  51. BIN
      build/temp/plugin/lucene-suggest-8.3.0.jar
  52. BIN
      build/temp/plugin/mapper-extras-client-7.5.1.jar
  53. BIN
      build/temp/plugin/netty-buffer-4.1.43.Final.jar
  54. BIN
      build/temp/plugin/netty-codec-4.1.43.Final.jar
  55. BIN
      build/temp/plugin/netty-codec-http-4.1.43.Final.jar
  56. BIN
      build/temp/plugin/netty-common-4.1.43.Final.jar
  57. BIN
      build/temp/plugin/netty-handler-4.1.43.Final.jar
  58. BIN
      build/temp/plugin/netty-resolver-4.1.43.Final.jar
  59. BIN
      build/temp/plugin/netty-transport-4.1.43.Final.jar
  60. BIN
      build/temp/plugin/parent-join-client-7.5.1.jar
  61. BIN
      build/temp/plugin/percolator-client-7.5.1.jar
  62. 33
      build/temp/plugin/plugin.xml
  63. BIN
      build/temp/plugin/rank-eval-client-7.5.1.jar
  64. BIN
      build/temp/plugin/reindex-client-7.5.1.jar
  65. BIN
      build/temp/plugin/slf4j-api-1.7.25.jar
  66. BIN
      build/temp/plugin/snakeyaml-1.17.jar
  67. BIN
      build/temp/plugin/t-digest-3.2.jar
  68. BIN
      build/temp/plugin/transport-7.5.1.jar
  69. BIN
      build/temp/plugin/transport-netty4-client-7.5.1.jar
  70. 77
      build/tmp/compileJava/source-classes-mapping.txt
  71. 2
      build/tmp/makeJar/MANIFEST.MF
  72. BIN
      lib/finekit-10.0-20200909.jar
  73. 52
      src/main/resources/com/fr/plugin/db/es/locale/es_zh_CN.properties

BIN
build/install/fine-plugin-com.fr.plugin.db.es.v10-1.5.5.zip

Binary file not shown.

BIN
build/libs/fine-plugin-com.fr.plugin.db.es.v10-1.5.5.jar

Binary file not shown.

BIN
build/temp/plugin/HdrHistogram-2.1.9.jar

Binary file not shown.

BIN
build/temp/plugin/accessors-smart-1.2.jar

Binary file not shown.

BIN
build/temp/plugin/aggs-matrix-stats-client-7.5.1.jar

Binary file not shown.

BIN
build/temp/plugin/asm-5.0.4.jar

Binary file not shown.

BIN
build/temp/plugin/commons-codec-1.11.jar

Binary file not shown.

BIN
build/temp/plugin/commons-logging-1.1.3.jar

Binary file not shown.

BIN
build/temp/plugin/compiler-0.9.6.jar

Binary file not shown.

BIN
build/temp/plugin/elasticsearch-7.5.1.jar

Binary file not shown.

BIN
build/temp/plugin/elasticsearch-cli-7.5.1.jar

Binary file not shown.

BIN
build/temp/plugin/elasticsearch-core-7.5.1.jar

Binary file not shown.

BIN
build/temp/plugin/elasticsearch-geo-7.5.1.jar

Binary file not shown.

BIN
build/temp/plugin/elasticsearch-rest-client-7.5.1.jar

Binary file not shown.

BIN
build/temp/plugin/elasticsearch-rest-high-level-client-7.5.1.jar

Binary file not shown.

BIN
build/temp/plugin/elasticsearch-secure-sm-7.5.1.jar

Binary file not shown.

BIN
build/temp/plugin/elasticsearch-ssl-config-7.5.1.jar

Binary file not shown.

BIN
build/temp/plugin/elasticsearch-x-content-7.5.1.jar

Binary file not shown.

BIN
build/temp/plugin/fine-plugin-com.fr.plugin.db.es.v10-1.5.5.jar

Binary file not shown.

BIN
build/temp/plugin/finekit-10.0-20200909.jar

Binary file not shown.

BIN
build/temp/plugin/hppc-0.8.1.jar

Binary file not shown.

BIN
build/temp/plugin/httpasyncclient-4.1.4.jar

Binary file not shown.

BIN
build/temp/plugin/httpclient-4.5.10.jar

Binary file not shown.

BIN
build/temp/plugin/httpcore-4.4.12.jar

Binary file not shown.

BIN
build/temp/plugin/httpcore-nio-4.4.12.jar

Binary file not shown.

BIN
build/temp/plugin/jackson-core-2.8.11.jar

Binary file not shown.

BIN
build/temp/plugin/jackson-dataformat-cbor-2.8.11.jar

Binary file not shown.

BIN
build/temp/plugin/jackson-dataformat-smile-2.8.11.jar

Binary file not shown.

BIN
build/temp/plugin/jackson-dataformat-yaml-2.8.11.jar

Binary file not shown.

BIN
build/temp/plugin/jna-4.5.1.jar

Binary file not shown.

BIN
build/temp/plugin/joda-time-2.10.3.jar

Binary file not shown.

BIN
build/temp/plugin/jopt-simple-5.0.2.jar

Binary file not shown.

BIN
build/temp/plugin/json-path-2.4.0.jar

Binary file not shown.

BIN
build/temp/plugin/json-smart-2.3.jar

Binary file not shown.

BIN
build/temp/plugin/lang-mustache-client-7.5.1.jar

Binary file not shown.

BIN
build/temp/plugin/log4j-api-2.11.1.jar

Binary file not shown.

BIN
build/temp/plugin/lucene-analyzers-common-8.3.0.jar

Binary file not shown.

BIN
build/temp/plugin/lucene-backward-codecs-8.3.0.jar

Binary file not shown.

BIN
build/temp/plugin/lucene-core-8.3.0.jar

Binary file not shown.

BIN
build/temp/plugin/lucene-grouping-8.3.0.jar

Binary file not shown.

BIN
build/temp/plugin/lucene-highlighter-8.3.0.jar

Binary file not shown.

BIN
build/temp/plugin/lucene-join-8.3.0.jar

Binary file not shown.

BIN
build/temp/plugin/lucene-memory-8.3.0.jar

Binary file not shown.

BIN
build/temp/plugin/lucene-misc-8.3.0.jar

Binary file not shown.

BIN
build/temp/plugin/lucene-queries-8.3.0.jar

Binary file not shown.

BIN
build/temp/plugin/lucene-queryparser-8.3.0.jar

Binary file not shown.

BIN
build/temp/plugin/lucene-sandbox-8.3.0.jar

Binary file not shown.

BIN
build/temp/plugin/lucene-spatial-8.3.0.jar

Binary file not shown.

BIN
build/temp/plugin/lucene-spatial-extras-8.3.0.jar

Binary file not shown.

BIN
build/temp/plugin/lucene-spatial3d-8.3.0.jar

Binary file not shown.

BIN
build/temp/plugin/lucene-suggest-8.3.0.jar

Binary file not shown.

BIN
build/temp/plugin/mapper-extras-client-7.5.1.jar

Binary file not shown.

BIN
build/temp/plugin/netty-buffer-4.1.43.Final.jar

Binary file not shown.

BIN
build/temp/plugin/netty-codec-4.1.43.Final.jar

Binary file not shown.

BIN
build/temp/plugin/netty-codec-http-4.1.43.Final.jar

Binary file not shown.

BIN
build/temp/plugin/netty-common-4.1.43.Final.jar

Binary file not shown.

BIN
build/temp/plugin/netty-handler-4.1.43.Final.jar

Binary file not shown.

BIN
build/temp/plugin/netty-resolver-4.1.43.Final.jar

Binary file not shown.

BIN
build/temp/plugin/netty-transport-4.1.43.Final.jar

Binary file not shown.

BIN
build/temp/plugin/parent-join-client-7.5.1.jar

Binary file not shown.

BIN
build/temp/plugin/percolator-client-7.5.1.jar

Binary file not shown.

33
build/temp/plugin/plugin.xml

@ -0,0 +1,33 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<plugin>
<id>com.fr.plugin.db.es.v10</id>
<name><![CDATA[Elasticsearch数据集]]></name>
<active>yes</active>
<version>1.5.5</version>
<env-version>10.0</env-version>
<jartime>2019-10-25</jartime>
<vendor>fanruan.richie</vendor>
<description><![CDATA[Elasticsearch数据查询。]]></description>
<change-notes><![CDATA[
[2020-09-09]查询语句中可以使用函数拼接。<br>
[2020-03-18]默认使用$..*查询语句获取所有值。<br/>
[2020-03-11]新增查询请求类型。<br/>
[2020-03-07]远程设计序列化问题。<br/>
[2020-01-07]修复一个写xml的错误。<br/>
[2020-01-02]完成插件大部分功能,正式发布。<br/>
[2019-12-31]初始化插件。<br/>
]]></change-notes>
<prefer-packages>
<prefer-package>net.minidev.json</prefer-package>
<prefer-package>org.apache.http</prefer-package>
</prefer-packages>
<extra-core>
<LocaleFinder class="com.fr.plugin.db.es.LocaleBridge"/>
</extra-core>
<extra-designer>
<ConnectionProvider class="com.fr.plugin.db.es.ConnectionBridge"/>
<TableDataDefineProvider class="com.fr.plugin.db.es.TableDataBridge"/>
<ServerTableDataDefineProvider class="com.fr.plugin.db.es.TableDataBridge"/>
</extra-designer>
<function-recorder class="com.fr.plugin.db.es.fun.ElasticsearchTableData"/>
</plugin>

BIN
build/temp/plugin/rank-eval-client-7.5.1.jar

Binary file not shown.

BIN
build/temp/plugin/reindex-client-7.5.1.jar

Binary file not shown.

BIN
build/temp/plugin/slf4j-api-1.7.25.jar

Binary file not shown.

BIN
build/temp/plugin/snakeyaml-1.17.jar

Binary file not shown.

BIN
build/temp/plugin/t-digest-3.2.jar

Binary file not shown.

BIN
build/temp/plugin/transport-7.5.1.jar

Binary file not shown.

BIN
build/temp/plugin/transport-netty4-client-7.5.1.jar

Binary file not shown.

77
build/tmp/compileJava/source-classes-mapping.txt

@ -0,0 +1,77 @@
com/fr/plugin/db/es/LocaleBridge.java
com.fr.plugin.db.es.LocaleBridge
com/fr/plugin/db/es/fun/category/impl/JSResultStandardize.java
com.fr.plugin.db.es.fun.category.impl.JSResultStandardize
com/fr/plugin/db/es/fun/help/RegisterUtils.java
com.fr.plugin.db.es.fun.help.RegisterUtils
com/fr/plugin/db/es/fun/category/script/ScriptBridge.java
com.fr.plugin.db.es.fun.category.script.ScriptBridge
com/fr/plugin/db/es/fun/category/script/EngineType.java
com.fr.plugin.db.es.fun.category.script.EngineType
com/fr/plugin/db/es/fun/category/script/client/NashornFiles.java
com.fr.plugin.db.es.fun.category.script.client.NashornFiles
com/fr/plugin/db/es/fun/help/Console.java
com.fr.plugin.db.es.fun.help.Console
com/fr/plugin/db/es/ConnectionBridge.java
com.fr.plugin.db.es.ConnectionBridge
com/fr/plugin/db/es/fun/ElasticsearchConnection.java
com.fr.plugin.db.es.fun.ElasticsearchConnection
com/fr/plugin/db/es/fun/ElasticsearchTableData.java
com.fr.plugin.db.es.fun.ElasticsearchTableData
com/fr/plugin/db/es/fun/assist/SimpleDataModel.java
com.fr.plugin.db.es.fun.assist.SimpleDataModel
com/fr/plugin/db/es/fun/help/RenderUtils.java
com.fr.plugin.db.es.fun.help.RenderUtils
com/fr/plugin/db/es/fun/ElasticsearchDataModel.java
com.fr.plugin.db.es.fun.ElasticsearchDataModel
com/fr/plugin/db/es/fun/category/script/client/impl/NashornClient.java
com.fr.plugin.db.es.fun.category.script.client.impl.NashornClient
com/fr/plugin/db/es/fun/ConfigAttribute.java
com.fr.plugin.db.es.fun.ConfigAttribute
com/fr/plugin/db/es/fun/type/QueryType.java
com.fr.plugin.db.es.fun.type.QueryType
com/fr/plugin/db/es/fun/category/impl/JSONResultStandardize.java
com.fr.plugin.db.es.fun.category.impl.JSONResultStandardize
com/fr/plugin/db/es/fun/category/script/client/impl/V8Client.java
com.fr.plugin.db.es.fun.category.script.client.impl.V8Client
com/fr/plugin/db/es/ui/ElasticsearchQueryPane.java
com.fr.plugin.db.es.ui.ElasticsearchQueryPane
com.fr.plugin.db.es.ui.ElasticsearchQueryPane$1
com/fr/plugin/db/es/fun/type/ParaType.java
com.fr.plugin.db.es.fun.type.ParaType
com/fr/plugin/db/es/fun/category/script/client/ScriptClient.java
com.fr.plugin.db.es.fun.category.script.client.ScriptClient
com/fr/plugin/db/es/fun/help/ElasticsearchClientFactory.java
com.fr.plugin.db.es.fun.help.ElasticsearchClientFactory
com.fr.plugin.db.es.fun.help.ElasticsearchClientFactory$1
com/fr/plugin/db/es/fun/type/ConverterType.java
com.fr.plugin.db.es.fun.type.ConverterType
com/fr/plugin/db/es/fun/JsonDemo.java
com.fr.plugin.db.es.fun.JsonDemo
com.fr.plugin.db.es.fun.JsonDemo$My
com/fr/plugin/db/es/fun/category/ResultStandardize.java
com.fr.plugin.db.es.fun.category.ResultStandardize
com/fr/plugin/db/es/fun/category/script/ScriptClientSelector.java
com.fr.plugin.db.es.fun.category.script.ScriptClientSelector
com/fr/plugin/db/es/fun/category/ResultStandardizeSelector.java
com.fr.plugin.db.es.fun.category.ResultStandardizeSelector
com/fr/plugin/db/es/fun/query/QueryBuilder.java
com.fr.plugin.db.es.fun.query.QueryBuilder
com/fr/plugin/db/es/TableDataBridge.java
com.fr.plugin.db.es.TableDataBridge
com/fr/plugin/db/es/ui/ElasticsearchTableDataPane.java
com.fr.plugin.db.es.ui.ElasticsearchTableDataPane
com.fr.plugin.db.es.ui.ElasticsearchTableDataPane$1
com.fr.plugin.db.es.ui.ElasticsearchTableDataPane$PreviewAction
com.fr.plugin.db.es.ui.ElasticsearchTableDataPane$RefreshAction
com/fr/plugin/db/es/fun/category/script/client/V8Files.java
com.fr.plugin.db.es.fun.category.script.client.V8Files
com/fr/plugin/db/es/ui/ElasticsearchConnectionPane.java
com.fr.plugin.db.es.ui.ElasticsearchConnectionPane
com.fr.plugin.db.es.ui.ElasticsearchConnectionPane$1
com/fr/plugin/db/es/ui/ElasticsearchConnectionChosePane.java
com.fr.plugin.db.es.ui.ElasticsearchConnectionChosePane
com.fr.plugin.db.es.ui.ElasticsearchConnectionChosePane$1
com.fr.plugin.db.es.ui.ElasticsearchConnectionChosePane$2
com.fr.plugin.db.es.ui.ElasticsearchConnectionChosePane$3
com.fr.plugin.db.es.ui.ElasticsearchConnectionChosePane$4

2
build/tmp/makeJar/MANIFEST.MF

@ -0,0 +1,2 @@
Manifest-Version: 1.0

BIN
lib/finekit-10.0-20200909.jar

Binary file not shown.

52
src/main/resources/com/fr/plugin/db/es/locale/es_zh_CN.properties

@ -1,27 +1,27 @@
Plugin_Elasticsearch_Table_Data=Elasticsearch\u6570\u636E\u96C6 Plugin_Elasticsearch_Table_Data=Elasticsearch数据集
Plugin-Elasticsearch_Host=\u5730\u5740 Plugin-Elasticsearch_Host=地址
Plugin-Elasticsearch_Port=\u7AEF\u53E3 Plugin-Elasticsearch_Port=端口
Plugin-Elasticsearch_Username=\u7528\u6237\u540D Plugin-Elasticsearch_Username=用户名
Plugin-Elasticsearch_Password=\u5BC6\u7801 Plugin-Elasticsearch_Password=密码
Plugin-Elasticsearch_Connection_Successfully=\u8FDE\u63A5\u6210\u529F Plugin-Elasticsearch_Connection_Successfully=连接成功
Plugin-Elasticsearch_Connection_Failed=\u8FDE\u63A5\u5931\u8D25 Plugin-Elasticsearch_Connection_Failed=连接失败
Plugin-Elasticsearch_Preview=\u9884\u89C8 Plugin-Elasticsearch_Preview=预览
Plugin-Elasticsearch_Refresh=\u5237\u65B0 Plugin-Elasticsearch_Refresh=刷新
Plugin-Elasticsearch_Auto=\u81EA\u52A8 Plugin-Elasticsearch_Auto=自动
Plugin-Elasticsearch_Program=\u81EA\u5B9A\u4E49 Plugin-Elasticsearch_Program=自定义
Plugin-Elasticsearch_Sort_Default=\u9ED8\u8BA4 Plugin-Elasticsearch_Sort_Default=默认
Plugin-Elasticsearch_Prepare_Keys_Default=\u9ED8\u8BA4 Plugin-Elasticsearch_Prepare_Keys_Default=默认
Plugin-Elasticsearch_Endpoint=\u7AEF\u70B9 Plugin-Elasticsearch_Endpoint=端点
Plugin-Elasticsearch_Query=\u67E5\u8BE2\u8BED\u53E5 Plugin-Elasticsearch_Query=查询语句
Plugin-Elasticsearch_Query_Type=\u8BF7\u6C42\u7C7B\u578B Plugin-Elasticsearch_Query_Type=请求类型
Plugin-Elasticsearch_Sort_Key=\u952E\u6392\u5E8F Plugin-Elasticsearch_Sort_Key=键排序
Plugin-Elasticsearch_Sort_Open=\u5F00\u542F Plugin-Elasticsearch_Sort_Open=开启
Plugin-Elasticsearch_Key_Prepare=\u9884\u8BFB\u5217\u540D Plugin-Elasticsearch_Key_Prepare=预读列名
Plugin-Elasticsearch_Prepare_Keys_Open=\u5F00\u542F Plugin-Elasticsearch_Prepare_Keys_Open=
Plugin-Elasticsearch_Result_Type=\u89C4\u6574\u7C7B\u578B Plugin-Elasticsearch_Result_Type=规整类型
Plugin-Elasticsearch_Result_Script=\u89C4\u6574\u811A\u672C Plugin-Elasticsearch_Result_Script=规整脚本
Plugin-Elasticsearch_Host_Cluster=\u96C6\u7FA4\u914D\u7F6E\u8BF4\u660E Plugin-Elasticsearch_Host_Cluster=集群配置说明
Plugin-Elasticsearch_Host_Cluster_Description=1\u3001\u4F7F\u7528\u9017\u53F7\u5206\u5272\u96C6\u7FA4\u4E2D\u7684\u591A\u4E2A\u6570\u636E\u5E93\u5730\u5740\u548C\u7AEF\u53E3\uFF0C\u5FC5\u987B\u8981\u6C42\u5730\u5740\u548C\u7AEF\u53E3\u6570\u91CF\u4E00\u81F4\uFF1B\n2\u3001\u6240\u6709elasticsearch\u8282\u70B9\u7684\u7528\u6237\u540D\u548C\u5BC6\u7801\u5FC5\u987B\u76F8\u540C\u3002 Plugin-Elasticsearch_Host_Cluster_Description=1、使用逗号分割集群中的多个数据库地址和端口,必须要求地址和端口数量一致;\n2、所有elasticsearch节点的用户名和密码必须相同。
Plugin-Elasticsearch_Para_Type=\u67E5\u8BE2\u7C7B\u578B Plugin-Elasticsearch_Para_Type=查询类型
Plugin-Elasticsearch_Para_Type_Plain=\u9ED8\u8BA4 Plugin-Elasticsearch_Para_Type_Plain=默认
Plugin-Elasticsearch_Para_Type_ECMAScript=ECMAScript Plugin-Elasticsearch_Para_Type_ECMAScript=ECMAScript

Loading…
Cancel
Save