Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Apache Jena and Calcite #67

Merged
merged 2 commits into from
Dec 13, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions openchrom/cbi/net.openchrom.thirdparty.cbi/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,9 @@
<module>../thirdparty.targetplatform</module>
<module>../../plugins</module>
<module>../../features</module>
<!-- Apache -->
<module>../../plugins/net.openchrom.thirdparty.calcite</module>
<module>../../plugins/net.openchrom.thirdparty.jena</module>
<!-- CDK -->
<module>../../plugins/net.openchrom.thirdparty.cdk</module>
<module>../../features/net.openchrom.thirdparty.cdk.feature</module>
Expand Down
10 changes: 10 additions & 0 deletions openchrom/plugins/net.openchrom.thirdparty.calcite/.classpath
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
<?xml version="1.0" encoding="UTF-8"?>
<classpath>
<classpathentry exported="true" kind="lib" path="libraries/avatica-1.24.0.jar"/>
<classpathentry exported="true" kind="lib" path="libraries/calcite-core-1.36.0.jar"/>
<classpathentry exported="true" kind="lib" path="libraries/calcite-linq4j-1.36.0.jar"/>
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-17"/>
<classpathentry kind="con" path="org.eclipse.pde.core.requiredPlugins"/>
<classpathentry kind="src" path="src"/>
<classpathentry kind="output" path="bin"/>
</classpath>
28 changes: 28 additions & 0 deletions openchrom/plugins/net.openchrom.thirdparty.calcite/.project
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
<?xml version="1.0" encoding="UTF-8"?>
<projectDescription>
<name>net.openchrom.thirdparty.calcite</name>
<comment></comment>
<projects>
</projects>
<buildSpec>
<buildCommand>
<name>org.eclipse.jdt.core.javabuilder</name>
<arguments>
</arguments>
</buildCommand>
<buildCommand>
<name>org.eclipse.pde.ManifestBuilder</name>
<arguments>
</arguments>
</buildCommand>
<buildCommand>
<name>org.eclipse.pde.SchemaBuilder</name>
<arguments>
</arguments>
</buildCommand>
</buildSpec>
<natures>
<nature>org.eclipse.pde.PluginNature</nature>
<nature>org.eclipse.jdt.core.javanature</nature>
</natures>
</projectDescription>
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
eclipse.preferences.version=1
encoding/<project>=utf8
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
eclipse.preferences.version=1
org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled
org.eclipse.jdt.core.compiler.codegen.targetPlatform=17
org.eclipse.jdt.core.compiler.compliance=17
org.eclipse.jdt.core.compiler.problem.assertIdentifier=error
org.eclipse.jdt.core.compiler.problem.enumIdentifier=error
org.eclipse.jdt.core.compiler.source=17
Original file line number Diff line number Diff line change
@@ -0,0 +1,193 @@
Manifest-Version: 1.0
Automatic-Module-Name: net.openchrom.thirdparty.calicte
Eclipse-BuddyPolicy: registered
Export-Package: org.apache.calcite,
org.apache.calcite.adapter,
org.apache.calcite.adapter.clone,
org.apache.calcite.adapter.enumerable,
org.apache.calcite.adapter.enumerable.impl,
org.apache.calcite.adapter.java,
org.apache.calcite.adapter.jdbc,
org.apache.calcite.avatica,
org.apache.calcite.avatica.com.fasterxml.jackson.annotation,
org.apache.calcite.avatica.com.fasterxml.jackson.core,
org.apache.calcite.avatica.com.fasterxml.jackson.core.async,
org.apache.calcite.avatica.com.fasterxml.jackson.core.base,
org.apache.calcite.avatica.com.fasterxml.jackson.core.exc,
org.apache.calcite.avatica.com.fasterxml.jackson.core.filter,
org.apache.calcite.avatica.com.fasterxml.jackson.core.format,
org.apache.calcite.avatica.com.fasterxml.jackson.core.io,
org.apache.calcite.avatica.com.fasterxml.jackson.core.io.doubleparser,
org.apache.calcite.avatica.com.fasterxml.jackson.core.io.schubfach,
org.apache.calcite.avatica.com.fasterxml.jackson.core.json,
org.apache.calcite.avatica.com.fasterxml.jackson.core.json.async,
org.apache.calcite.avatica.com.fasterxml.jackson.core.sym,
org.apache.calcite.avatica.com.fasterxml.jackson.core.type,
org.apache.calcite.avatica.com.fasterxml.jackson.core.util,
org.apache.calcite.avatica.com.fasterxml.jackson.databind,
org.apache.calcite.avatica.com.fasterxml.jackson.databind.annotation,
org.apache.calcite.avatica.com.fasterxml.jackson.databind.cfg,
org.apache.calcite.avatica.com.fasterxml.jackson.databind.deser,
org.apache.calcite.avatica.com.fasterxml.jackson.databind.deser.impl,
org.apache.calcite.avatica.com.fasterxml.jackson.databind.deser.std,
org.apache.calcite.avatica.com.fasterxml.jackson.databind.exc,
org.apache.calcite.avatica.com.fasterxml.jackson.databind.ext,
org.apache.calcite.avatica.com.fasterxml.jackson.databind.introspect,
org.apache.calcite.avatica.com.fasterxml.jackson.databind.jdk14,
org.apache.calcite.avatica.com.fasterxml.jackson.databind.json,
org.apache.calcite.avatica.com.fasterxml.jackson.databind.jsonFormatVisitors,
org.apache.calcite.avatica.com.fasterxml.jackson.databind.jsonschema,
org.apache.calcite.avatica.com.fasterxml.jackson.databind.jsontype,
org.apache.calcite.avatica.com.fasterxml.jackson.databind.jsontype.impl,
org.apache.calcite.avatica.com.fasterxml.jackson.databind.module,
org.apache.calcite.avatica.com.fasterxml.jackson.databind.node,
org.apache.calcite.avatica.com.fasterxml.jackson.databind.ser,
org.apache.calcite.avatica.com.fasterxml.jackson.databind.ser.impl,
org.apache.calcite.avatica.com.fasterxml.jackson.databind.ser.std,
org.apache.calcite.avatica.com.fasterxml.jackson.databind.type,
org.apache.calcite.avatica.com.fasterxml.jackson.databind.util,
org.apache.calcite.avatica.com.fasterxml.jackson.databind.util.internal,
org.apache.calcite.avatica.com.google.protobuf,
org.apache.calcite.avatica.com.google.protobuf.compiler,
org.apache.calcite.avatica.ha,
org.apache.calcite.avatica.metrics,
org.apache.calcite.avatica.metrics.noop,
org.apache.calcite.avatica.proto,
org.apache.calcite.avatica.remote,
org.apache.calcite.avatica.util,
org.apache.calcite.config,
org.apache.calcite.interpreter,
org.apache.calcite.jdbc,
org.apache.calcite.linq4j,
org.apache.calcite.linq4j.function,
org.apache.calcite.linq4j.tree,
org.apache.calcite.materialize,
org.apache.calcite.model,
org.apache.calcite.plan,
org.apache.calcite.plan.hep,
org.apache.calcite.plan.visualizer,
org.apache.calcite.plan.volcano,
org.apache.calcite.prepare,
org.apache.calcite.profile,
org.apache.calcite.rel,
org.apache.calcite.rel.convert,
org.apache.calcite.rel.core,
org.apache.calcite.rel.externalize,
org.apache.calcite.rel.hint,
org.apache.calcite.rel.logical,
org.apache.calcite.rel.metadata,
org.apache.calcite.rel.metadata.janino,
org.apache.calcite.rel.mutable,
org.apache.calcite.rel.rel2sql,
org.apache.calcite.rel.rules,
org.apache.calcite.rel.rules.materialize,
org.apache.calcite.rel.stream,
org.apache.calcite.rel.type,
org.apache.calcite.rex,
org.apache.calcite.runtime,
org.apache.calcite.schema,
org.apache.calcite.schema.impl,
org.apache.calcite.server,
org.apache.calcite.sql,
org.apache.calcite.sql.advise,
org.apache.calcite.sql.ddl,
org.apache.calcite.sql.dialect,
org.apache.calcite.sql.fun,
org.apache.calcite.sql.parser,
org.apache.calcite.sql.parser.impl,
org.apache.calcite.sql.pretty,
org.apache.calcite.sql.type,
org.apache.calcite.sql.util,
org.apache.calcite.sql.validate,
org.apache.calcite.sql.validate.implicit,
org.apache.calcite.sql2rel,
org.apache.calcite.statistic,
org.apache.calcite.tools,
org.apache.calcite.util,
org.apache.calcite.util.format,
org.apache.calcite.util.graph,
org.apache.calcite.util.javac,
org.apache.calcite.util.mapping,
org.apache.calcite.util.trace,
org.apache.hc.client5.http,
org.apache.hc.client5.http.async,
org.apache.hc.client5.http.async.methods,
org.apache.hc.client5.http.auth,
org.apache.hc.client5.http.classic,
org.apache.hc.client5.http.classic.methods,
org.apache.hc.client5.http.config,
org.apache.hc.client5.http.cookie,
org.apache.hc.client5.http.entity,
org.apache.hc.client5.http.entity.mime,
org.apache.hc.client5.http.impl,
org.apache.hc.client5.http.impl.async,
org.apache.hc.client5.http.impl.auth,
org.apache.hc.client5.http.impl.classic,
org.apache.hc.client5.http.impl.cookie,
org.apache.hc.client5.http.impl.io,
org.apache.hc.client5.http.impl.nio,
org.apache.hc.client5.http.impl.routing,
org.apache.hc.client5.http.io,
org.apache.hc.client5.http.nio,
org.apache.hc.client5.http.protocol,
org.apache.hc.client5.http.psl,
org.apache.hc.client5.http.routing,
org.apache.hc.client5.http.socket,
org.apache.hc.client5.http.ssl,
org.apache.hc.client5.http.utils,
org.apache.hc.core5.annotation,
org.apache.hc.core5.concurrent,
org.apache.hc.core5.function,
org.apache.hc.core5.http,
org.apache.hc.core5.http.config,
org.apache.hc.core5.http.impl,
org.apache.hc.core5.http.impl.bootstrap,
org.apache.hc.core5.http.impl.io,
org.apache.hc.core5.http.impl.nio,
org.apache.hc.core5.http.io,
org.apache.hc.core5.http.io.entity,
org.apache.hc.core5.http.io.ssl,
org.apache.hc.core5.http.io.support,
org.apache.hc.core5.http.message,
org.apache.hc.core5.http.nio,
org.apache.hc.core5.http.nio.command,
org.apache.hc.core5.http.nio.entity,
org.apache.hc.core5.http.nio.ssl,
org.apache.hc.core5.http.nio.support,
org.apache.hc.core5.http.nio.support.classic,
org.apache.hc.core5.http.protocol,
org.apache.hc.core5.http.ssl,
org.apache.hc.core5.http.support,
org.apache.hc.core5.http2,
org.apache.hc.core5.http2.config,
org.apache.hc.core5.http2.frame,
org.apache.hc.core5.http2.hpack,
org.apache.hc.core5.http2.impl,
org.apache.hc.core5.http2.impl.io,
org.apache.hc.core5.http2.impl.nio,
org.apache.hc.core5.http2.impl.nio.bootstrap,
org.apache.hc.core5.http2.nio,
org.apache.hc.core5.http2.nio.command,
org.apache.hc.core5.http2.nio.pool,
org.apache.hc.core5.http2.nio.support,
org.apache.hc.core5.http2.protocol,
org.apache.hc.core5.http2.ssl,
org.apache.hc.core5.io,
org.apache.hc.core5.net,
org.apache.hc.core5.pool,
org.apache.hc.core5.reactor,
org.apache.hc.core5.reactor.ssl,
org.apache.hc.core5.ssl,
org.apache.hc.core5.util
Bundle-ManifestVersion: 2
Bundle-Name: Apache Calcite
Bundle-SymbolicName: net.openchrom.thirdparty.calcite
Bundle-Version: 1.36.0.qualifier
Bundle-Activator: net.openchrom.thirdparty.calcite.Activator
Bundle-Vendor: OpenChrom
Require-Bundle: org.eclipse.core.runtime
Bundle-RequiredExecutionEnvironment: JavaSE-17
Bundle-ClassPath: libraries/calcite-linq4j-1.36.0.jar,
libraries/calcite-core-1.36.0.jar,
libraries/avatica-1.24.0.jar,
.
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
source.. = src/
output.. = bin/
bin.includes = META-INF/,\
.,\
libraries/avatica-1.24.0.jar,\
libraries/calcite-core-1.36.0.jar,\
libraries/calcite-linq4j-1.36.0.jar
Binary file not shown.
Binary file not shown.
Binary file not shown.
15 changes: 15 additions & 0 deletions openchrom/plugins/net.openchrom.thirdparty.calcite/pom.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
<?xml version="1.0" encoding="UTF-8"?>
<project>
<modelVersion>4.0.0</modelVersion>

