org.openrdf.sail.rdbms.schema
Class NamespacesTable

java.lang.Object
  extended by org.openrdf.sail.rdbms.schema.NamespacesTable

public class NamespacesTable
extends Object

Manages the namespace prefix in the database.

Author:
James Leigh

Constructor Summary
NamespacesTable(RdbmsTable table)
           
 
Method Summary
 void clearPrefixes()
           
 void close()
           
protected  void createTable()
           
protected  void createTable(CharSequence sb)
           
 void initialize()
           
 void insert(String prefix, String namespace)
           
 List<Object[]> selectAll()
           
 String toString()
           
 void updatePrefix(String prefix, String namespace)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

NamespacesTable

public NamespacesTable(RdbmsTable table)
Method Detail

initialize

public void initialize()
                throws SQLException
Throws:
SQLException

close

public void close()
           throws SQLException
Throws:
SQLException

createTable

protected void createTable()
                    throws SQLException
Throws:
SQLException

createTable

protected void createTable(CharSequence sb)
                    throws SQLException
Throws:
SQLException

insert

public void insert(String prefix,
                   String namespace)
            throws SQLException
Throws:
SQLException

updatePrefix

public void updatePrefix(String prefix,
                         String namespace)
                  throws SQLException
Throws:
SQLException

clearPrefixes

public void clearPrefixes()
                   throws SQLException
Throws:
SQLException

selectAll

public List<Object[]> selectAll()
                         throws SQLException
Throws:
SQLException

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2001-2008 Aduna. All Rights Reserved.