Skip to content

Commit

Permalink
Implement abstract methods; add comment.
Browse files Browse the repository at this point in the history
  • Loading branch information
broneill committed Jan 5, 2025
1 parent 4dd8dec commit 68ee384
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 1 deletion.
11 changes: 11 additions & 0 deletions src/main/java/org/cojen/tupl/table/ClientTableHelper.java
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -102,6 +103,16 @@ public final boolean exists(Transaction txn, R row) {
throw new UnsupportedOperationException();
}

@Override
public final <D> Table<D> derive(Class<D> derivedType, String query, Object... args) {
throw new UnsupportedOperationException();
}

@Override
public final Table<Row> derive(String query, Object... args) {
throw new UnsupportedOperationException();
}

@Override
public final void close() {
}
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/org/cojen/tupl/table/TableMaker.java
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 68ee384

Please sign in to comment.