use of org.apache.jena.sdb.store.TupleTable in project jena by apache.
the class sdbtuple method execPrint.
private void execPrint(String tableName) {
Store store = getStore();
TupleTable table = null;
if (tableName.equalsIgnoreCase(store.getNodeTableDesc().getTableName())) {
// A hack.
// Need to chage SQLBridge to work on Node tables directly (no special build of value getters)
TableDesc desc = new TableDesc(tableName, store.getNodeTableDesc().getNodeRefColName());
table = new TupleTable(store, desc);
} else
table = new TupleTable(store, tableName);
divider();
table.dump();
}
use of org.apache.jena.sdb.store.TupleTable in project jena by apache.
the class sdbtuple method execLoad.
private void execLoad(String tableName) {
cmdError("Tuple load - not implemented (yet)", true);
Store store = getStore();
TupleTable table = null;
if (tableName.equalsIgnoreCase(store.getNodeTableDesc().getTableName()))
cmdError("Can't load the node table as a tupole table");
else
table = new TupleTable(store, tableName);
}
Aggregations