|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
A connection to Saffron database.
A connection contains a SaffronSchema
, via which the query
planner can access SaffronTable
objects.
If Saffron is being used as a Java preprocessor, every class which
implements SaffronConnection
must implement the
method
public static SaffronSchema getSaffronSchema()
SaffronConnectionDecorator
,
EmptySaffronConnection
Method Summary | |
Object |
contentsAsArray(String qualifier,
String tableName)
In theory, this method returns the contents of tableName
as an array; in practice, it is a placeholder recognized by the
optimizer to do something much more efficient. |
SaffronSchema |
getSaffronSchema()
Returns the schema underlying this connection. |
Method Detail |
public SaffronSchema getSaffronSchema()
public static
Schema getSaffronSchemaStatic()
.
public Object contentsAsArray(String qualifier, String tableName)
tableName
as an array; in practice, it is a placeholder recognized by the
optimizer to do something much more efficient. This involves calling
SaffronSchema.getTableForMember(java.lang.String[])
(qualifier,tableName).SaffronTable.toRel(net.sf.saffron.opt.VolcanoCluster, net.sf.saffron.core.SaffronConnection)
(cluster, exp)
.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |