feat: update table options (#123)

1 file changed
tree: ae32f3796c8206e6768fa6ef2d30fda8da619af2
  1. .github/
  2. golang/
  3. java/
  4. protos/
  5. src/
  6. .asf.yaml
  7. .gitignore
  8. build.rs
  9. Cargo.toml
  10. DISCLAIMER
  11. generate-go.sh
  12. LICENSE
  13. licenserc.toml
  14. Makefile
  15. NOTICE
  16. README.md
  17. rust-toolchain.toml
README.md

Protocol of Apache HoraeDB™

Crates.io Go Reference

Protocol buffer files for HoraeDB. Projects that manage generated code of different languages are also in this repository. They acts as underlying dependency of client, server and meta.

User Guide

Rust

cargo add horaedbproto

Golang

go get github.com/apache/incubator-horaedb-proto/golang

Java

Add a maven dependency to your project.

<dependency>
    <groupId>org.apache.horaedb</groupId>
    <artifactId>horaedb-proto-internal</artifactId>
    <version>${horaedb-proto-internal.version}</version>
</dependency>

Developer Guide

After modifying the proto files, something else for different programming languages should be done.

Java

  1. Name the maven project to a new version.
  2. Rebuild the maven project lies in the java directory (During the build process, java code for the latest proto will be generated).
  3. Publish the build result to the central maven repository.

Rust

As for the Rust projects that depends on this project, everything will be generated during the build process of themselves. So nothing else needs to be done for Rust.

Golang

  1. Install Protocol Buffers v3.20.1 compiler.
  2. Execute make go.