org.openrdf.sail.rdbms.schema
Class TripleTable

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

public class TripleTable
extends Object

Manages the life-cycle of the rows in a single predicate table.

Author:
James Leigh

Field Summary
static int tables_created
           
static int total_st
           
static boolean UNIQUE_INDEX_TRIPLES
           
 
Constructor Summary
TripleTable(RdbmsTable table)
           
 
Method Summary
 void blockUntilReady()
           
protected  CharSequence buildTableColumns()
           
 void close()
           
 void createIndex()
           
 void drop()
           
 void dropIndex()
           
 String getName()
           
 String getNameWhenReady()
           
 ValueTypes getObjTypes()
           
 ValueTypes getSubjTypes()
           
 void initTable()
           
 boolean isEmpty()
           
 boolean isIndexed()
           
 boolean isPredColumnPresent()
           
 boolean isReady()
           
 void modified(int addedCount, int removedCount)
           
 void reload()
           
 void setIdSequence(IdSequence ids)
           
 void setIndexed(boolean indexingTriples)
           
 void setObjTypes(ValueTypes valueTypes)
           
 void setPredColumnPresent(boolean present)
           
 void setSubjTypes(ValueTypes valueTypes)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

tables_created

public static int tables_created

total_st

public static int total_st

UNIQUE_INDEX_TRIPLES

public static final boolean UNIQUE_INDEX_TRIPLES
See Also:
Constant Field Values
Constructor Detail

TripleTable

public TripleTable(RdbmsTable table)
Method Detail

setIdSequence

public void setIdSequence(IdSequence ids)

isPredColumnPresent

public boolean isPredColumnPresent()

setPredColumnPresent

public void setPredColumnPresent(boolean present)

setIndexed

public void setIndexed(boolean indexingTriples)

initTable

public void initTable()
               throws SQLException
Throws:
SQLException

reload

public void reload()
            throws SQLException
Throws:
SQLException

close

public void close()
           throws SQLException
Throws:
SQLException

isIndexed

public boolean isIndexed()
                  throws SQLException
Throws:
SQLException

createIndex

public void createIndex()
                 throws SQLException
Throws:
SQLException

dropIndex

public void dropIndex()
               throws SQLException
Throws:
SQLException

isReady

public boolean isReady()

blockUntilReady

public void blockUntilReady()
                     throws SQLException
Throws:
SQLException

getName

public String getName()
               throws SQLException
Throws:
SQLException

getNameWhenReady

public String getNameWhenReady()
                        throws SQLException
Throws:
SQLException

getObjTypes

public ValueTypes getObjTypes()

setObjTypes

public void setObjTypes(ValueTypes valueTypes)

getSubjTypes

public ValueTypes getSubjTypes()

setSubjTypes

public void setSubjTypes(ValueTypes valueTypes)

modified

public void modified(int addedCount,
                     int removedCount)
              throws SQLException
Throws:
SQLException

isEmpty

public boolean isEmpty()
                throws SQLException
Throws:
SQLException

toString

public String toString()
Overrides:
toString in class Object

drop

public void drop()
          throws SQLException
Throws:
SQLException

buildTableColumns

protected CharSequence buildTableColumns()


Copyright © 2001-2008 Aduna. All Rights Reserved.