|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.mckoi.database.ViewManager
public class ViewManager
A DatabaseConnection view manager. This controls adding, updating, deleting, and processing views inside the system view table.
| Method Summary | |
|---|---|
QueryPlanNode |
createViewQueryPlanNode(TableName view_name)
Returns a freshly deserialized QueryPlanNode object for the given view object. |
void |
defineView(ViewDef view,
SQLQuery query,
User user)
Defines a view. |
boolean |
deleteView(TableName view_name)
Deletes the view with the given name, or returns false if no entries were deleted from the view table. |
boolean |
viewExists(TableName view_name)
Returns true if the view with the given name exists. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public boolean viewExists(TableName view_name)
public void defineView(ViewDef view,
SQLQuery query,
User user)
throws DatabaseException
view - information that defines the view.query - the query that forms the view.user - the user that owns this view being defined.
DatabaseException
public boolean deleteView(TableName view_name)
throws DatabaseException
DatabaseExceptionpublic QueryPlanNode createViewQueryPlanNode(TableName view_name)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||