This is an automated email from the ASF dual-hosted git repository.
andy pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/jena.git
The following commit(s) were added to refs/heads/main by this push:
new cecd3c047f Update protobuf generated code. Expand README.
cecd3c047f is described below
commit cecd3c047fca27b37909b0e28259f916c81e7ff3
Author: Andy Seaborne <[email protected]>
AuthorDate: Mon Sep 16 09:48:54 2024 +0100
Update protobuf generated code. Expand README.
---
jena-arq/Grammar/.gitignore | 2 ++
jena-arq/Grammar/RDF-Protobuf/README | 14 ++++++++
.../org/apache/jena/riot/protobuf/wire/PB_RDF.java | 40 +++++++++++-----------
3 files changed, 36 insertions(+), 20 deletions(-)
diff --git a/jena-arq/Grammar/.gitignore b/jena-arq/Grammar/.gitignore
index fbd68c9c5e..8f622e0b5d 100644
--- a/jena-arq/Grammar/.gitignore
+++ b/jena-arq/Grammar/.gitignore
@@ -1,3 +1,5 @@
# Intermediate files
arq.txt
sparql_11.txt
+X12.html
+Y12.html
diff --git a/jena-arq/Grammar/RDF-Protobuf/README
b/jena-arq/Grammar/RDF-Protobuf/README
index e73e6064d2..dc621e3b4a 100644
--- a/jena-arq/Grammar/RDF-Protobuf/README
+++ b/jena-arq/Grammar/RDF-Protobuf/README
@@ -1,6 +1,20 @@
## Licensed under the terms of http://www.apache.org/licenses/LICENSE-2.0
+An Apache Jena release includes the java generated by the protobuf compiler.
+There is no need to regenerate this code in order to build Jena.
+
To rebuild the protobuf-generated java code:
cd to jena-arq/Grammar/RDF-Protobuf
run ./gen-protobuf
+
+To install protoc: https://grpc.io/docs/protoc-installation/
+
+which for Linux is
+
+ VER=...
+ PB_REL="https://github.com/protocolbuffers/protobuf/releases"
+ curl -LO $PB_REL/download/v${VER}/protoc-${VER}-linux-x86_64.zip
+
+Only the protoc compiler binary is needed.
+The "include/google/protobuf" standard prototypes are not needed.
diff --git
a/jena-arq/src/main/java/org/apache/jena/riot/protobuf/wire/PB_RDF.java
b/jena-arq/src/main/java/org/apache/jena/riot/protobuf/wire/PB_RDF.java
index 98c53c547c..812a9a6caa 100644
--- a/jena-arq/src/main/java/org/apache/jena/riot/protobuf/wire/PB_RDF.java
+++ b/jena-arq/src/main/java/org/apache/jena/riot/protobuf/wire/PB_RDF.java
@@ -19,7 +19,7 @@
// Generated by the protocol buffer compiler. DO NOT EDIT!
// NO CHECKED-IN PROTOBUF GENCODE
// source: binary-rdf.proto
-// Protobuf Java Version: 4.28.0
+// Protobuf Java Version: 4.28.1
package org.apache.jena.riot.protobuf.wire;
@@ -31,7 +31,7 @@ public final class PB_RDF {
com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC,
/* major= */ 4,
/* minor= */ 28,
- /* patch= */ 0,
+ /* patch= */ 1,
/* suffix= */ "",
PB_RDF.class.getName());
}
@@ -73,7 +73,7 @@ public final class PB_RDF {
com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC,
/* major= */ 4,
/* minor= */ 28,
- /* patch= */ 0,
+ /* patch= */ 1,
/* suffix= */ "",
RDF_IRI.class.getName());
}
@@ -599,7 +599,7 @@ public final class PB_RDF {
com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC,
/* major= */ 4,
/* minor= */ 28,
- /* patch= */ 0,
+ /* patch= */ 1,
/* suffix= */ "",
RDF_PrefixName.class.getName());
}
@@ -1257,7 +1257,7 @@ public final class PB_RDF {
com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC,
/* major= */ 4,
/* minor= */ 28,
- /* patch= */ 0,
+ /* patch= */ 1,
/* suffix= */ "",
RDF_BNode.class.getName());
}
@@ -1857,7 +1857,7 @@ public final class PB_RDF {
com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC,
/* major= */ 4,
/* minor= */ 28,
- /* patch= */ 0,
+ /* patch= */ 1,
/* suffix= */ "",
RDF_Literal.class.getName());
}
@@ -3088,7 +3088,7 @@ public final class PB_RDF {
com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC,
/* major= */ 4,
/* minor= */ 28,
- /* patch= */ 0,
+ /* patch= */ 1,
/* suffix= */ "",
RDF_Decimal.class.getName());
}
@@ -3595,7 +3595,7 @@ public final class PB_RDF {
com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC,
/* major= */ 4,
/* minor= */ 28,
- /* patch= */ 0,
+ /* patch= */ 1,
/* suffix= */ "",
RDF_Var.class.getName());
}
@@ -4093,7 +4093,7 @@ public final class PB_RDF {
com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC,
/* major= */ 4,
/* minor= */ 28,
- /* patch= */ 0,
+ /* patch= */ 1,
/* suffix= */ "",
RDF_ANY.class.getName());
}
@@ -4448,7 +4448,7 @@ public final class PB_RDF {
com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC,
/* major= */ 4,
/* minor= */ 28,
- /* patch= */ 0,
+ /* patch= */ 1,
/* suffix= */ "",
RDF_UNDEF.class.getName());
}
@@ -4803,7 +4803,7 @@ public final class PB_RDF {
com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC,
/* major= */ 4,
/* minor= */ 28,
- /* patch= */ 0,
+ /* patch= */ 1,
/* suffix= */ "",
RDF_REPEAT.class.getName());
}
@@ -5340,7 +5340,7 @@ public final class PB_RDF {
com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC,
/* major= */ 4,
/* minor= */ 28,
- /* patch= */ 0,
+ /* patch= */ 1,
/* suffix= */ "",
RDF_Term.class.getName());
}
@@ -8111,7 +8111,7 @@ public final class PB_RDF {
com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC,
/* major= */ 4,
/* minor= */ 28,
- /* patch= */ 0,
+ /* patch= */ 1,
/* suffix= */ "",
RDF_Triple.class.getName());
}
@@ -9096,7 +9096,7 @@ public final class PB_RDF {
com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC,
/* major= */ 4,
/* minor= */ 28,
- /* patch= */ 0,
+ /* patch= */ 1,
/* suffix= */ "",
RDF_Quad.class.getName());
}
@@ -10234,7 +10234,7 @@ public final class PB_RDF {
com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC,
/* major= */ 4,
/* minor= */ 28,
- /* patch= */ 0,
+ /* patch= */ 1,
/* suffix= */ "",
RDF_PrefixDecl.class.getName());
}
@@ -10938,7 +10938,7 @@ public final class PB_RDF {
com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC,
/* major= */ 4,
/* minor= */ 28,
- /* patch= */ 0,
+ /* patch= */ 1,
/* suffix= */ "",
RDF_StreamRow.class.getName());
}
@@ -12235,7 +12235,7 @@ public final class PB_RDF {
com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC,
/* major= */ 4,
/* minor= */ 28,
- /* patch= */ 0,
+ /* patch= */ 1,
/* suffix= */ "",
RDF_Stream.class.getName());
}
@@ -12975,7 +12975,7 @@ public final class PB_RDF {
com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC,
/* major= */ 4,
/* minor= */ 28,
- /* patch= */ 0,
+ /* patch= */ 1,
/* suffix= */ "",
RDF_VarTuple.class.getName());
}
@@ -13715,7 +13715,7 @@ public final class PB_RDF {
com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC,
/* major= */ 4,
/* minor= */ 28,
- /* patch= */ 0,
+ /* patch= */ 1,
/* suffix= */ "",
RDF_DataTuple.class.getName());
}
@@ -14455,7 +14455,7 @@ public final class PB_RDF {
com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC,
/* major= */ 4,
/* minor= */ 28,
- /* patch= */ 0,
+ /* patch= */ 1,
/* suffix= */ "",
RDF_Graph.class.getName());
}