01: /*
02: * Copyright Aduna (http://www.aduna-software.com/) (c) 2008.
03: *
04: * Licensed under the Aduna BSD-style license.
05: */
06: package org.openrdf.sail.rdbms.postgresql.alt;
07:
08: import java.sql.Connection;
09:
10: import org.openrdf.sail.rdbms.schema.TripleTable;
11: import org.openrdf.sail.rdbms.schema.ValueTableFactory;
12:
13: /**
14: * Overrides PostgreSQL specific table commands.
15: *
16: * @author James Leigh
17: *
18: */
19: public class PgSqlValueTableFactory extends ValueTableFactory {
20:
21: public PgSqlValueTableFactory() {
22: super (new PgSqlTableFactory());
23: }
24:
25: @Override
26: public PgSqlValueTable newValueTable() {
27: return new PgSqlValueTable();
28: }
29:
30: @Override
31: public TripleTable createTripleTable(Connection conn,
32: String tableName) {
33: return super.createTripleTable(conn, tableName.toLowerCase());
34: }
35: }
|