Commit Graph

8 Commits

Author SHA1 Message Date
吴晟 Wu Sheng f956484e21
Add `Column.shardingKeyIdx` for column definition for BanyanDB (#8705)
* Add `Column.shardingKeyIdx` for column definition for BanyanDB.

```
Sharding key is used to group time series data per metric of one entity in one place (same sharding or same 
column for column-oriented database).
For example,
ServiceA's traffic gauge, service call per minute, includes following timestamp values, then it should be sharded by service ID
[ServiceA(encoded ID): 01-28 18:30 values-1, 01-28 18:31 values-2, 01-28 18:32 values-3, 01-28 18:32 values-4]

BanyanDB is the 1st storage implementation supporting this. It would make continuous time series metrics stored closely and compressed better.

NOTICE, this sharding concept is NOT just for splitting data into different database instances or physical files.
```

* Add `JD_PRESERVE_LINE_FEEDS=true` in official code style file. Then our comments don't have to use many blank lines to keep format.
2022-03-18 23:39:52 +08:00
吴晟 Wu Sheng 4b0504fd5d
Update codeStyle.xml to fix incompatibility (#8623) 2022-03-07 07:56:47 +08:00
Stephen Ni d4ea997523
chore: add @Override tag on some methods (#6304) 2021-02-03 09:46:57 +08:00
Daming a07bfe147f
Fix code-style formatter (#4350)
* new line before package

* Update codeStyle.xml

Co-authored-by: kezhenxu94 <kezhenxu94@163.com>
2020-02-11 20:25:23 +08:00
kezhenxu94 5b255ba3e3
Set up more strict code styles and fix existing issues (#4337)
Motivation:

Review code styles with some bots automatically.

Modifications:

Set up ReviewDog in GitHub Action to review code style.

Add more check rules to checkstyle plugin.

Result:

Obvious code styles can be reviewed and commented automatically.
2020-02-11 17:10:49 +08:00
wusheng 23133f7d97 Update copyright to Apache Foundation. 2017-12-09 23:38:32 +08:00
peng-yongsheng 52f1420670 Add copyright head in all java files and copyright head check style 2017-10-10 22:27:57 +08:00
wusheng 17d983ba9d Add “checkStyle.xml” and “codeStyle.xml” files, varify the code-style when “mvn compile” and CI. This is the initialized commit. 2017-04-18 12:02:21 +08:00