datasource_driver.yml.example 2.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465
  1. ## <<
  2. ## Davinci
  3. ## ==
  4. ## Copyright (C) 2016 - 2019 EDP
  5. ## ==
  6. ## Licensed under the Apache License, Version 2.0 (the "License");
  7. ## you may not use this file except in compliance with the License.
  8. ## You may obtain a copy of the License at
  9. ## http://www.apache.org/licenses/LICENSE-2.0
  10. ## Unless required by applicable law or agreed to in writing, software
  11. ## distributed under the License is distributed on an "AS IS" BASIS,
  12. ## WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  13. ## See the License for the specific language governing permissions and
  14. ## limitations under the License.
  15. ## >>
  16. ## This file is used to add databases with jdbc drivers that are not supported by Davinci,
  17. ## ignore this file if your datasource is already supported,
  18. ## the datasource list that have been supported by Davinci:
  19. ## mysql: com.mysql.jdbc.Driver
  20. ## oracle: oracle.jdbc.driver.OracleDriver
  21. ## sqlserver: com.microsoft.sqlserver.jdbc.SQLServerDriver
  22. ## h2: org.h2.Driver
  23. ## phoenix: org.apache.phoenix.jdbc.PhoenixDriver
  24. ## mongodb: mongodb.jdbc.MongoDriver
  25. ## elasticSearch: nl.anchormen.sql4es.jdbc.ESDriver
  26. ## presto: com.facebook.presto.jdbc.PrestoDriver
  27. ## moonbox: moonbox.jdbc.MbDriver
  28. ## cassandra: com.github.adejanovski.cassandra.jdbc.CassandraDriver
  29. ## clickhouse: ru.yandex.clickhouse.ClickHouseDriver
  30. ## kylin: org.apache.kylin.jdbc.Driver
  31. ## vertica: com.vertica.jdbc.Driver
  32. ## hana: com.sap.db.jdbc.Driver
  33. ## impala: com.cloudera.impala.jdbc41.Driver
  34. ## this means that if your datasource is in the above list, you don't need to use this way,
  35. ## unless you know what you are doing.
  36. ## How to use:
  37. ## 1. configure your datasource like examples below,
  38. ## 2. add the corresponding dependency file (jar) in lib package,
  39. ## 3. restart your Davinci server
  40. ## In theory, all databases with jdbc drivers are supported,
  41. ## if you have problems during using, please with contact us.
  42. ## Configuration is as follows:
  43. # mysql:
  44. # name: mysql
  45. # desc: mysql
  46. # version:
  47. # driver: com.mysql.jdbc.Driver
  48. # keyword_prefix: \`
  49. # keyword_suffix: \`
  50. # alias_prefix: \'
  51. # alias_suffix: \'
  52. # oracle:
  53. # name: oracle
  54. # desc: oracle
  55. # version:
  56. # driver: oracle.jdbc.driver.OracleDriver
  57. # keyword_prefix: \"
  58. # keyword_suffix: \"
  59. # alias_prefix: \'
  60. # alias_suffix: \'