saffron.ext
Class AbstractTable

java.lang.Object
  |
  +--saffron.ext.AbstractTable
All Implemented Interfaces:
Table
Direct Known Subclasses:
ExtentTable, JdbcTable

public abstract class AbstractTable
extends Object
implements Table

A AbstractTable is a partial implementation of Table.

Since:
May 3, 2002
Version:
$Id: //open/saffron/src/main/saffron/ext/AbstractTable.java#3 $
Author:
jhyde

Field Summary
(package private)  String name
           
(package private)  Type rowType
           
(package private)  Schema schema
           
 
Constructor Summary
protected AbstractTable(Schema schema, String name, Type rowType)
           
 
Method Summary
 String getName()
           
 String getQualifiedName()
          Obtain an identifier for this table.
 double getRowCount()
          Returns an estimate of the number of rows in the table.
 Type getRowType()
          Describes the type of rows returned by this table.
 Schema getSchema()
          Returns the Schema this table belongs to.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface saffron.Table
toRel
 

Field Detail

schema

Schema schema

name

String name

rowType

final Type rowType
Constructor Detail

AbstractTable

protected AbstractTable(Schema schema,
                        String name,
                        Type rowType)
Method Detail

getSchema

public Schema getSchema()
Description copied from interface: Table
Returns the Schema this table belongs to.

Specified by:
getSchema in interface Table

getRowType

public Type getRowType()
Description copied from interface: Table
Describes the type of rows returned by this table.

Specified by:
getRowType in interface Table

getQualifiedName

public String getQualifiedName()
Description copied from interface: Table
Obtain an identifier for this table. The identifier must be unique with respect to the Connection producing this table.

Specified by:
getQualifiedName in interface Table
Returns:
qualified name

getName

public String getName()

getRowCount

public double getRowCount()
Description copied from interface: Table
Returns an estimate of the number of rows in the table.

Specified by:
getRowCount in interface Table

SourceForge.net_Logo