|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.nsdl.mptstore.core.AbstractDDLGenerator
public abstract class AbstractDDLGenerator
A partial DDLGenerator
that implements the
table dropping functionality.
Drops are implemented using a single "DROP TABLE $name" command.
Constructor Summary | |
---|---|
AbstractDDLGenerator()
|
Method Summary | |
---|---|
java.util.List<java.lang.String> |
getDropMapTableDDL(java.lang.String table)
Get the DDL command(s) necessary to drop a map table with the given name. |
java.util.List<java.lang.String> |
getDropSOTableDDL(java.lang.String table)
Get the DDL command(s) necessary to drop a subject-object relationship table (aka predicate table) with the given name. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.nsdl.mptstore.core.DDLGenerator |
---|
getCreateMapTableDDL, getCreateSOTableDDL |
Constructor Detail |
---|
public AbstractDDLGenerator()
Method Detail |
---|
public java.util.List<java.lang.String> getDropMapTableDDL(java.lang.String table)
getDropMapTableDDL
in interface DDLGenerator
table
- The map table name.
public java.util.List<java.lang.String> getDropSOTableDDL(java.lang.String table)
getDropSOTableDDL
in interface DDLGenerator
table
- The relationship table name.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |