|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--saffron.ext.ObjectTable
ObjectTable
is a component of an ObjectSchema
.
Field Summary | |
private Type |
rowType
|
private Schema |
schema
|
Constructor Summary | |
ObjectTable(Schema schema,
Type rowType)
|
Method Summary | |
void |
addAccessor(String fieldName,
String schemaMethodName)
Records the fact that there is another way to access that a field access or method call. |
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. |
Rel |
toRel(Cluster cluster,
Expression connectionExp)
Converts this table into a relational expression . |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
private final Schema schema
private final Type rowType
Constructor Detail |
public ObjectTable(Schema schema, Type rowType)
Method Detail |
public Schema getSchema()
Table
Schema
this table belongs to.
getSchema
in interface Table
public Type getRowType()
Table
getRowType
in interface Table
public String getQualifiedName()
Table
getQualifiedName
in interface Table
public double getRowCount()
Table
getRowCount
in interface Table
public Rel toRel(Cluster cluster, Expression connectionExp)
Table
relational expression
. This
relational expression can then be optimized by applying rules to
transform it into other access methods for this table.
toRel
in interface Table
cluster
- the cluster this Rel will belong toconnectionExp
- the parse tree of the expression which evaluates to
a connection objectpublic void addAccessor(String fieldName, String schemaMethodName)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |