net.sf.saffron.jdbc
Class SaffronJdbcConnection.MyConnection

java.lang.Object
  |
  +--net.sf.saffron.jdbc.SaffronJdbcConnection.MyConnection
All Implemented Interfaces:
SaffronConnection
Enclosing class:
SaffronJdbcConnection

public static class SaffronJdbcConnection.MyConnection
extends Object
implements SaffronConnection


Field Summary
private  SaffronSchema schema
           
 Object target
           
 
Constructor Summary
SaffronJdbcConnection.MyConnection(Object target, SaffronSchema schema)
           
 
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.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

target

public final Object target

schema

private final SaffronSchema schema
Constructor Detail

SaffronJdbcConnection.MyConnection

public SaffronJdbcConnection.MyConnection(Object target,
                                          SaffronSchema schema)
Method Detail

getSaffronSchema

public SaffronSchema getSaffronSchema()
Description copied from interface: SaffronConnection
Returns the schema underlying this connection. Non-abstract classes implementing this interface must also provide public static Schema getSaffronSchemaStatic().

Specified by:
getSaffronSchema in interface SaffronConnection

contentsAsArray

public Object contentsAsArray(String qualifier,
                              String tableName)
Description copied from interface: SaffronConnection
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. This involves calling SaffronSchema.getTableForMember(java.lang.String[])(qualifier,tableName).SaffronTable.toRel(net.sf.saffron.opt.VolcanoCluster, net.sf.saffron.core.SaffronConnection)(cluster, exp).

Specified by:
contentsAsArray in interface SaffronConnection

SourceForge.net_Logo