net.sourceforge.schemaspy.model
Class View
java.lang.Object
net.sourceforge.schemaspy.model.Table
net.sourceforge.schemaspy.model.View
- All Implemented Interfaces:
- Comparable
public class View
- extends Table
| Methods inherited from class net.sourceforge.schemaspy.model.Table |
addCheckConstraint, addedChild, addedParent, compareTo, connectForeignKeys, fetchNumRows, getCheckConstraints, getColumn, getColumns, getComments, getForeignKey, getForeignKeys, getId, getIndex, getIndexes, getMaxChildren, getMaxParents, getName, getNumChildren, getNumParents, getNumRealChildren, getNumRealParents, getNumRows, getPrimaryColumns, getSchema, isLeaf, isOrphan, isRoot, removeAForeignKeyConstraint, removeSelfReferencingConstraint, setComments, setId, toString, unlinkChildren, unlinkParents |
View
public View(Database db,
ResultSet rs,
DatabaseMetaData meta,
String selectViewSql)
throws SQLException
- Throws:
SQLException
isView
public boolean isView()
- Overrides:
isView in class Table
getViewSql
public String getViewSql()
- Overrides:
getViewSql in class Table
fetchNumRows
protected int fetchNumRows(Database database)
- Description copied from class:
Table
- fetch the number of rows contained in this table.
returns -1 if unable to successfully fetch the row count
- Overrides:
fetchNumRows in class Table
- Parameters:
database - Database
- Returns:
- int
Copyright © 2007-2010. All Rights Reserved.