Code Monkey home page Code Monkey logo

db-elasticsearch-transfer's Introduction

#项目功能
1.oracle迁移数据至elasticsearch中
2.mysql迁移数据至elasticsearch中
3.迁移模式有两种:一种是通过时间,sql中设置条件为时间范围。另一种是通过主键ID,sql中需要有ID字段或者别名,条件为ID大于或者大于等于最大ID #项目技术
1.druid数据库连接池
2.elasticsearch的java架包2.4.5版本
#使用
1.app.sql.model为0时,是时间模式。时间模式需要设置时间的格式,其格式与数据库中的时间字段格式对应。时间的下界为$startTime,上界为$endTime。可以只有其中之一。
2.app.sql.model为1时,是主键模式。ID只有下界$prevMaxId。
3.启动时可传外部配置,配置地址以file://开始,文件地址作为第一个参数传入启动类。

db-elasticsearch-transfer's People

Contributors

tigerst avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.