From 68ee3843d0d6e01f9b30c93f94e6d4e08f3a1a48 Mon Sep 17 00:00:00 2001 From: "Brian S. O'Neill" Date: Sun, 5 Jan 2025 10:47:50 -0800 Subject: [PATCH] Implement abstract methods; add comment. --- .../java/org/cojen/tupl/table/ClientTableHelper.java | 11 +++++++++++ src/main/java/org/cojen/tupl/table/TableMaker.java | 2 +- 2 files changed, 12 insertions(+), 1 deletion(-) diff --git a/src/main/java/org/cojen/tupl/table/ClientTableHelper.java b/src/main/java/org/cojen/tupl/table/ClientTableHelper.java index fd43c4265..95f4ff9e3 100644 --- a/src/main/java/org/cojen/tupl/table/ClientTableHelper.java +++ b/src/main/java/org/cojen/tupl/table/ClientTableHelper.java @@ -33,6 +33,7 @@ import org.cojen.tupl.DurabilityMode; import org.cojen.tupl.Query; +import org.cojen.tupl.Row; import org.cojen.tupl.Scanner; import org.cojen.tupl.Table; import org.cojen.tupl.Transaction; @@ -102,6 +103,16 @@ public final boolean exists(Transaction txn, R row) { throw new UnsupportedOperationException(); } + @Override + public final Table derive(Class derivedType, String query, Object... args) { + throw new UnsupportedOperationException(); + } + + @Override + public final Table derive(String query, Object... args) { + throw new UnsupportedOperationException(); + } + @Override public final void close() { } diff --git a/src/main/java/org/cojen/tupl/table/TableMaker.java b/src/main/java/org/cojen/tupl/table/TableMaker.java index 8c71b79ec..68397a5fe 100644 --- a/src/main/java/org/cojen/tupl/table/TableMaker.java +++ b/src/main/java/org/cojen/tupl/table/TableMaker.java @@ -58,7 +58,7 @@ public class TableMaker { /** * @param rowGen describes row encoding * @param codecGen describes key and value codecs (can be different than rowGen) - * @param secondaryDesc secondary index descriptor + * @param secondaryDesc secondary index descriptor (optional) */ TableMaker(Class type, RowGen rowGen, RowGen codecGen, byte[] secondaryDesc) { mRowType = type;