com.hp.hpl.jena.sdb.layout1
Class FormatterSimpleMySQL

java.lang.Object
  extended by com.hp.hpl.jena.sdb.sql.SDBConnectionHolder
      extended by com.hp.hpl.jena.sdb.store.StoreFormatterBase
          extended by com.hp.hpl.jena.sdb.layout1.FormatterSimple
              extended by com.hp.hpl.jena.sdb.layout1.FormatterSimpleMySQL
All Implemented Interfaces:
StoreFormatter

public class FormatterSimpleMySQL
extends FormatterSimple


Field Summary
 
Fields inherited from class com.hp.hpl.jena.sdb.layout1.FormatterSimple
UriWidth
 
Constructor Summary
FormatterSimpleMySQL(SDBConnection connection, MySQLEngineType tableType)
           
 
Method Summary
 void dropIndexes()
          Drop indexes for triple/node tables
 void format()
          Format the store - create tables but not secondary indexes
 void truncate()
          Truncate tables - clearing the store but leaving all indexes inplace
 
Methods inherited from class com.hp.hpl.jena.sdb.layout1.FormatterSimple
addIndexes
 
Methods inherited from class com.hp.hpl.jena.sdb.store.StoreFormatterBase
create
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FormatterSimpleMySQL

public FormatterSimpleMySQL(SDBConnection connection,
                            MySQLEngineType tableType)
Method Detail

truncate

public void truncate()
Description copied from interface: StoreFormatter
Truncate tables - clearing the store but leaving all indexes inplace


format

public void format()
Description copied from interface: StoreFormatter
Format the store - create tables but not secondary indexes


dropIndexes

public void dropIndexes()
Description copied from interface: StoreFormatter
Drop indexes for triple/node tables

Specified by:
dropIndexes in interface StoreFormatter
Overrides:
dropIndexes in class FormatterSimple


Copyright ? 2006, 2007, 2008, 2009 Hewlett-Packard Development Company, LP Copyright ? 2010 Epimorphics Ltd.