Skip to content
Open
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
4 changes: 3 additions & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -58,4 +58,6 @@ Report security vulnerabilities privately to the maintainers rather than in a pu

## License

By contributing you agree that your contributions are licensed under the [PolyForm Noncommercial License 1.0.0](LICENSE).
By contributing you agree that your contributions are licensed under the [PolyForm Noncommercial License 1.0.0](LICENSE),
and that Metacog Labs may also license them to others under its commercial license terms. New source files start
with the same two SPDX lines as the existing ones.
6 changes: 6 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
# syntax=docker/dockerfile:1.7
# SPDX-FileCopyrightText: Metacog Labs
# SPDX-License-Identifier: PolyForm-Noncommercial-1.0.0

FROM ghcr.io/graalvm/native-image-community:25 AS build
WORKDIR /src
Expand All @@ -16,6 +18,10 @@ RUN --mount=type=cache,target=/root/.m2 \
&& cp server/target/hstore /hstore

FROM debian:bookworm-slim
LABEL org.opencontainers.image.title="HStore" \
org.opencontainers.image.vendor="Metacog Labs" \
org.opencontainers.image.licenses="PolyForm-Noncommercial-1.0.0" \
org.opencontainers.image.source="https://github.com/metacoglabs/hypergraph"
ARG UID=999
ARG GID=999
RUN groupadd --system --gid ${GID} hstore \
Expand Down
8 changes: 6 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -182,5 +182,9 @@ See [CONTRIBUTING.md](CONTRIBUTING.md).
## License

HStore is source-available under the [PolyForm Noncommercial License 1.0.0](LICENSE)
(SPDX: `PolyForm-Noncommercial-1.0.0`). You may use, modify and share it for any noncommercial purpose.
Commercial use is not covered by this license; contact the maintainers if you need it.
(SPDX: `PolyForm-Noncommercial-1.0.0`). You may use, modify and share it for any noncommercial purpose as that
license defines it.

**Commercial use needs a separate commercial license from Metacog Labs.** Anything the noncommercial license
doesn't cover can be licensed commercially: write to krish@getmetacognition.com. The server prints this notice at
startup and in `hstore version`.
2 changes: 2 additions & 0 deletions benchmarks/install-hypergraphdb.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
#!/usr/bin/env bash
# SPDX-FileCopyrightText: Metacog Labs
# SPDX-License-Identifier: PolyForm-Noncommercial-1.0.0
set -Eeuo pipefail

commit=99485a1fa52e532351e8418b4f8153d97c72c959
Expand Down
2 changes: 2 additions & 0 deletions benchmarks/run.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
#!/usr/bin/env bash
# SPDX-FileCopyrightText: Metacog Labs
# SPDX-License-Identifier: PolyForm-Noncommercial-1.0.0
set -Eeuo pipefail

cd "$(dirname "$0")"
Expand Down
3 changes: 3 additions & 0 deletions benchmarks/src/main/java/io/hstore/bench/Comparison.java
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// SPDX-FileCopyrightText: Metacog Labs
// SPDX-License-Identifier: PolyForm-Noncommercial-1.0.0

package io.hstore.bench;

import io.hstore.db.value.Json;
Expand Down
3 changes: 3 additions & 0 deletions benchmarks/src/main/java/io/hstore/bench/Dataset.java
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// SPDX-FileCopyrightText: Metacog Labs
// SPDX-License-Identifier: PolyForm-Noncommercial-1.0.0

package io.hstore.bench;

import java.util.Arrays;
Expand Down
3 changes: 3 additions & 0 deletions benchmarks/src/main/java/io/hstore/bench/HStoreStore.java
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// SPDX-FileCopyrightText: Metacog Labs
// SPDX-License-Identifier: PolyForm-Noncommercial-1.0.0

package io.hstore.bench;

import io.hstore.db.DatabaseOptions;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// SPDX-FileCopyrightText: Metacog Labs
// SPDX-License-Identifier: PolyForm-Noncommercial-1.0.0

package io.hstore.bench;

import com.sleepycat.je.Durability;
Expand Down
3 changes: 3 additions & 0 deletions benchmarks/src/main/java/io/hstore/bench/JvmUsage.java
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// SPDX-FileCopyrightText: Metacog Labs
// SPDX-License-Identifier: PolyForm-Noncommercial-1.0.0

package io.hstore.bench;

import java.lang.management.GarbageCollectorMXBean;
Expand Down
3 changes: 3 additions & 0 deletions benchmarks/src/main/java/io/hstore/bench/Latency.java
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// SPDX-FileCopyrightText: Metacog Labs
// SPDX-License-Identifier: PolyForm-Noncommercial-1.0.0

