publish GreptimeDB protobuf for Java using jitpack.io (#4)

This commit is contained in:
LFC
2023-02-10 15:59:11 +08:00
committed by GitHub
parent f089c73068
commit 328c41f292
9 changed files with 22762 additions and 0 deletions
+24
View File
@@ -0,0 +1,24 @@
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>io.greptime</groupId>
<artifactId>greptimedb-proto</artifactId>
<version>0.1.0</version>
<properties>
<maven.compiler.source>8</maven.compiler.source>
<maven.compiler.target>8</maven.compiler.target>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<protobuf.version>3.21.12</protobuf.version>
</properties>
<dependencies>
<dependency>
<groupId>com.google.protobuf</groupId>
<artifactId>protobuf-java</artifactId>
<version>${protobuf.version}</version>
</dependency>
</dependencies>
</project>
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
+8
View File
@@ -0,0 +1,8 @@
#!/bin/bash
PROTO_ROOT=../../../../proto
protoc -I=${PROTO_ROOT} --java_out=../java/ \
${PROTO_ROOT}/greptime/v1/column.proto \
${PROTO_ROOT}/greptime/v1/ddl.proto \
${PROTO_ROOT}/greptime/v1/database.proto
+5
View File
@@ -0,0 +1,5 @@
jdk:
- openjdk8
install:
- cd java
- mvn install -DskipTests
+3
View File
@@ -2,6 +2,9 @@ syntax = "proto3";
package greptime.v1; package greptime.v1;
option java_package="io.greptime.v1";
option java_outer_classname = "Columns";
message Column { message Column {
string column_name = 1; string column_name = 1;
+3
View File
@@ -2,6 +2,9 @@ syntax = "proto3";
package greptime.v1; package greptime.v1;
option java_package = "io.greptime.v1";
option java_outer_classname = "Database";
import "greptime/v1/ddl.proto"; import "greptime/v1/ddl.proto";
import "greptime/v1/column.proto"; import "greptime/v1/column.proto";
+3
View File
@@ -2,6 +2,9 @@ syntax = "proto3";
package greptime.v1; package greptime.v1;
option java_package = "io.greptime.v1";
option java_outer_classname = "Ddl";
import "greptime/v1/column.proto"; import "greptime/v1/column.proto";
// "Data Definition Language" requests, that create, modify or delete the database structures but not the data. // "Data Definition Language" requests, that create, modify or delete the database structures but not the data.