-
Notifications
You must be signed in to change notification settings - Fork 310
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
35 changed files
with
281 additions
and
310 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,7 +8,7 @@ | |
|
||
诚然,网络上有相当多的专门的数据生产工具,其中不乏功能强大、性能也强悍。 但这些工具大部分是考虑到了数据生成这一段,而忽略了数据写入到目标端的问题,或者说有些考虑到了,但仅仅只考虑了一种或有限的几种数据库。 | ||
|
||
恰好 Addax 工具能够提供足够多的目标端写入能力,加上之前的已有的 [streamReader](../streamreader) 已经算是一个简单版的数据生成工具,因此在此功能上 增加一些特定规则,再利用写入端多样性的能力,自然就成为了一个较好的数据生成工具。 | ||
恰好 Addax 工具能够提供足够多的目标端写入能力,加上之前的已有的 [Stream Reader](../streamreader) 已经算是一个简单版的数据生成工具,因此在此功能上 增加一些特定规则,再利用写入端多样性的能力,自然就成为了一个较好的数据生成工具。 | ||
|
||
## 配置示例 | ||
|
||
|
@@ -96,7 +96,7 @@ | |
| `company` | 随机生成一个公司的名称 | `万迅电脑科技有限公司` | string | | | ||
| `creditCard` | 随机生成一个信用卡卡号 | `430405198908214042` | string | 16 位 | | ||
| `debitCard` | 随机生成一个储蓄卡卡号 | `6227894836568607` | string | 19 位 | | ||
| `email` | 随机生成一个电子邮件地址 | `[email protected]` | string | | | ||
| `email` | 随机生成一个电子邮件地址 | `[email protected]` |string|| | ||
| `idCard` | 随机生成一个国内身份证号码 | `350600198508222018` | string | 18 位,负责校验规则,头 6 位编码满足行政区划要求 | | ||
| `lat` | 随机生成维度数据 | `48.6648764` | double | 固定 7 位小数 ,也可以用`latitude` 表示 | | ||
| `lng` | 随机生成经度数据 | `120.6018163` | double | 固定 7 位小数,也可以使用`longitude` 表示 | | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.