package io.hstore.bench;

import io.hstore.db.value.Json;
Expand Down
3 changes: 3 additions & 0 deletions benchmarks/src/main/java/io/hstore/bench/Report.java
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// SPDX-FileCopyrightText: Metacog Labs
// SPDX-License-Identifier: PolyForm-Noncommercial-1.0.0

package io.hstore.bench;

import io.hstore.db.value.Json;
Expand Down
3 changes: 3 additions & 0 deletions benchmarks/src/main/java/io/hstore/bench/Reservoir.java
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// SPDX-FileCopyrightText: Metacog Labs
// SPDX-License-Identifier: PolyForm-Noncommercial-1.0.0

package io.hstore.bench;

import java.util.Arrays;
Expand Down
3 changes: 3 additions & 0 deletions benchmarks/src/main/java/io/hstore/bench/Store.java
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// SPDX-FileCopyrightText: Metacog Labs
// SPDX-License-Identifier: PolyForm-Noncommercial-1.0.0

package io.hstore.bench;

import java.io.IOException;
Expand Down
3 changes: 3 additions & 0 deletions database/src/main/java/io/hstore/db/Atom.java
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// SPDX-FileCopyrightText: Metacog Labs
// SPDX-License-Identifier: PolyForm-Noncommercial-1.0.0

package io.hstore.db;

import io.hstore.db.schema.TypeDef;
Expand Down
3 changes: 3 additions & 0 deletions database/src/main/java/io/hstore/db/DatabaseOptions.java
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// SPDX-FileCopyrightText: Metacog Labs
// SPDX-License-Identifier: PolyForm-Noncommercial-1.0.0

package io.hstore.db;

import io.hstore.db.semantic.Encoder;
Expand Down
3 changes: 3 additions & 0 deletions database/src/main/java/io/hstore/db/HypergraphDatabase.java
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// SPDX-FileCopyrightText: Metacog Labs
// SPDX-License-Identifier: PolyForm-Noncommercial-1.0.0

package io.hstore.db;

import io.hstore.db.evidence.Provenance;
Expand Down
3 changes: 3 additions & 0 deletions database/src/main/java/io/hstore/db/Incident.java
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// SPDX-FileCopyrightText: Metacog Labs
// SPDX-License-Identifier: PolyForm-Noncommercial-1.0.0

package io.hstore.db;

import java.util.List;
Expand Down
3 changes: 3 additions & 0 deletions database/src/main/java/io/hstore/db/Member.java
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// SPDX-FileCopyrightText: Metacog Labs
// SPDX-License-Identifier: PolyForm-Noncommercial-1.0.0

package io.hstore.db;

import io.hstore.engine.topology.Validity;
Expand Down
3 changes: 3 additions & 0 deletions database/src/main/java/io/hstore/db/MemberSpec.java
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// SPDX-FileCopyrightText: Metacog Labs
// SPDX-License-Identifier: PolyForm-Noncommercial-1.0.0

package io.hstore.db;

import io.hstore.engine.topology.Validity;
Expand Down
3 changes: 3 additions & 0 deletions database/src/main/java/io/hstore/db/Reader.java
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// SPDX-FileCopyrightText: Metacog Labs
// SPDX-License-Identifier: PolyForm-Noncommercial-1.0.0

package io.hstore.db;

import io.hstore.db.property.PropertyBag.Property;
Expand Down
3 changes: 3 additions & 0 deletions database/src/main/java/io/hstore/db/Writer.java
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// SPDX-FileCopyrightText: Metacog Labs
// SPDX-License-Identifier: PolyForm-Noncommercial-1.0.0

package io.hstore.db;

import io.hstore.db.property.PropertyBag.Property;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// SPDX-FileCopyrightText: Metacog Labs
// SPDX-License-Identifier: PolyForm-Noncommercial-1.0.0

package io.hstore.db.evidence;

