net.sf.saffron.ext
Class AbstractTable
java.lang.Object
|
+--net.sf.saffron.ext.AbstractTable
- All Implemented Interfaces:
- SaffronTable
- Direct Known Subclasses:
- ExtentTable, JdbcTable, ObjectTable
- public abstract class AbstractTable
- extends Object
- implements SaffronTable
A AbstractTable
is a partial implementation of SaffronTable
.
- Since:
- May 3, 2002
- Version:
- $Id: //open/saffron/src/net/sf/saffron/ext/AbstractTable.java#3 $
- Author:
- jhyde
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
schema
SaffronSchema schema
rowType
final SaffronType rowType
name
String name
AbstractTable
protected AbstractTable(SaffronSchema schema,
String name,
SaffronType rowType)
getName
public String getName()
getQualifiedName
public String getQualifiedName()
- Description copied from interface:
SaffronTable
- Obtain an identifier for this table. The identifier must be unique
with respect to the Connection producing this table.
- Specified by:
getQualifiedName
in interface SaffronTable
- Returns:
- qualified name
getRowCount
public double getRowCount()
- Description copied from interface:
SaffronTable
- Returns an estimate of the number of rows in the table.
- Specified by:
getRowCount
in interface SaffronTable
getRowType
public SaffronType getRowType()
- Description copied from interface:
SaffronTable
- Describes the type of rows returned by this table.
- Specified by:
getRowType
in interface SaffronTable
getSaffronSchema
public SaffronSchema getSaffronSchema()
- Description copied from interface:
SaffronTable
- Returns the
SaffronSchema
this table belongs to.
- Specified by:
getSaffronSchema
in interface SaffronTable