|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectedu.upenn.crimson.io.Partitions
public class Partitions
Functions related to the PARTITIONS table.
| Constructor Summary | |
|---|---|
Partitions()
|
|
| Method Summary | |
|---|---|
static boolean |
dbContains(java.lang.String id)
This will return true if a partition exists in PARTITIONS with an id equal to 'id'. |
static boolean |
delete(java.lang.String id)
Removes a partition from the database. |
static void |
loadAll()
This will load all partitions from the PARTITIONS table. |
java.lang.String |
toString()
Returns the data in the PARTITIONS table. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public Partitions()
| Method Detail |
|---|
public static void loadAll()
public static boolean delete(java.lang.String id)
public static boolean dbContains(java.lang.String id)
public java.lang.String toString()
toString in class java.lang.Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||