public enum AssertionType {
Expand Down
3 changes: 3 additions & 0 deletions database/src/main/java/io/hstore/db/evidence/Evidence.java
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// SPDX-FileCopyrightText: Metacog Labs
// SPDX-License-Identifier: PolyForm-Noncommercial-1.0.0

package io.hstore.db.evidence;

import io.hstore.engine.page.ByteCursor;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// SPDX-FileCopyrightText: Metacog Labs
// SPDX-License-Identifier: PolyForm-Noncommercial-1.0.0

package io.hstore.db.evidence;

import java.util.EnumSet;
Expand Down
3 changes: 3 additions & 0 deletions database/src/main/java/io/hstore/db/evidence/Provenance.java
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// SPDX-FileCopyrightText: Metacog Labs
// SPDX-License-Identifier: PolyForm-Noncommercial-1.0.0

package io.hstore.db.evidence;

import io.hstore.db.Member;
Expand Down
3 changes: 3 additions & 0 deletions database/src/main/java/io/hstore/db/evidence/Qualifier.java
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// SPDX-FileCopyrightText: Metacog Labs
// SPDX-License-Identifier: PolyForm-Noncommercial-1.0.0

package io.hstore.db.evidence;

import io.hstore.engine.page.ByteCursor;
Expand Down
3 changes: 3 additions & 0 deletions database/src/main/java/io/hstore/db/hora/Budget.java
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// SPDX-FileCopyrightText: Metacog Labs
// SPDX-License-Identifier: PolyForm-Noncommercial-1.0.0

package io.hstore.db.hora;

import io.hstore.engine.HStoreException;
Expand Down
3 changes: 3 additions & 0 deletions database/src/main/java/io/hstore/db/hora/Field.java
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// SPDX-FileCopyrightText: Metacog Labs
// SPDX-License-Identifier: PolyForm-Noncommercial-1.0.0

package io.hstore.db.hora;

public sealed interface Field {
Expand Down
3 changes: 3 additions & 0 deletions database/src/main/java/io/hstore/db/hora/Gathered.java
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// SPDX-FileCopyrightText: Metacog Labs
// SPDX-License-Identifier: PolyForm-Noncommercial-1.0.0

package io.hstore.db.hora;

import io.hstore.db.value.Value;
Expand Down
3 changes: 3 additions & 0 deletions database/src/main/java/io/hstore/db/hora/GroupKernel.java
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// SPDX-FileCopyrightText: Metacog Labs
// SPDX-License-Identifier: PolyForm-Noncommercial-1.0.0

package io.hstore.db.hora;

import java.util.List;
Expand Down
3 changes: 3 additions & 0 deletions database/src/main/java/io/hstore/db/hora/Hora.java
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// SPDX-FileCopyrightText: Metacog Labs
// SPDX-License-Identifier: PolyForm-Noncommercial-1.0.0

package io.hstore.db.hora;

import io.hstore.db.Member;
Expand Down
3 changes: 3 additions & 0 deletions database/src/main/java/io/hstore/db/hora/Pattern.java
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// SPDX-FileCopyrightText: Metacog Labs
// SPDX-License-Identifier: PolyForm-Noncommercial-1.0.0

package io.hstore.db.hora;

import java.util.List;
Expand Down
3 changes: 3 additions & 0 deletions database/src/main/java/io/hstore/db/hora/PatternMatcher.java
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// SPDX-FileCopyrightText: Metacog Labs
// SPDX-License-Identifier: PolyForm-Noncommercial-1.0.0

package io.hstore.db.hora;

import io.hstore.db.Atom;
Expand Down
3 changes: 3 additions & 0 deletions database/src/main/java/io/hstore/db/hora/Reducer.java
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// SPDX-FileCopyrightText: Metacog Labs
// SPDX-License-Identifier: PolyForm-Noncommercial-1.0.0

package io.hstore.db.hora;

import java.util.OptionalDouble;
Expand Down
3 changes: 3 additions & 0 deletions database/src/main/java/io/hstore/db/hora/SwapSampler.java
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// SPDX-FileCopyrightText: Metacog Labs
// SPDX-License-Identifier: PolyForm-Noncommercial-1.0.0

package io.hstore.db.hora;

import io.hstore.db.HypergraphDatabase;
Expand Down
3 changes: 3 additions & 0 deletions database/src/main/java/io/hstore/db/payload/PayloadStore.java
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// SPDX-FileCopyrightText: Metacog Labs
// SPDX-License-Identifier: PolyForm-Noncommercial-1.0.0

package io.hstore.db.payload;

import io.hstore.engine.HStoreException;
Expand Down
3 changes: 3 additions & 0 deletions database/src/main/java/io/hstore/db/property/PropertyBag.java
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// SPDX-FileCopyrightText: Metacog Labs
// SPDX-License-Identifier: PolyForm-Noncommercial-1.0.0

package io.hstore.db.property;

import io.hstore.db.value.Value;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// SPDX-FileCopyrightText: Metacog Labs
// SPDX-License-Identifier: PolyForm-Noncommercial-1.0.0

package io.hstore.db.property;

import io.hstore.db.property.PropertySlots.IndexRoot;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// SPDX-FileCopyrightText: Metacog Labs
// SPDX-License-Identifier: PolyForm-Noncommercial-1.0.0

package io.hstore.db.property;

import io.hstore.db.payload.PayloadStore;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// SPDX-FileCopyrightText: Metacog Labs
// SPDX-License-Identifier: PolyForm-Noncommercial-1.0.0

package io.hstore.db.property;

import io.hstore.db.value.TypeTag;
Expand Down
3 changes: 3 additions & 0 deletions database/src/main/java/io/hstore/db/query/AccessPath.java
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// SPDX-FileCopyrightText: Metacog Labs
// SPDX-License-Identifier: PolyForm-Noncommercial-1.0.0

package io.hstore.db.query;

import io.hstore.db.Atom;
Expand Down
3 changes: 3 additions & 0 deletions database/src/main/java/io/hstore/db/query/Ast.java
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// SPDX-FileCopyrightText: Metacog Labs
// SPDX-License-Identifier: PolyForm-Noncommercial-1.0.0

package io.hstore.db.query;

import io.hstore.db.evidence.AssertionType;
Expand Down
3 changes: 3 additions & 0 deletions database/src/main/java/io/hstore/db/query/Evaluator.java
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// SPDX-FileCopyrightText: Metacog Labs
// SPDX-License-Identifier: PolyForm-Noncommercial-1.0.0

package io.hstore.db.query;

import io.hstore.db.Atom;
Expand Down
3 changes: 3 additions & 0 deletions database/src/main/java/io/hstore/db/query/Executor.java
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// SPDX-FileCopyrightText: Metacog Labs
// SPDX-License-Identifier: PolyForm-Noncommercial-1.0.0

package io.hstore.db.query;

import io.hstore.db.Atom;
Expand Down
3 changes: 3 additions & 0 deletions database/src/main/java/io/hstore/db/query/Lexer.java
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// SPDX-FileCopyrightText: Metacog Labs
// SPDX-License-Identifier: PolyForm-Noncommercial-1.0.0

package io.hstore.db.query;

import io.hstore.engine.HStoreException;
Expand Down
3 changes: 3 additions & 0 deletions database/src/main/java/io/hstore/db/query/Parser.java
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// SPDX-FileCopyrightText: Metacog Labs
// SPDX-License-Identifier: PolyForm-Noncommercial-1.0.0

package io.hstore.db.query;

import io.hstore.db.evidence.AssertionType;
Expand Down
3 changes: 3 additions & 0 deletions database/src/main/java/io/hstore/db/query/Planner.java
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// SPDX-FileCopyrightText: Metacog Labs
// SPDX-License-Identifier: PolyForm-Noncommercial-1.0.0

package io.hstore.db.query;

import io.hstore.db.Reader;
Expand Down
3 changes: 3 additions & 0 deletions database/src/main/java/io/hstore/db/query/QueryResult.java
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// SPDX-FileCopyrightText: Metacog Labs
// SPDX-License-Identifier: PolyForm-Noncommercial-1.0.0

package io.hstore.db.query;

import io.hstore.db.value.Json;
Expand Down
3 changes: 3 additions & 0 deletions database/src/main/java/io/hstore/db/query/Session.java
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// SPDX-FileCopyrightText: Metacog Labs
// SPDX-License-Identifier: PolyForm-Noncommercial-1.0.0

package io.hstore.db.query;

import io.hstore.db.HypergraphDatabase;
Expand Down
3 changes: 3 additions & 0 deletions database/src/main/java/io/hstore/db/query/Token.java
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// SPDX-FileCopyrightText: Metacog Labs
// SPDX-License-Identifier: PolyForm-Noncommercial-1.0.0

package io.hstore.db.query;

public record Token(Kind kind, String text, int position) {
Expand Down
3 changes: 3 additions & 0 deletions database/src/main/java/io/hstore/db/schema/AtomKind.java
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// SPDX-FileCopyrightText: Metacog Labs
// SPDX-License-Identifier: PolyForm-Noncommercial-1.0.0

package io.hstore.db.schema;

import io.hstore.engine.topology.EdgeKind;
Expand Down
3 changes: 3 additions & 0 deletions database/src/main/java/io/hstore/db/schema/Schema.java
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// SPDX-FileCopyrightText: Metacog Labs
// SPDX-License-Identifier: PolyForm-Noncommercial-1.0.0

package io.hstore.db.schema;

import io.hstore.db.schema.SchemaSlots.TypeName;
Expand Down
3 changes: 3 additions & 0 deletions database/src/main/java/io/hstore/db/schema/SchemaSlots.java
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// SPDX-FileCopyrightText: Metacog Labs
// SPDX-License-Identifier: PolyForm-Noncommercial-1.0.0

package io.hstore.db.schema;

import io.hstore.engine.catalog.Slot;
Expand Down
Loading