<parent>
<groupId>net.openchrom</groupId>
<artifactId>net.openchrom.plugins.parent</artifactId>
<version>BUILD-VERSION</version>
</parent>

<artifactId>net.openchrom.thirdparty.calcite</artifactId>
<version>1.36.0-SNAPSHOT</version>
<packaging>eclipse-plugin</packaging>

</project>
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
/*******************************************************************************
* Copyright (c) 2024 Lablicate GmbH.
*
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
*
* Contributors:
* Philip Wenig - initial API and implementation
*******************************************************************************/
package net.openchrom.thirdparty.calcite;

import org.osgi.framework.BundleActivator;
import org.osgi.framework.BundleContext;

public class Activator implements BundleActivator {

private static BundleContext context;

static BundleContext getContext() {

return context;
}

/*
* (non-Javadoc)
* @see org.osgi.framework.BundleActivator#start(org.osgi.framework.BundleContext)
*/
public void start(BundleContext bundleContext) throws Exception {

Activator.context = bundleContext;
}

/*
* (non-Javadoc)
* @see org.osgi.framework.BundleActivator#stop(org.osgi.framework.BundleContext)
*/
public void stop(BundleContext bundleContext) throws Exception {

Activator.context = null;
}
}
10 changes: 10 additions & 0 deletions openchrom/plugins/net.openchrom.thirdparty.jena/.classpath
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
<?xml version="1.0" encoding="UTF-8"?>
<classpath>
<classpathentry exported="true" kind="lib" path="libraries/jena-arq-2.13.0.jar"/>
<classpathentry exported="true" kind="lib" path="libraries/jena-core-2.13.0.jar"/>
<classpathentry exported="true" kind="lib" path="libraries/jena-iri-1.1.2.jar"/>
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-17"/>
<classpathentry kind="con" path="org.eclipse.pde.core.requiredPlugins"/>
<classpathentry kind="src" path="src"/>
<classpathentry kind="output" path="bin"/>
</classpath>
28 changes: 28 additions & 0 deletions openchrom/plugins/net.openchrom.thirdparty.jena/.project
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
<?xml version="1.0" encoding="UTF-8"?>
<projectDescription>
<name>net.openchrom.thirdparty.jena</name>
<comment></comment>
<projects>
</projects>
<buildSpec>
<buildCommand>
<name>org.eclipse.jdt.core.javabuilder</name>
<arguments>
</arguments>
</buildCommand>
<buildCommand>
<name>org.eclipse.pde.ManifestBuilder</name>
<arguments>
</arguments>
</buildCommand>
<buildCommand>
<name>org.eclipse.pde.SchemaBuilder</name>
<arguments>
</arguments>
</buildCommand>
</buildSpec>
<natures>
<nature>org.eclipse.pde.PluginNature</nature>
<nature>org.eclipse.jdt.core.javanature</nature>
</natures>
</projectDescription>
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
eclipse.preferences.version=1
encoding/<project>=utf8
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
eclipse.preferences.version=1
org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled
org.eclipse.jdt.core.compiler.codegen.targetPlatform=17
org.eclipse.jdt.core.compiler.compliance=17
org.eclipse.jdt.core.compiler.problem.assertIdentifier=error
org.eclipse.jdt.core.compiler.problem.enumIdentifier=error
org.eclipse.jdt.core.compiler.source=17
Loading
Loading